Android ADB Tools-screenshots and recorded videos (Fri)

Source: Internet
Author: User

Android adb tools-and recorded video (v)

tags (space delimited): Android ADB

7. and recording view
Command function
ADB Shell Screencap–p <path/file> Cell phone
adb shell Screenrecord [options] Screen recording
  • Screen Recorder named incoming parameter description
C:\USERS\ADMINISTRATOR&GT;ADB Shell Screenrecord--helpUsage:screenrecord [Options] <filename>records theDevice ' s display toA. mp4file. Options:--size widthxheightSet theVideo size, e.g."1280x720". Default is  theDevice ' s main display resolution (ifSupported), thex720if  not. For best results, use a size supported by  theAVC Encoder.--bit-rate RateSet theVideo bit rate,inchMegabits perSecond. Default4Mbps.--time-limit TimeSet theMaximum recording Time,inchSeconds. Default/maximum is .--rotateRotate theOutput -Degrees.--verboseDisplay Interesting information onStdOut.--helpShow this message. Recording continuesuntilCtrl-c isHitor  the  TimeLimit isReached.
  • –size WIDTH * HEIGHT: Input resolution, default is the display resolution of the device screen
  • –bit-rate Rate: Set video bitrate, default is 4mbps
  • –time-limit Time: Set video recording (in S), default is 180S
  • –rotate: Set video rotation 90 degrees
  • Stop recording: CTRL + C
Cell phone

To the phone sdcard
Copy the screen.png to the desktop s

>C:\Users\Administrator>adb shell screencap -p /sdcard/screen.png>C:\Users\Administrator>adb pull /sdcard/screen.png C:\Users\Administrator\Desktop>4841 KB/s (292531 bytes in 0.059s)
Screen recording

This command is only available for Android4.4 above

C:\Users\Administrator>adb shell screenrecord /sdcard/s1.mp4

After entering this command, the command will be stuck in the page, and now the recording is started, you can swipe the phone and manipulate

//开始屏幕录像C:\Users\Administrator>adb shell screenrecord /sdcard/s1.mp4^C//随意操作手机。。。//拷贝录像到电脑桌面查看C:\Users\Administrator>adb pull /sdcard/s1.mp4 C:\Users\Administrator\Desktop3394 KB/s (3531759 bytes in 1.016s)
Record 320*480-sized video

Note: The size uses the English letter x, not *

shell--size 320*480 /mnt/sdcard/s2.mp4‘320*480‘shell--size 320x480 /mnt/sdcard/s2.mp4

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android adb tools-and recorded video (v)

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.