[MPlayer-dev-eng] Strange behavior with audio delayed video files
Ingo Brückl
ib at wupperonline.de
Fri Feb 21 11:48:23 CET 2014
Dan Oscarsson wrote on Fri, 21 Feb 2014 09:53:01 +0100:
> fre 2014-02-21 klockan 09:03 +0100 skrev Reimar Döffinger:
>> >>>> So, is the first playback with immediate audio a MPlayer bug?
>> >>
>> >>> MPlayer always plays audio right from the start.
>> >>> I guess you could call that a bug, [...]
>> >>
>> >>I would do so, if audio timestamps say that it should play only later.
>> >
>> >That is a feature that is rarely used, and in general rarely useful,
>> >and in some ways misguided since silence audio packets cost little and
>> >for many formats could be easily prepended.
>> >Thus a quite frequent cause of "timestamps say" is broken initial
>> >timestamps. Ignoring them allows them to "change their mind", if you
>> >just wait you won't even discover that.
>>
>> I forgot a few things:
>> a) delaying audio by more than a few frames or video by more than a
>> few seconds will always cause performance issues. Either through
>> breaking interleaving, through excessive buffering or by delaying
>> highly CPU intensive initialization until the middle of playback.
>> While convenient, that makes it a bad solution technically
> In my patched mplayer I have used this for many years without problem.
Well then, please share your patch with me.
Ingo
More information about the MPlayer-dev-eng
mailing list