[FFmpeg-user] Error while opening encoder....

Dan Hentschel dan at hentschels.com
Mon Sep 24 18:48:04 CEST 2012


> > ffmpeg -vf "pad=1340x886" -i "%06d.jpg"
>
> The order of options matters:
> You probably want to insert the video filter
> between decoder and encoder.
>
> > -y movie.mp4 -r 1 -b:v 9600 -report
>
> And I would strongly expect that you have to put
> the output file options "bv" and "r" in front of
> the output file.
>

Actually, I think you need to place the -r before the input.
Otherwise, ffmpeg apparently assumes the input framerate is 25 fps,
and drops frames accordingly when you convert to 1 fps on the output.
Also, your pad command needs to be "pad=1340:886" rather than
"pad=1340x886". The following command worked decently for me:


ffmpeg -r 1 -i "%06d.jpg" -vf "pad=1340:886" -b:v 9600 -report -y movie.mp4


--
dan B hentschel
dan at hentschels.com


More information about the ffmpeg-user mailing list