Record Video

From Android Kitkat i.e. 4.4 version and above, adb provides a way to record screen video and save it to the device storage. We can pull the video to local system from there.

Steps for screen recording and subsequent save

  1. First start adb shell screenrecord /path
  2. Recording starts and wait until you no longer need to record the screen
  3. Hit Ctrl+C in the shell to stop recording
  4. Pull the video to local filesystem
Anyones-Mac-mini:ci_android_acceptancetests $ adb shell screenrecord /sdcard/example.mp4
^C
Anyones-Mac-mini:ci_android_acceptancetests $ adb pull /sdcard/example.mp4
4972 KB/s (2900775 bytes in 0.569s)

An example video recorded when adding a contact is here

results matching ""

    No results matching ""