简体   繁体   中英

gstreamer pipeline to mix two audio source

I want to create a pipeline in gstreamer that will have two audio source and will mix the audios with some scaling factor and through the output data to alsasink. I have seen the example of "adder" but am not sure if adder can be used with multiple filesrc. I need your help in constructing this pipeline.

Of course it can !

Here's an example launch line to get you going :

gst-launch-1.0 uridecodebin uri=file:///home/meh/Music/Fonky\ Family-\ L\'amour\ Du\ Risque-MGvSx-foo3E.wav ! adder name = m ! autoaudiosink uridecodebin uri=file:///home/meh/Music/kendrick.wav ! audioconvert ! m.

Have a nice day :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM