[Bug 660260] New: [ismlmux] Add support GstForceKeyUnit events

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 27 09:56:43 PDT 2011


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

           Summary: [ismlmux] Add support GstForceKeyUnit events
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ylatuya at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

0002-Add-support-for-GstForceKeyUnit-events.patch

The flowing patch adds support for GstForceKeyUnit events to ismlmux.

I have added a new property called 'fragment-method':
 * NONE: do not fragment (default value for muxers that are not the ismlmux)
 * TIME: fragment by time, set in the fragment-duration property (default value
for the ismlmux, keeping the old behaviour)
 * EVENT: Uses the GstForceKeyUnit event to generate fragments.

This muxer is different from the other ones (webm or mpegts) in the sense that
it can mux several video qualities and the audio track is packed in a separate
fragment. So to make it work the audio pad should be receiving GstForceKeyUnits
too.

I have tested this patch using Flumotion's smooth streamer[1] with a pipeline
similar to:
vsource ! keyunitsscheduler ! tee name=t  ! h264enc ! ismlmux name=mux !
streamer
                                       t. ! h264enc ! mux.
                                       t. ! h264enc ! mux.
asource ! keyunitsscheduler               ! aacenc  ! mux.


This patch relies in the new API for GstForceKeyUnit events

[1] https://code.flumotion.com/cgit/flumotion-fragmented-streaming/

-- 
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