New HLS sink element using the GstBaseAdaptiveSink base class
@ylatuya
Submitted by Andoni Alastruey Link to original bug (#688310)
Description
This is a port of hlssink using the base class for adaptive sinks in #668093
.
This sink adds the following features with respect of the one for 0.10:
- support for multi-bitrate streams
- support for byte-ranges media segments (added in version 4 of the protocol)
- application interface (similar to appsink)
- uses the base adaptive base class
You can find it in the baseadaptive branch:
https://github.com/ylatuya/gst-plugins-bad/tree/baseadaptive
Usage:
gst-launch videotestsrc ! tee name=t ! \
! queue ! x264enc bitrate=1000 ! mpegtsmux ! queue ! hlssink name=s \
t. ! queue ! x264enc bitrate=2000 ! mpegtsmux ! queue ! s.
t. ! queue ! x264enc bitrate=3000 ! mpegtsmux ! queue ! s.
Version: 1.x