[Bug 668095] keyunits-scheduler: New element for scheduling GstForceKeyUnit events

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 9 05:37:26 PDT 2012


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

--- Comment #5 from Andoni Morales <ylatuya at gmail.com> 2012-07-09 12:37:23 UTC ---
In a multi-bitrate scenario, all encoders should produce a keyframe at the same
stream position, at least for HLS, Smooth Streaming and the basic profiles of
DASH (DASH supports having streams with keyframes not aligned, but not for the
basic profiles). Also you should be able to add a new quality/encoder at any
time for a live stream.

This element is therefore used for 2 goals at the encoder level:
  * Generate keyframes at a fixed interval.
  * Synchronize encoders to generate keyframes at the same instant and create
streams that are keyframe-aligned at the fragment boundaries.

Most encoders have an API for creating keyframes at a regular interval but this
wouldn't allow us inserting new encoders in the pipeline and create
keyframe-aligned streams. Also, forcing keyframe at a regular interval in the
encoder is suboptimal, instead we let the encoder decide whatever is best in
the X seconds interval and force a keyframe only when needed.

Note that this event will flow downstream down to the sinks and it's also used
by muxers and sinks to determine when a new fragment should be created.

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