[Bug 607742] add gst_event_new_force_key_unit: gst-plugins-base/gst-libs/gst/video/video.c

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 20 12:00:14 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=607742
  GStreamer | gst-plugins-base | unspecified

--- Comment #19 from Andoni Morales <ylatuya at gmail.com> 2011-06-20 19:00:08 UTC ---
(In reply to comment #18)
> What's the count for ?

As a downstream event, this event is very useful for fragmented streaming,
being able to synchronise multibtirate streams by sending a GstForceKeyUnit
event downstream in the source element at a fixed interval (eg: creating
fragments of 10 seconds for X different bitrates from the same source).

Some of the fragmented streaming technologies relies in producing the same
playlist for the n different bitrates, like the HTTP live streaming draft from
apple. This event ensures for all the stream that all fragments will have the
same duration and will be fragmented at the same position, but the sinks that
writes the playlist needs to know the fragment's count/index

The "count" field would be used to store the number of forced keyframes, and 
implicitly the number of fragments that have been created since the start of
the live stream. If at some point of the live stream, a new bitrate needs to be
added to the stream dynamically (or one of the encoders needs to be restarted
or it went out of sink), the new sink will know the index of the incoming
fragment using the count field and it will be able to create the same playlist
as the other sinks that are using the same source.

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