Created
July 15, 2021 19:43
-
-
Save Ravenstine/9c3ac53f047b3a725a20ee9d2fb70f43 to your computer and use it in GitHub Desktop.
Convert 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 input.mov -vf "fps=15,scale=640:-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