Screen recording an Android 4.4 device using ADB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run the adb shell | |
adb shell | |
# basic recording from shell | |
screenrecord --verbose /sdcard/nexus5.mp4 | |
# press Ctrl-C to stop | |
# recording for 30 seconds | |
screenrecord --verbose --time-limit 30 /sdcard/nexus5.mp4 | |
# recording for 30 seconds with 8Mbps bitrate | |
screenrecord --verbose --bit-rate 8000000 --time-limit 30 /sdcard/nexus5.mp4 | |
# record in portrait view / horizontal | |
screenrecord --verbose --rotate /sdcard/nexus5.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment