ACC Logo
ADBScreenshots & RecordingSafe

adb shell screenrecord /sdcard/demo.mp4

Record screen video to MP4 file

What It Does

Records high-definition screen video of device activity to an MP4 video file on the device. Press Ctrl+C to terminate recording.

Command Syntax
Terminal
$adb shell screenrecord [options] <path.mp4>
Parameters & Placeholders Breakdown

This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:

[options]Command Flags / Optional Arguments

Optional command flags that modify behavior, such as "-r" to reinstall or "-d" to allow downgrade.

Real-world value:-r -g
Command syntax: adb install -r -g app.apk
Usage Examples
$adb shell screenrecord /sdcard/demo.mp4
$adb shell screenrecord --size 1280x720 --bit-rate 6000000 /sdcard/demo.mp4
$adb shell screenrecord --time-limit 30 /sdcard/clip.mp4
Options & Flags
Flag / ParameterDescription
--size <wxh>Video resolution (e.g. 1280x720). Default is native device resolution.
--bit-rate <rate>Bit rate in bits per second (default 4000000 = 4Mbps).
--time-limit <sec>Set maximum recording duration in seconds (default and max 180s).
Prerequisites & Requirements
  • Android 4.4+
  • Available internal storage
Related Commands
Found an error or missing flag for adb shell screenrecord /sdcard/demo.mp4?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity