1. Victor Stinner
  2. hachoir
  3. Issues
Issue #48 resolved

Gstreamer-generated mkv files seem to be un-parsable

Florent Thiery
created an issue

The following command line generates a 16 seconds long mkv file:

gst-launch videotestsrc num-buffers=500 ! x264enc ! matroskamux ! filesink location=test.mkv

However, when trying to parse using hachoir-parser 1.3.4:

from hachoir_parser import createParser
In [11]: h = createParser(u'test.mkv')
[warn] Skip parser 'MkvFile': Stream isn't a matroska document.

Comments (2)

  1. Victor Stinner repo owner

    The issue should be fixed by this commit:

    changeset:   1369:ba8f24caf3cd
    tag:         tip
    user:        Victor Stinner <victor.stinner@gmail.com>
    date:        Thu Nov 21 22:02:13 2013 +0100
    files:       hachoir-parser/ChangeLog hachoir-parser/hachoir_parser/container/mkv.py
    fix issue #48: fix matroska parser, strip trailing null bytes
  2. Log in to comment