HLS and keyframes

Sebastian Dröge sebastian at centricular.com
Thu Mar 6 07:38:10 PST 2014


On Do, 2014-03-06 at 07:19 -0800, Dave Walker wrote:
> The spec I'm reading seems looser than that:
> http://tools.ietf.org/html/draft-pantos-http-live-streaming-12, with SHOULD
> language instead of MUST. Particularly in the presence of the new byte
> range segments (which I know aren't supported by gstreamer yet) I wouldn't
> think it would be desirable to force every segment to have its own PPS/SPS.

FYI, byte ranges are implemented now. Just pushed that change to git
master. There are some problems around that that still have to be solved
though.

> But my question is more about the behavior I'm seeing. Would you expect me
> to be getting glitches and dropouts with segments that *don't* start with a
> keyframe and PPS/SPS? Does the next stage in the pipeline treat each
> segment independently, rather than as one big continuous stream? If it's
> all one big stream I wouldn't think it would matter where the boundaries
> between segments are.

Yes, if there is no keyframe at the beginning of a fragment then things
will fail in various ways. Not for normal playback but when seeking or
when you switch between different bitrates for example.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140306/6dc6b344/attachment.pgp>


More information about the gstreamer-android mailing list