码迷,mamicode.com
首页 > 数据库 > 详细

adb shell 之 screenrecord

时间:2015-07-29 19:36:23      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:adb   shell   screenrecord   

adb shell --help


说明:4.4以上设备可以用来录制视频,不需要root权限,极为方便。

E:\workspace\TaoParking\script>adb shell 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

    Set the maximum recording time, in seconds.  Default / maximum is 180.

--rotate

    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.


本文出自 “超越梦想” 博客,请务必保留此出处http://lbrant.blog.51cto.com/2400264/1679740

adb shell 之 screenrecord

标签:adb   shell   screenrecord   

原文地址:http://lbrant.blog.51cto.com/2400264/1679740

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!