Created
April 8, 2015 20:11
-
-
Save arthuralvim/980a54af714e1316d16f to your computer and use it in GitHub Desktop.
Utilizando o FFMPEG para gerar gifs.
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 -t 10 -ss 00:00:08 -i video.mp4 -loop 0 -vf "transpose=1" -s 240x320 output.gif | |
convert -layers Optimize output.gif output-small.gif | |
ffmpeg -t 10 -ss 00:00:10 -i video2.mp4 -loop 0 -s 320x240 output2.gif | |
convert -layers Optimize output2.gif output2-small.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment