Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
    
The idea is the same, just leave out the soundtrack and map options. –  slhck Mar 28 '12 at 19:20
add comment

marked as duplicate by slhck, Oliver Salzburg, Tom Wijsman, techie007, 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.

2 Answers

up vote 3 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
add comment

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

http://home.hccnet.nl/s.vd.palen/index.html

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
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.