gifify is a shell script for converting screen recordings into GIFs that can be embedded conveniently into places like Campfire chatrooms or GitHub issues and pull requests.
Download the gifify script and make it available in your PATH
.
curl -o /usr/local/bin/gifify -O https://raw.githubusercontent.com/jclem/gifify/master/gifify.sh && \
chmod +x /usr/local/bin/gifify
- ffmpeg:
brew install ffmpeg
- imagemagick:
brew install imagemagick
Given a file recording.mov
:
gifify recording.mov
gifify -o new_gif recording.mov
gifify -c 100:100 recording.mov
gifify -n recording.mov
gifify -r 60 -n recording.mov
gifify -r 30 -s 2 -n recording.mov
gifify -s 6 -n recording.mov
gifify -n -t "Add a caption to the the GIF" recording.mov
gifify -x recording.mov
GIF renderers typically cap the framerate somewhere between 60 and 100 frames per second. If you choose to change the framerate or playback speed of your GIFs, ensure your framerates do not exceed 60 frames per second to ensure your GIFs play consistently. An easy way to compute this is to ensure that FPS (-r
) x SPEED (-s
) is not greater than 60.
MIT (See LICENSE)