[FFmpeg-devel] [PATCH] make analyze_duration work for streams with incomplete timestamps (mp3)
Baptiste Coudurier
baptiste.coudurier
Mon Sep 14 20:44:32 CEST 2009
Hi,
On 09/14/2009 06:24 AM, Michael Niedermayer wrote:
> [...]
>
> (1) if you fix it as you suggest by setting dts in the parser, duration
> still would not be set correctly and you would then require a parser for
> pretty much every codec, let me be blunt but that _SUCKS_ more
Well, IMHO that would surely avoid having a very complex parsing API
depending on codecs and the mess in compute_pkt_fields :)
I've been thinking of computing dts and pts in the parser, I think it
would be easier to solve the "partial" beginning frame timestamp error
in the parser.
--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list