Created
July 29, 2015 17:45
-
-
Save echohack/61ec4e97789546fb0328 to your computer and use it in GitHub Desktop.
convert an mp4 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_file.mp4 -vf scale=320:-1:flags=lanczos,fps=30 frames/ffout%03d.png | |
convert -loop 0 frames/ffout*.png output_file.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
转换后的大小如何啊