GNOME Bugzilla – Bug 734148
hlsdemux: don't start playing if I use it from uridecodebin
Last modified: 2014-08-02 05:21:17 UTC
If I use hls stream from uridecodebin, pipeline don't start gst-launch-1.0 uridecodebin uri="http://playertest.longtailvideo.com/adaptive/bbbfull/bbbfull.m3u8" name=demux \ demux. ! 'video/x-raw' ! videoconvert ! videoscale ! autovideosink \ demux. ! 'audio/x-raw' ! fakesink \ 2>&1
This is not a bug, there are 2 issues with this use with gst-launch 1) You need queues after demuxers to allow each sink to run on its own thread, otherwise a deadlock happens. Not only hls, with any demuxer. 2) Even when you use queues, hlsdemux will switch pads if it wants to use a new bitrate, causing new pads to be exposed that need to be handled by the application. gst-launch doesn't handle this case as it will only link the first pads that appear. Playbin can play as it will handle all pads at any time during the stream.