Create GIFs from Android devices (pronounced "gif cap")
A shell script to record GIFs from your Android devices
A picture is worth 1,000 words - and, when prototyping animations, recording visual glitches, etc, a video is worth far more. This script makes it easy to capture and share subtle app behavior by producing ready-to-paste-in-Slack GIFs with a single command.
gifcap your_file_name.gif
Note: you'll need an actual Android device plugged in - emulators don't generally have
screenrecordbuilt in.
brew install gifcap
Note that we assume you have
adbon your path. If you don't have an Android SDK, and want Homebrew to set it up for you:
brew install gifcap --with-android-sdk
Ensure
adb,
ffmpeg, and
ffprobeare on your $PATH. Also make sure that your console window is capable of executing
bash.
Copy
gifcapand place it somewhere on your $PATH.
Copyright © Microsoft Corporation