This is a cross-platform command line tool to record screen of Android device.
Here are advantages over
the typical way
with adb shell screenrecord
.
- Simple - all required tasks are automatically executed, such as recording screen, downloading file from Android to PC and converting file
- Convenient - thanks to FFmpeg, recorded file can be converted into arbitrary format like animated GIF
- Fast - all tasks are executed in parallel
curl -L git.io/cli | L=eqot/andrec bash
Here is a command to start recording screen and save it to the specified file.
$ andrec foo.gif
Then, you can stop recording by pressing enter key.
Copyright © 2016 Ikuo Terado. Released under the MIT license.