Created
February 25, 2020 14:15
-
-
Save yan13to/13f6e0550634032386642e95830ed966 to your computer and use it in GitHub Desktop.
Convert video into gif use 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_file.flv -vf "fps=10,scale=800:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output_file.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment