Created
June 20, 2017 04:28
-
-
Save Fire-/68a9798819180825fe92402758108f05 to your computer and use it in GitHub Desktop.
video to gif
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
## change seek (-ss) and length (-t) values as appropriate. | |
## Preview with ffplay first. | |
ffmpeg -ss 00:00:13.80 -t 00:00:11.90 -i input.file -vf "crop=in_w:720,fps=50" -an -r 50 -f image2pipe -c:v ppm - | magick convert -set delay 2 - -delay 2 -layers Optimize output.file.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment