[FFmpeg-user] h264 frame rate detection

Jan Pohanka xhpohanka at gmail.com
Mon Apr 16 07:06:19 CEST 2012


> I set the fps to 5 (which is the rate I get the images from
>> cmos sensor) by setting VUI params num_units_in_tick = 1000 and  
>> time_scale = 5000.
> You are writing the wrong value.
> In h264, num_units_in_tick/time_scale is the duration of one FIELD, not  
> the duration of one FRAME.

I understand, but as my video is in progressive format I expect that field  
rate should be equal to frame rate. As far as I know there is no other way  
to set the fps of the raw stream than these VUI params.

best regards

More information about the ffmpeg-user mailing list