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.

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

1 Answer 1

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

Your Answer

 
discard

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.