Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Screen recording an Android 4.4 device using ADB
# 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
You can’t perform that action at this time.