[FFmpeg-user] h264 frame rate detection

Mike Scheutzow mike.scheutzow at alcatel-lucent.com
Fri Apr 13 16:18:24 CEST 2012


Jan Pohanka wrote:
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.


Mike Scheutzow



More information about the ffmpeg-user mailing list