Created
January 18, 2022 16:03
-
-
Save johnthepink/871b4084b642e185b4f5dad8374c543c to your computer and use it in GitHub Desktop.
Creating Gifs on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dependencies to install | |
brew install ffmpeg | |
brew install gifsicle | |
# add this to your shell environment | |
function v2g() { | |
ffmpeg -i "$1" -pix_fmt rgb8 -r 10 "$2" && gifsicle -O3 "$2" -o "$2" | |
} | |
# record a screencast with Quick Player | |
# then, run this with the information filled out | |
v2g path/to/input.mov path/to/output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment