gifify is a shell script for converting screen recordings into GIFs that can be embedded conveniently into places like Slack channels or GitHub issues and pull requests.
brew install gifify
Given a file recording.mov
:
- Convert it into recording.mov.gif:
gifify recording.mov
- Convert it into new_gif.gif:
gifify -o new_gif recording.mov
- Convert it, cropping the top left corner:
gifify -c 100:100 recording.mov
- Convert it and output at 60 frames per second:
gifify -r 60 recording.mov
- Convert it and output at 30 frames per second at 2x speed:
gifify -r 30@2 recording.mov
- Convert it and output at 30 frames per second at 2x speed, with a single loop:
gifify -r 30@2 -l 1 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 x SPEED is not greater than 60.
MIT (See LICENSE)