The screenrecord command is a shell utility for recording the display of devices running Android 4.4 (API level 19) and higher. The utility records screen activity to an MPEG-4 file, which you can then download and use as part of a video presentation. This utility is useful for developers who want to create promotional or training videos without using a separate recording device.
To record video on Android KitKat:
- Enable developer options on KitKat
- Connect your KitKat device to your PC.
- In your PC, run:
$ adb shell screenrecord /sdcard/video.mp4
To stop recording:
- Press Control-C on your PC
Your recorded video will be in /sdcard/video.mp4 on your Android KitKat device.