Created
April 3, 2016 10:45
-
-
Save mik-laj/5b3da81a1ee5a073b734cfc3db50aee8 to your computer and use it in GitHub Desktop.
Simple script to convert video gif to real gif. I did it to support the department responsible for social media.
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
#!/bin/bash | |
ffmpeg -i $1 -r 10 /tmp/to_gif_%05d.png &> /dev/null | |
convert /tmp/to_gif_*.png $2 &> /dev/null | |
rm /tmp/to_gif_*.png &> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment