Last active
August 23, 2018 05:54
-
-
Save AwokeKnowing/52eca9a24ca164e90455c5d82023ce32 to your computer and use it in GitHub Desktop.
Make gif from mp4
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 vid.mp4 -filter_complex "[0:v]setpts=0.25*PTS[v];[v]fps=9,scale=480:-1:flags=lanczos,split [o1] [o2];[o1] palettegen [p]; [o2] fifo [o3];[o3] [p] paletteuse" vid4x.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment