Android 4.4+: how to record video from screen

I needed to record the work of my app and was looking for various possibilities.
Most of them included ROOTing my device, I wanted to avoid it.
Some offered possibility to make screenshots fast enough to make video compilation later.

I was looking for a native possibility to record video of my app working. This feature appeared in Android only in OS version 4.4.

It is pretty simple to use:
1. Install Android Developer Kit
2. Execute the following command:

$ adb shell screenrecord /sdcard/demo.mp4

3. Crtl+C to cancel the process
4. then you will be able to download the video from your device.

$ adb pull /sdcard/demo.mp4 [your directory]/demo.mp4

Here is the result of my work

Note: you can specify bitrate and time of record.

$ adb shell screenrecord --bit-rate 8000000 --time-limit 30 /sdcard/kitkat.mp4

Leave a Reply

%d bloggers like this: