Adb shell screenrecord

Record android screen with adb shell screen record.

This command is used to record screen and other settings relating to screenrecording

adb shell screenrecord --size SIZE /path/to/save.mp4

Set the video size, e.g. "1280x720". Default is the device's main display resolution (if supported), 1280x720 if not. For best results, use a size supported by the AVC encoder.

adb shell screenrecord --size 1280x720 /mnt/sdcard/Download/test.mp4

adb shell screenrecord --bit-rate BITRATE /path/to/save.mp4

Set the video bit rate, in bits per second. Value may be specified as bits or megabits, e.g. '4000000' is equivalent to '4M'. Default 20Mbps.

adb shell screenrecord --bit-rate 4000000 /mnt/sdcard/Download/test.mp4

adb shell screenrecord --rotate /path/to/save.mp4

Rotates the output 90 degrees. This is an experimental feature.

adb shell screenrecord --rotate /mnt/sdcard/Download/test.mp4

adb shell screenrecord --bugreport /path/to/save.mp4

Add additional information, such as a timestamp overlay, that is helpful in videos captured to illustrate bugs.

adb shell screenrecord --bugreport /mnt/sdcard/Download/test.mp4

adb shell screenrecord --verbose /path/to/save.mp4

Display interesting information on stdout

adb shell screenrecord --verbose /mnt/sdcard/Download/test.mp4

adb shell screenrecord --time-limit=LIMIT /path/to/save.mp4

Set the maximum recording time, in seconds

adb shell screenrecord --time-limit=120 /mnt/sdcard/Download/test.mp4

adb shell screenrecord /path/to/save.mp4

adb shell screenrecord /mnt/sdcard/Download/test.mp4
Ease of Use
Ease of Use

The simplicity of command structure makes the ADB Shell Screen Record Command tool easy to use, even by those who might not have technical knowledge, hence effective in screen recording.

Use The Desired Command
Use The Desired Command

Choose the desired 'adb shell screen record' command in order to enter specifications like video size, bit rate, or time limit, according to your preference.

Compatibility Across Multi-Devices
Compatibility Across Multi-Devices

Our software is built to ensure smooth working on multiple devices and, most importantly, Android versions. You might work from the newest smartphone or some outdated tablet; all versions of the Android operating system are compatible with the commands provided by our software. This flexibility makes it easier for users to record the screen, debug, and capture logs irrespective of the device they are using.

Secure and Tested Commands
Secure and Tested Commands

Our tool provides you with tested and verified commands, making them safe to execute. Hence the risk of error or untimely consequences in the functioning of a device decreases significantly. With this, users can use these trusted commands on their devices without fear of losing their important data. Visit our appscms.com and enrich your experience without compromising on reliability and security.

Easy Accessibility
Easy Accessibility

Ease of accessibility is the core part of the design for our tool. This is a web application. You can open it from any device, be it your mobile phone, tablet, or your desktop computer. This means that regardless of your surroundings or work situation, you can pull down commands and information at any given time and any place without having to download any extra software or access a specific operating system.

Supports Command Copying
Supports Command Copying

The interface includes command-copying support so that users can easily select and copy commands with a few clicks. Then, they can paste the commands directly into their terminal for instant execution. This feature eliminates the need for manual typing, reducing the chance of errors and streamlining the process of executing commands. Save time and enhance your productivity by using our tool.

how to image

How to Use ADB Shell Screen Record

  1. Open the tool in your web browser.
  2. The tool will display adb shell screen record commands.
  3. Copy the command and paste it to the terminal of your computer.

Frequently Asked Questions


What is `adb shell screenrecord`?

The command adb shell screenrecord is a command where the screen recorder will record an Android device and will save it as a video file.

Where can I find my recording?

You can find your recording in the path that you chose to save it in while using the command.

Can I use the rotate command while recording?

You cannot rotate the video using the adb shell screenrecord --rotate /path/to/save.mp4 command while recording. Even if you manage to do so, some portion of the recording gets cut out.

How do I set the video size for screen recordings?

Use the command `adb shell screenrecord --size SIZE` replacing `SIZE` with your desired resolution like `1280x720`.

Can I specify the video bit rate?

Yes, you can set the bit rate using `adb shell screenrecord --bit-rate BITRATE,` where `BITRATE` can be specified in either bits or megabits (e.g. 4000000 or 4M).

What does the `--rotate` option do?

The `--rotate` option will output the video with a rotation of 90 degrees, handy for those who wish to record in portrait mode when necessary.

How can I include extra information within my recordings?

Use the `--bug report` option to enable overlays, such as timestamps, which can help explain bugs or issues in your recording.

What does `--verbose` do at record time?

The `--verbose` option will give you more logging information at record time to help you understand what's happening.

How do I set a time limit for my recording?

You can provide a time limit with `adb shell screenrecord --time-limit=LIMIT`, where `LIMIT` is the maximum recording time in seconds.

Where can I save the recording?

Yes, define the path in your command, like `/mnt/sdcard/Download/test.mp4`, to let you define where the video will be saved.

What happens if I omit the video size?

If there is no selection for size, the video will use the computer's main display as the resolution of the video to ensure high quality.

What is the default bit rate for screen recording?

Screen recording default bit rate is 20 Mbps, which implies that there is a balance between the quality needed and the file size.

Are there options to capture specific apps?

No, `adb shell screenrecord` captures the whole screen, not the individual applications.

How do I stop the recording?

One way is by breaking the command in your terminal usually with Ctrl+C or letting the defined time limit expire and then it will stop.

How do I know if ADB is installed correctly?

To confirm whether it installed, check the version of ADB installed, run `adb version` in terminal.

Which permissions are required to record screens?

Ensure that USB debugging is enabled on your Android device and that you've provided any permission you require.

How long can I record?

The length of recording time is determined by the available storage capacity on your device, plus any limitations imposed using `--time-limit`.

Can I record using the recording tool even when not using USB?

No, `adb shell screenrecord` only works over a USB connection for device communication.

How do I retrieve the recorded file from my device?

Use a file manager on your device to locate your recorded video in /mnt/sdcard/Download/.

What if the recording fails?

Check how much free storage space is available. Ensure the device is correctly connected to its console. Assure that the syntax used for the command is correct.

Do I record audio with screen recording?

No, `adb shell screenrecord` does not capture audio; it captures only video output only.

How do you ensure your best video quality?

Choose a video size that is supported by the AVC encoder and set an appropriate bit rate for the quality you would like.

How can I share the recorded video?

You can forward the MP4 file by using email, cloud storage, or file-sharing applications right from your device.

rating-img
Rate this tool
NaN/5   0 votes