[FFmpeg-devel] [PATCH] Add support to video4linux2 framerate auto-set.

Luca Abeni lucabe72
Wed Jan 5 08:46:05 CET 2011


Hi Stefano,

On 01/04/2011 09:52 PM, Stefano Sabatini wrote:
> In particular, fix ffmpeg grabbing timestamps when the timebase value
> is not set through the CLI.

The idea looks good, but, can you move the frame rate autodetection to
v4l2_set_parameters(), after the call to VIDIOC_S_PARM? (more precisely,
after the "if (ap->time_base.num && ap->time_base.den)" block)
Does it work, with such a change? (I think so, but, can you verify?)


			Thanks,
				Luca



More information about the ffmpeg-devel mailing list