[FFmpeg-user] Wrong input framerate detected

Brendan Brewster brendan.brewster at gmail.com
Fri May 11 18:12:03 CEST 2012


On Fri, May 11, 2012 at 8:54 AM, Mike Scheutzow <
mike.scheutzow at alcatel-lucent.com> wrote:

> Brendan Brewster wrote:
>
>> It seems that ffmpeg is incorrectly detecting the input framerate of a
>> video I have.
>> ...
>>
>> Input #0, mpeg, from
>> 'concat:VTS_02_1.VOB|VTS_02_2.**VOB|VTS_02_3.VOB|VTS_02_4.VOB|**
>> VTS_02_5.VOB':
>>  Duration: 01:40:30.97, start: 0.041500, bitrate: 6199 kb/s
>>    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR
>> 32:27 DAR 16:9], 9800 kb/s, 26.69 fps, 59.94 tbr, 90k tbn, 59.94 tbc
>>
>
> Mediainfo does not tell the whole story, and is not doing the same
> calculation that ffmpeg does.
>
> For ffmpeg, I believe that the 'fps' value is the average framerate of the
> beginning of the video. If ffmpeg can't get the info from the file header,
> ffmpeg evaluates a few hundred frames to calculate this.
>
> If the movie is a mix of 23.97 frame/sec material and 29.97 frame/sec
> material, 26.69 is a reasonable number for an average value.
>
> Look up the word "telecine" if you care to understand this better.
>
>
> Mike Scheutzow
> ______________________________**_________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>

Hi Mike,

Thank you for the response. I am definitely interested in understanding
this better so will most certainly look up info about "telecine" when I
have a chance later.

Without the knowledge of the aforementioned "telecine" and it's
consequences, am I to presume ffmpeg handles this fine? Is there anything
additional I must do for the encode or any advice that would be helpful
here?

Or, should I be saving these questions until after I've gotten the chance
to do some research? :)

Thanks,
Brendan


More information about the ffmpeg-user mailing list