sam*_*sam 6 python ubuntu audio-streaming gstreamer-1.0
使用GStreamer(gst-launch1.0),我正在复用两个流
但是问题是音频输出的质量不好。声音失真。
我需要您的帮助来提高音频质量,这是我的gstreamer命令,带有参数:
以下是我用于多路复用两个流的命令:
gst-launch-1.0 -v udpsrc name='src1' caps="application/x-rtp" port= !
rtppcmudepay ! mulawdec ! audioconvert ! audioresample ! mix. udpsrc
name='src2' caps="application/x-rtp" port= ! rtppcmudepay ! mulawdec !
audioconvert ! audioresample ! mix. audiomixer name=mix start-time-selection=1
! audioresample ! alawenc ! flvmux name=mux ! rtmpsink location=rtmp:server_ip
Run Code Online (Sandbox Code Playgroud)以下是我用来提高音频质量的插件:
audiochebband mode=band-pass lower-frequency= upper-frequency= type=2 !
audioamplify amplification=0.5 clipping-method=wrap-positive
Run Code Online (Sandbox Code Playgroud)但是此插件也无法提高音频流的质量。
如果您能帮助我获得多路复用后的高质量音频输出,我将不胜感激。
归档时间: |
|
查看次数: |
80 次 |
最近记录: |