GNOME Bugzilla – Bug 767838
Does souphttpsrc and hlsdemux support stream alternates?
Last modified: 2016-06-21 07:48:41 UTC
I use this pipeline but playback ends when the stream has changed to other bitrate: gst-launch-1.0 souphttpsrc location=http://myhost/index.m3u8 ! hlsdemux ! tsdemux name=t t. ! queue ! h264parse ! capsfilter ! avdec_h264 ! videocovnert ! autovideosink t. ! queue ! aacparse ! faad ! audioconvert ! autoaudiosink If the use this pipeline then Change the stream to other bitrate: gst-launch-1.0 playbin location=http://myhost/index.m3u8 Does souphttpsrc and hlsdemux support stream alternates? alternates stream:https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH102-SW18
This is a bug tracker, not a support forum. But hlsdemux currently does not support alternative renditions. There are a few bug in Bugzilla about adding this feature, and it seems to be worked on but is not ready yet.
I think the reporter did not mean alternative renditions but switching between streams of different bitrates. The answer for that is: yes, GStreamer supports that, but you can't easily make it work with gst-launch pipelines, because the pipelines are static and you need to dynamically handle the bitrate switches (new pads are added on the fly etc.). If you use playbin it will handle it for you.