Last active
January 2, 2016 17:39
-
-
Save cmfcmf/8337971 to your computer and use it in GitHub Desktop.
Convert .gif to .avi on Ubuntu.
Taken from here: http://www.linuxquestions.org/questions/linux-software-2/converting-animated-gif-to-avi-ffmpeg-549839/#edit2729743 .
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
convert test.gif test%05d.jpg | |
ffmpeg -r NUMBER_OF_JPG_PICTURES_GENERATED -i test%05d.jpg -y -an test.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After executing the first line, count the number of pictures generated, and then replace
NUMBER_OF_JPG_PICTURES_GENERATED
by this number and run the second line.