How can I make a movie from image files?

From MobileRobots Research and Academic Customer Support

Jump to: navigation, search

To turn a set of image files into an MPEG movie, you can use the command-line 'ffmpeg' tool in Linux. This program is available in most Linux distributions. To make an MPEG movie out of a sequence of images named image-0001.jpg, image-0002.jpg, etc. that were saved in JPEG format every 0.5 sec (2 frames per second)., use:

   ffmpeg -r 2 -i image-%4d.jpg -r 30 movie.mpg

This will output an MPEG movie named movie.mpg. "%4d" means that there is a four digit integer counter in the filenames at this point.

Personal tools