Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I have a bunch of jpeg and want to make a single flv video file from it.

I need flv/mp4 (vp6/h264 codecs).

Could you please tell me how to do it?

It must be done via console command on Linux.

share|improve this question
up vote 1 down vote accepted

I dont have ffmpeg to try but...

Join images to movie

First, rename your pictures to follow a numerical sequence. For example, img1.jpg, img2.jpg, img3.jpg,... Then you may run:

ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg

Notice that %d is replaced by the image number.

read more

Convert mpg to flv
ffmpeg -i <input-file> -acodec mp3 -ar 11025 -f flv -s 320x240 -y <output-file>

I suspect you can skip the two step process and convert directly to flv in the first step but can't experiment on this computer.

share|improve this answer
thanks! I'll try – user46520 Aug 20 '10 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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