简体   繁体   English

gstreamer管道混合两个音频源

[英]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. 我想在gstreamer中创建一个管道,该管道将具有两个音频源,并将音频与某些缩放因子混合,并通过输出数据传输到alsasink。 I have seen the example of "adder" but am not sure if adder can be used with multiple filesrc. 我已经看到了“ adder”的示例,但是不确定adder是否可以与多个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 :) 祝你今天愉快 :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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