[MPlayer-dev-eng] Strange behavior with audio delayed video files

wm4 nfxjfg at googlemail.com
Fri Feb 21 12:02:04 CET 2014


On Fri, 21 Feb 2014 09:03:08 +0100
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:

> 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

The excessive buffering could be avoided by detecting this situation
(similar to coverart with mp3/id3v2/libavformat), and by starting
decoding only when an audio packet is actually in reach. In any case,
the demuxer code already explicitly sets a hard upper limit on packet
buffering.


More information about the MPlayer-dev-eng mailing list