<分区>
我正在寻找一种工具或方法来在 Android 手机上录制包含音频的 Android 应用程序。在我的研究中,我发现了一个类似的问题和三个工具。但没有人不能同时录制视频和音频。
类似问题:
工具:
编辑
我找到了一个名为 Screencast Video Recorder Demo 的应用程序解决方案录制视频和音频。但是你必须root手机才能使用这个应用程序。还有其他可能吗?
2019 年 2 月 2 日更新
我刚刚偶然发现了这个名为“Record a video”的开发者 android 页面,它似乎解决了我在使用 Android Studio 时的问题:
Logcat lets you record an MP4 video from your hardware device for a maximum of three minutes. You can, for example, use the video for your marketing materials or for debugging.
- Open an app project.
- Run the app on a hardware device.
- Click View > Tool Windows > Logcat.
- Interact with the display on the hardware device to stage the start of the video.
- Click Screen Record in the left side of the Logcat window.
In the Screen Recorder Options dialog, set the recording options:
- Bit Rate: Enter a bit rate. The default is 4 Mbps.
- Resolution: Enter a width and height value in pixels. The value must be a multiple of 16. The default is the resolution of the device.
- Show Taps: Enables visual feedback for taps.
- Click Start Recording to start the recording.
- Click Stop Recording to stop the recording.
- In the Save As dialog, save the MP4 file.
- In the Screen Recorder dialog, click one of the buttons to show the file location, open the recording in a player, or dismiss the dialog.