Use ADB to record phone screen video

Source: Internet
Author: User

adb shell screenrecord command can be used to record Android phone videos

Screenrecord is a shell command that supports Android4.4 (API level 19) and supports video formats: MP4

adb shell Screenrecord--help can see the relevant help information

ADB Shell Screenrecord/sdcard/demo.mp4

Record phone screen, video format mp4, stored in the phone SD card, the default recording time is 180s

adb shell Screenrecord--bit-rate 6000000/sdcard/demo.mp4

Specifies that the video has a bit rate of 6Mbps, and if not specified, the default is 4Mbps

ADB shell Screenrecord--size 1280*720 /sdcard/demo.mp4

Record video with resolution of 1280*720, if you do not specify the default phone resolution

adb shell Screenrecord--time-limit 10/sdcard/demo.mp4

Limit video recording time to 10s, if not limited, default 180s

adb shell Screenrecord--time-limit--verbose/sdcard/demo.mp4

Limit video recording time to 10s and display relevant log information at the command line

ADB pull /sdcard/demo.mp4 d:/

Export Video to D-Drive

Record your phone's screen video using adb

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.