how to add two audio pads(or caps) to a gstreamer pipeline

cfd new newcfd at yahoo.com
Thu Aug 3 14:43:03 UTC 2023


I build a pipeline with decodebin to play video files. Video pad and audio pads are added dynamically. I noticed that there are two audio caps 
1. "audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003" 
2. "audio/x-raw, format=(string)F32LE, layout=(string)non-interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f"
How do I add these caps to the audio sink bin part?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230803/ff5d7321/attachment.htm>


More information about the gstreamer-devel mailing list