[FFmpeg-devel] [PATCH] ffmpeg.texi examples: output opt -r -> -framerate

Ben Price bjmprice at gmail.com
Mon Oct 6 17:13:56 CEST 2014


On Mon, Oct 06, 2014 at 11:29:56AM +0000, Carl Eugen Hoyos wrote:
> Ben Price <bjmprice <at> gmail.com> writes:
> 
> > -ffmpeg -i input.avi -r 24 output.avi
> > +ffmpeg -i input.avi -framerate 24 output.avi
> 
> I didn't really test but I don't think this is 
> correct: As said on irc, there is an INPUT option 
> -r that is different from the INPUT option 
> -framerate but I wonder if there is an output 
> option framerate at all.
> 
> Could you explain how I can reproduce the issue 
> you see?

Oh, wait, I think I'm wrong on all this. The output framerate actually
isn't set to 24 for the second. It appears that I don't actually
understand this very well.

Please ignore this, sorry for the noise.

Perhaps having (from man ffmpeg-all, image2)
 > ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv
instead of (from man ffmpeg, examples)
 > ffmpeg -f image2 -i foo-%03d.jpeg -r 12 -s WxH foo.avi
or a mixture (both -framerate input, and -r output) would be good in the
ffmpeg(1) page examples, to stop others just reading that and getting in
a mess as I did. I could do the patch if you think it's a good idea.

Ben


More information about the ffmpeg-devel mailing list