Files
Managor 4c02506359 screenrecord: add page (#22754)
Co-authored-by: TheRootDaemon <harshath3018@gmail.com>
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
2026-06-14 20:37:07 +03:00

26 lines
643 B
Markdown

# screenrecord
> Record a video of a mobile display.
> Note: This command can only be used through `adb shell`.
> More information: <https://developer.android.com/tools/adb#screenrecord>.
- Record the screen:
`screenrecord {{path/to/file}}.mp4`
- Record the screen at a specific resolution:
`screenrecord --size {{1280x720}} {{path/to/file}}.mp4`
- Record the screen with a specific bitrate:
`screenrecord --bit-rate {{6000000}} {{path/to/file}}.mp4`
- Record the screen with a maximum duration (in seconds, 180 seconds is the maximum):
`screenrecord --time-limit {{180}} {{path/to/file}}.mp4`
- Display help:
`screenrecord --help`