Saturday, October 9, 2010

Convert gif to video under ubuntu

To convert a gif image to a video you need the program ffmpeg.
you can get it through apt-get typing
sudo apt-get install ffmpeg

As shown this tutorial we need only two commands
convert test.gif test%05d.jpg
ffmpeg -r 5 -i test%05d.jpg -y -an -sameq test.avi

-r specifies the framerate
We added -sameq to have the same quality of the gif in the video.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.