How to recognize if a stream contains both video and audio OR contains just one of them

Baby Octopus jagadishkamathk at gmail.com
Wed Sep 14 14:36:53 UTC 2016


You can attach decodebin after hlsdemux and wait for the callback. You will
get callback such as "pad-added" signal which will tell you the caps of
decoded media

Alternatively, see if gst-discoverer helps you



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-recognize-if-a-stream-contains-both-video-and-audio-OR-contains-just-one-of-them-tp4679587p4679591.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list