How to construct the pipeline for hls videos (AES encrypted or not)

Sebastian Dröge sebastian at centricular.com
Wed May 18 12:22:39 UTC 2016


On Mi, 2016-05-18 at 14:13 +1000, Duncan Palmer wrote:
> Hi Silver,
> 
> Using uridecodebin is the correct approach here, as you'll need to
> deal with dynamic pipeline reconfiguration on bitrate changes, and
> decodebin will handle that for you.
> 
> Could you run with the GST_DEBUG environment variable set to
> '*:2,hlsdemux:7', and post the logs?

Actually uridecodebin won't help much here either, you need full
playbin to handle this properly. Or implement the reconfiguration
handling yourself.

What will happen with HLS (DASH, etc) is that whenever the stream
configuration changes too much, it will remove all pads from the
demuxer and add new ones. Which then have to be linked again and used
in place of the others. playbin would do this for you but you could of
course also implement that independent of playbin

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- 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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160518/28d21fc9/attachment.sig>


More information about the gstreamer-devel mailing list