Created
November 29, 2015 04:42
-
-
Save cjwinchester/789be8fccb9cc2e00b7e to your computer and use it in GitHub Desktop.
Use ffmpeg and imagemagick to convert a (sideways) mp4 video into a gif.
This file contains hidden or 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
| mkdir -p goat && ffmpeg -i goat.mp4 -vf "transpose=1" -r 10 goat/goat%03d.png && convert -resize 50% -delay 5 -loop 0 goat/goat*.png goat.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment