[gstreamer-bugs] [Bug 415754] New: New GstMuxer class

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 7 08:19:29 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=415754

  GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: New GstMuxer class
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: michal.benes at itonis.tv
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I have created a new class named GstMuxer which subclasses GstCollectPads. The
main reason why I propose this class is to make subtitle muxing easier, without
any hacks or complex event handling code in muxers.

This class feeds the muxer with time-ordered buffers (custom compare function
can be provided by the muxer) handling the sparse streams (like subtitles)
correctly. This class also handles adding and removing pads in a thread safe
way and does the selection of the oldest buffer automatically (this is
something all muxers do themselves now).

This class need also some API additons to GstCollectPads, in particular, I have
added function gst_collect_pads_set_waiting which sets if the collectpads
should wait uftill buffer is collected on this pad.

This code is based on my experience with porting ffmpegmux and matroskamux to
0.10, work on ITonis mpegts muxer and subtitle support for matroskamux and
IToins mpegtsmuxer.

I welcome any comments to this code. I know it is rather big API addition and
it will need much testing and code review. But I believe it is worth it.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list