[Bug 719785] hlssink: does not always adhere to the segment target duration
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jan 6 13:25:00 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=719785
--- Comment #16 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
I have just re-read something you said:
(In reply to minfrin from comment #12)
> It's the equivalent of "[src] ! [timing-element] ! decodebin ! encodebin !
> hlssink".
>
> The timing element sends downstream force-key-unit events, which are
> intercepted by h264parse, which then delays the force-key-unit, ruining the
> timing.
That's unreliable by choice. Most sources don't know what to do with keyframe
request. The keyframe request is only handled by video encoders in GStreamer. I
think this thread can be closed quickly here, just configure your encoder key
frame distance. E.g. x264enc has key-int-max property. If you configure this
(depends on which exact encoder you are using), you'll never notice this lack
of robustness again. Remember, this is an upstream request, so timing-element
cannot reach to your downstream encoder.
--
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