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 <CTRL+C to stop recording>
Note: you'll need an actual Android device plugged in - emulators don't generally have
screenrecord built in.
brew install gifcap
Note that we assume you have
adb on 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
ffprobe are on your $PATH. Also make sure that your console window is capable of executing
gifcap and place it somewhere on your $PATH.
Copyright © Microsoft Corporation