[Bug 654799] Add force-key-unit support to mpegtsmux

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 15 15:57:37 PDT 2011

  GStreamer | gst-plugins-bad | git

Alessandro Decina <alessandro.d> changed:

           What    |Removed                     |Added
 Attachment #192294|0                           |1
        is obsolete|                            |

--- Comment #5 from Alessandro Decina <alessandro.d at gmail.com> 2011-09-15 22:57:32 UTC ---
Created an attachment (id=196678)
 View: https://bugzilla.gnome.org/attachment.cgi?id=196678
 Review: https://bugzilla.gnome.org/review?bug=654799&attachment=196678

updated patch and tests

New patch. This one is much simpler now that I added a running_time field to
upstream force-key-unit events.

Now when a downstream event is received, if there is an upstream event being
handled already, the downstream event is ignored, else it's handled. Upstream
events are never ignored. This logic supports both the following cases:

a) source ! element_that_schedules_periodic_downstream_events ! encoder ! muxer
! sink

b) ...a number of sources and encoders... ! muxer ! sink - with the application
scheduling upstream events by pushing them on muxer:src

a) is how I think Andoni is doing it. b) is how i'm doing it and how RTP could

In both cases encoders and the muxer use the running time to know when to emit
a keyframe/new headers.

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