adb shell screenrecord --time-limit <s> <file> 命令详解

指定录屏时长(秒)

命令语法

adb shell screenrecord --time-limit <s> <file>

指定录屏时长(秒)

示例

$ adb shell screenrecord --time-limit 30 /sdcard/demo.mp4

adb shell screenrecord --time-limit <s> <file> 用法说明

adb shell screenrecord --time-limit <s> <file> 是「截屏与录屏」分类下的常用命令,作用是:指定录屏时长(秒)。

典型用法如下:adb shell screenrecord --time-limit 30 /sdcard/demo.mp4。你可以复制到终端直接运行,或查看下方同组的相关命令。

常见问题解答

adb shell screenrecord --time-limit <s> <file> 是什么?
adb shell screenrecord --time-limit <s> <file> 用于指定录屏时长(秒),属于「截屏与录屏」相关命令。
adb shell screenrecord --time-limit <s> <file> 怎么用?
在终端执行 adb shell screenrecord --time-limit 30 /sdcard/demo.mp4 即可,具体参数请按实际环境调整。
还有哪些相关命令?
「截屏与录屏」分类下还有 6 条相关命令,见下方「相关命令」。