[MPlayer-dev-eng] [PATCH] Fix hang on demux of matroska files with 0byte-ints using 'mkv' demuxer

Sebastian Hagen sebastian_hagen at memespace.net
Sun Sep 5 06:37:22 CEST 2010


On 2010-09-01 00:00, Aurelien Jacobs wrote:
> What are you talking about exactly ?
> '-demuxer lavf' is the default behavior.
This is incorrect.
An explicit specification of '-demuxer lavf' (or equivalently an 
applicable 'demuxer=lavf' clause in ~/.mplayer/config) will turn off 
demuxer auto-detection. If no demuxer is forced through either of these 
means, the auto-detection code will (among other things) try the 'mkv' 
demuxer, which will then hang, blocking demuxer selection and thereby 
playback of the mkv file. That the autodetection would ultimately prefer 
the 'lavf' over the 'mkv' muxer is irrelevant, since the hang produced 
by the latter doesn't allow the auto-detection function to terminate.

Have you tried playing back the demonstration file I attached to my 
previous mail in an mplayer instance without either an explicit 
'-demuxer lavf' argument or a 'demuxer=lavf' term in its config file? In 
my own tests this method has always succeeded in reproducing the bug I 
described; I just did another test with r32049, and it still behaves the 
same way.

Sebastian Hagen


More information about the MPlayer-dev-eng mailing list