[FFmpeg-devel] [PATCH] Remove pointless, complex and probably wrong pts-handling in ea demuxer.

Baptiste Coudurier baptiste.coudurier at gmail.com
Sun Apr 10 20:05:32 CEST 2011


On 4/9/11 7:20 AM, Reimar Döffinger wrote:
> On Fri, Apr 08, 2011 at 12:54:00PM -0700, Baptiste Coudurier wrote:
>> On 04/07/2011 01:29 PM, Reimar Döffinger wrote:
>>> FFmpeg can and/or should figure out pts for audio on its own better
>>> than what the demuxer does.
>>
>> I had this patch that works pretty well.
> 
> Unless I am missing something it's still a lot of code with the
> only purpose of probably creating issues with seeking.
> Is there any even tiny advantage in having this code at all?
> (Even if there is, it would belong at a higher-level place since
> other demuxers might profit from it as well).

Yes, the packet duration is correct. If you use ffmpeg with -async 1,
you'll notice that a lot of demuxers have broken timestamps.

Having correct packet duration is needed for the timestamps generation
to work.

[...]

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org


More information about the ffmpeg-devel mailing list