<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 10:13 AM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 18 Feb, Steve Lhomme wrote :<br>
<span class="">> This is a live stream from GStreamer that doesn't play in normal condition.<br>
> For playback to work you need to enable "--mkv-use-dummy" which allows<br>
> unknown elements in Matroska.<br>
<br>
</span>This option makes no sense. Just remove it.<span class=""><br></span></blockquote><div><br></div><div>The "strict" mode was made for files with damaged data, so that we can recover to normal playback if odd values are found. Skipping data byte by byte until we find something suitable again.<br><br></div><div>The "dummy" (skip unknown elements) mode treats these odd/damaged data as proper EBML values and skip them. Until luckily, it finds data it can handle again. In this case if the file has damaged data, these damaged data will make it skip in the wrong places, finding more incorrect data to parse and ending up not reading anything correctly. That can happen with a mkv not completely loaded from torrent. I think that's why it's not the default mode.<br><br></div><div>Both have their use and are currently mutually exclusive. I think it's unrealistic to ask people to enter some command-line param to play some files. Especially if they're trying to play from Android or iOS. So we must find another solution.<br><br></div><div>It should be possible to use "dummy" elements in the header and until the first Cluster is found. And then switch to strict mode so that if we encounter damaged data we just skip the bad parts until we find something playable again.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> IMO this option is backward. The doc says "Read and discard unknown EBML<br>
> elements (not good for broken files)." It should be the other way around.<br>
> If you have a file that doesn't play, then you can try a command-line<br>
> option for playback to work.<br>
<br>
</span>Just invert the default, it's quite easy.<br>
-<br>
With my kindest regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" value="+33672704734">+33 672 704 734</a><br>
Sent from my Electronic Device<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br></div></div>