[MPlayer-dev-eng] [PATCH]libmpdemux: Increase MAX_PACK_BYTES

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Mar 8 23:46:38 CET 2016


On Tue, Mar 08, 2016 at 10:05:36PM +0100, Reimar Döffinger wrote:
> There also seems to be an issue in that the recovery
> from full buffer does not seem to work right,
> causing audio and video to run completely alternatingly
> when the intention is for it to play
> audio + video
> video only to empty buffer
> audio + video
> ...
> Not sure what breaks it.

Ok, I probably found the cause for it, it looks like
FFmpeg and MPlayer disagree on when audio and video
are in sync and thus (from MPlayer's point of view)
not only interleaves rarely but actually interleaves
wrongly.
The file plays fine for me if I use
-speed 0.5 -delay -1
It is possible this is just an artifact of when it
decides which stream to pick it picks the video
to demux ahead of time.
Which is bad as that vastly bloats the memory requirements.
Given how the demuxer works, it is possible this is caused
by the way the video is muxed.


More information about the MPlayer-dev-eng mailing list