本文主要是介绍android 截图,视频录制命令 screencap screenrecord screenshot,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
时间限制视频录制:
screenrecord --time-limit 20 /sdcard/demo.mp4
抓屏:
screencap -p /sdcard/screen.png
screenshot /sdcard/screen.png
视频录制命令screenrecord
# screenrecord --help
Usage: screenrecord [options] <filename>
Records the device's display to a .mp4 file.
Options:
--size WIDTHxHEIGHT
Set the video size, e.g. "1280x720". Default is the device's main
display resolution (if supported), 1280x720 if not. For best results,
use a size supported by the AVC encoder.
--bit-rate RATE
Set the video bit rate, in megabits per second. Default 4Mbps.
--time-limit TIME
Se
这篇关于android 截图,视频录制命令 screencap screenrecord screenshot的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!