Created
August 13, 2017 20:39
-
-
Save victusfate/d78379b0bfec72943e276fefdcc1ddb0 to your computer and use it in GitHub Desktop.
1 liner video to gif from https://superuser.com/questions/556029/how-do-i-convert-a-video-to-gif-using-ffmpeg-with-reasonable-quality
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
ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - gif:- | convert -layers Optimize - output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment