亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

android設(shè)置adb自帶screenrecord錄屏命令

 更新時(shí)間:2018年11月30日 11:51:08   作者:lidx0714  
這篇文章主要介紹了android設(shè)置adb自帶screenrecord錄屏命令,需要的朋友可以參考下

android 設(shè)置system/bin目錄類似linux,該目錄下有許多實(shí)用命令,類似

adb,sh,top,app_process,chmod,chown,dmesg,reboot,screenrecord等等。

錄屏作用:qa測(cè)試過(guò)程中有的bug需要還原現(xiàn)場(chǎng),此時(shí)用手機(jī)拍攝有諸多不便,此時(shí)可以利用錄屏命令自動(dòng)完成錄屏,然后上傳bug視頻。

其中screenrecord命令錄制視頻到內(nèi)部存儲(chǔ):

錄制命令:

adb shell screenrecord --size 1920x480 /storage/sdcard0/demorecord.mp4

時(shí)間設(shè)置:

adb shell screenrecord --time-limit 100 /storage/sdcard0/demorecord.mp4

停止錄制:

Ctrl + C會(huì)停止命令,自動(dòng)停止錄制。

參數(shù)設(shè)置:

$ adb shell screenrecord --help
Usage: screenrecord [options]
Records the device's display to a .mp4 file.
Options:
–size WIDTHxHEIGHT 設(shè)置屏幕寬高,一般根據(jù)自己手機(jī)設(shè)置,最大支持1920x480。
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 設(shè)置bit率
Set the video bit rate, in megabits per second. Default 4Mbps.
–time-limit TIME 設(shè)置錄制時(shí)間,默認(rèn)最大時(shí)長(zhǎng)180秒
Set the maximum recording time, in seconds. Default / maximum is 180.
–rotate 旋轉(zhuǎn)輸出
Rotate the output 90 degrees.
–verbose
Display interesting information on stdout.
–help
Show this message.
Recording continues until Ctrl-C is hit or the time limit is reached.

總結(jié)

以上所述是小編給大家介紹的android設(shè)置adb自帶screenrecord錄屏命令,希望對(duì)大家有所幫助,如果大家有任何疑問(wèn)請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!

相關(guān)文章

最新評(píng)論