Skip to content

Matroska demuxer fails to parse past the first Cluster

Hi, I'm working on a matroska muxer based on the one Haali wrote for x264. In this muxer, Chapters and Cues get written a the end of the file (after all the Clusters). VLC fails to pick up either, even when there is a SeekHead at the beginning of the file that points to where they are.

Also, if I write one SeekHead at the beginning whose only entry is a pointer to another SeekHead, at the end, which has all the entries for the rest of the file. VLC does not follow this linked-to SeekHead.

An example for the SeekHead-points-to-SeekHead is here: http://www.saintdevelopment.com/files/stf.vlc.broken.mkv

If you would like I can upload samples of files without a SeekHead, and with one large SeekHead at the beginning that points to the same data, which VLC parses incorrectly.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information