Created
January 9, 2019 16:44
-
-
Save jasdeepkhalsa/41ae12bbac7430b1a56da0804f3c5868 to your computer and use it in GitHub Desktop.
Video to GIF with FFMPEG
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
ffmpeg -i video.mp4 -filter_complex "[0:v] fps=24,scale=1080:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" video.gif | |
## REFERENCES | |
# https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/ | |
# https://ffmpeg.org/ffmpeg-filters.html#scale-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment