Created
January 28, 2021 08:45
-
-
Save quietcricket/afcdd9eeadeac58c733505f0ae63a6b2 to your computer and use it in GitHub Desktop.
FFMPEG Commands
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
# Making gif with PNG files | |
# Generate palette | |
ffmpeg -f image2 -i frame%04d.png -vf scale=900:-1:sws_dither=ed,palettegen palette.png | |
# Join png files using the palette generate | |
ffmpeg -i frame%04d.png -i palette.png -filter_complex "fps=12,scale=900:-1:flags=lanczos[x];[x][1:v]paletteuse" video.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment