Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Android Screen recording using ADB shell in Android KitKat 4.4

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.07k
    Comment on it

    The feature is available for devices running Android 4.4(API level 19) and higher. We use screenrecord command to perform this task. The screen activity is recorded to an MPEG-4 file, and the same can be downloaded from the device.

    Below is the command:

    $ adb shell screenrecord /sdcard/screen.mp4

    We can stop the recording at any time by simply pressing Ctrl-C, by default the reording limit is 3 minutes. Below is a similar command which specifies time limit in it:

    adb shell screenrecord --time-limit 30 /sdcard/screen.mp4

    Below is how to record video and pull from device using adb shell:

    $ adb shell
    shell@ $ screenrecord --verbose /sdcard/screen.mp4
    (press Ctrl-C to stop)
    shell@ $ exit
    $ adb pull /sdcard/screen.mp4

    Limitations of using screenrecord command:

    1. It does not record Audio.
    2. It does not support rotation.
    3. On some devices, it does not support recording in device's native resolution.

    All the best for your first screen recording :)

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: