Hi,

I have several VOB files for which libav returns a wrong bitrate.
Since the duration is seemingly computed from the filesize and the bitrate,
I get very wrong durations.

ffmpeg cli has the same issue :

FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  3 2010 06:09:07 with gcc 4.4.2
  (snip)
[mpeg2video @ 0003d490]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpeg @ 0003c2f0]max_analyze_duration reached
Input #0, mpeg, from 'VTS_02_4.VOB':
  Duration: 26:08:42.62, start: 1321.148000, bitrate: 2 kb/s
--

So, the bitrate is so low, that it thinks the video is 26 hours long (when
it is about 1 minute.)
Older versions of libav / ffmpeg did not have this issue, so maybe it's a
regression:

FFmpeg version SVN-r21221, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Jan 15 2010 06:06:23 with gcc 4.4.2
  (snip)
[mpeg2video @ 01a14790]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpeg @ 0003cd50]max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (25/1)
Input #0, mpeg, from 'VTS_02_4.VOB':
  Duration: 00:01:09.12, start: 1321.148000, bitrate: 3887 kb/s
--

That time the bitrate seems more reasonable, and the duration is right.
So far I have pinpointed the change to be between r21221 and r21566, earlier
this year.

Is this a known issue due to an API change or something or should I post a
bug report ?
It is not reproduced with all VOB though, but I can upload a 30MB sample if
needed.

Thanks
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to