[FFmpeg-devel] [PATCH] allow v4l2 to select a frame rate

Luca Abeni lucabe72
Thu Dec 17 16:15:28 CET 2009


klchxbec at freenet.de wrote:
> Hello.
> Attached patch fixes the problem with v4l2 where if the user does
> not specify the frame rate using -r option, it would fail with:
> Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
> The patch tries to apply the user-specified frame rate. If that does
> not work, it reads the frame rate from the driver. Tested with a
> couple of Logitech webcams.

Thanks for the patch; I tried something similar some time ago, but
it failed on some of my test systems (I do not remember the details).
Anyway, in the next days I'll perform some tests on your patch and
if everything works I'll commit it.


More information about the ffmpeg-devel mailing list