Getting sample rate / sample format/ channels cound of playbin in python

Pavel Hofman pavel.hofman at ivitera.com
Wed Dec 6 22:16:25 UTC 2017


Hello,

I am sorry for this very likely simple question yet I could not find any 
example of this.

Please how can rate/channels information be read in python from the 
playbin element? I found the "get-audio-pad" signal of playbin which 
likely provides these capabilities but how can I get the pad from the 
"playbin" element in python (gstreamer 1.0, Gst)?

I very much appreciate any help. Thank you.

Best regards,

Pavel.


More information about the gstreamer-devel mailing list