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
# You will need to install ffmpeg first: https://github.com/FFmpeg/FFmpeg | |
# add this to your .bashrc or .zshrc | |
function gif() { ffmpeg -i $1 -pix_fmt rgb8 -vf scale=-1:1080 $2 } | |
# Usage | |
# $~ gif whatever.mov output.gif |