Last active
February 14, 2019 21:34
-
-
Save sadikay/5324efc7774c476d7d20b1fcace33ddf to your computer and use it in GitHub Desktop.
.mov to .gif - Convert quick time player videos to gif format on macOs command line.
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
brew install ffmpeg | |
brew cask install x-quartz #dependency for gifsicle, only required for mountain-lion and above | |
open /usr/local/Cellar/x-quartz/2.7.4/XQuartz.pkg # runs the XQuartz installer | |
brew install gifsicle | |
ffmpeg -i ~/Desktop/in1080.mov -s 920x540 -pix_fmt rgb24 -r 18 -f gif - | gifsicle --optimize=3 --delay=3 > ~/Desktop/out.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment