[Bug 708817] New: matroskamux drops the header after flush

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 26 02:46:25 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=708817
  GStreamer | gst-plugins-good | git

           Summary: matroskamux drops the header after flush
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: showayb.zahda at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=255803)
 View: https://bugzilla.gnome.org/attachment.cgi?id=255803
 Review: https://bugzilla.gnome.org/review?bug=708817&attachment=255803

reset matroskamux after flush-stop to make it generate new header

We wish to export part of a matroska file or combine several files (that have
belong to each other) and then export/extract part of them.

As a result, multiple matroska files are being de-muxed, and then re-muxed (The
remux is done because we might export the recording in different format) using
the following pipleline:

matroskamultidemux  -> matroskamux -> sink
where matroskamultidemux is our own element demuxing multiple matroska files.

Seeking on the pipeline does not really work because matroskamux does not
currently support seeks. That's why we seek on our matroskamultidemux element.

When the pipeline is paused matroskamux will push the header downstream. Then
we do the flushing seek in the paused state, the header will be flushed and no
new header will be generated after flush-stop.

Please have a look at the attached patch that fixed the problem for us and
generated the header.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list