[FFmpeg-user] FAQ: how to join videos

Paul Lenz paul at lenz-online.de
Sat Feb 11 15:02:24 CET 2012


Am 11.02.2012 14:43, schrieb Carl Eugen Hoyos:
> Paul Lenz <paul <at> lenz-online.de> writes:
>
>> 1.) I duplicate the pictures until I have 25 pictures per second
>> 2.) ffmpeg -r 25 -f image2 -i img-%06d.jpg pics.mpg
>
> What is wrong with
> ffmpeg -r 1 -i img-%06d.jpg -r 25 pics.mpg
> ?
> (Assuming you originally had 1 image per second)

Your assuming is wrong. Depending from my camera and other reasons, I 
have 4 to 9 images per second. ffmpeg can not guess which pictures 
belong to which second, but my program knows.


>> ffmpeg -i temp.mpg -f avi result.wmv
>
> That is *really* broken, please do not suggest such abominations 
> here..

It works very well for me. Perhaps ffmpeg is more clever than you 
think.

Paul Lenz



More information about the ffmpeg-user mailing list