bruno386 0 Newbie Poster

Im using the following ffmpeg switches to create a video from a sequence of jpegs;

ffmpeg -f image2 -i image%d.jpg -vcodec mpeg4 -b 800k video.avi

The output file is very short, only 6 seconds or so, however there are lots of jpegs in this folder, names starting from frame0.jpg allthe way to frame160.jpg...if I play the directory of jpegs using a picturebox and timer in c#, it looks much much better with a more true representation of the jpegs in the folder: i.e its much longer and plays back expected.

I have tried using the -r switch to change the framerate however I cant seem to get a true output which includes all the jpegs.


Where am I going wrong here?

Thanks in advance.