Created
March 24, 2021 22:57
-
-
Save mfirmin/566064ea7637755ade1aa71cc8c3236d to your computer and use it in GitHub Desktop.
mp4 to high quality gif
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 input.mp4 -vf "fps=10,scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment