Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to turn images into a video slideshow with sound

I have a series of JPGs that were from a video file. They are named according to their frame number. How can I put them together into an AVI file at 30fps or 40fps (user specified)?

share|improve this question

marked as duplicate by slhck, Oliver Salzburg, Tom Wijsman, Ƭᴇcʜιᴇ007, studiohack Mar 29 '12 at 21:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

The idea is the same, just leave out the soundtrack and map options. – slhck Mar 28 '12 at 19:20
up vote 4 down vote accepted

Both mencoder and ffmpeg support using a set of JPEG images as their input. As AVI is a container, depending on whether it supports the codec, you can even make an MJPEG movie (which should almost literally correspond to stacking the JPEG images as frames inside the AVI container).

But, unless you have very strict quality requirements, it'll probably be way easier if you just try one of the default or more common codecs.

It has been some time since I did this for the last time, but browsing the web, it seems that making a movie out of frames can be as simple as issuing a command like

ffmpeg -r 40 -i %d.jpg video.avi

Where, -r sets the framerate. Here, this outputs a divx video stream by default. But of course you can specify another video codec (or another container).

share|improve this answer

If you want something under windows with a graphical user interface you can use Photolapse:

It worked for me to create a HD video out of 5000 JPG frames. The nice thing about this software is that you can preview the frames in the same interface and exclude selected frames from the movie.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .