This post was updated on .
Hi all,
I need to mix two asynchronous audio sources and I tried to use "adder" and "liveadder". The first is ok, but works only when both sources are streaming. The second works well even if one of the sources is not streaming, but the output is very noisy. Do you know why "liveadder" has this problem? This is the pipeline gst-launch-1.0 liveadder name=mix mix. ! tee name=t \ t. ! queue ! autoaudiosink \ t. ! queue ! voaacenc ! aacparse ! rtpmp4apay pt=97 ! udpsink multicast-iface=eth0 host=239.0.0.12 port=16002 ttl-mc=128 \ audiotestsrc wave=4 is-live=1 do-timestamp=true ! queue ! mix. \ udpsrc port=5555 ! "application/x-rtp,media=audio,clock-rate=44100,width=16,height=16,encoding-name=L16,encoding-params=1,channels=1,payload=11" ! rtpL16depay ! audioconvert ! queue ! mix. Thank you Walter
Walter Lucetti
www.myzhar.com |
Hi,
"liveadder" is deprecated, you want to use "audiomixer" in GStreamer 1.8 or 1.10 with the latency property set to something bigger than 0. If the output of liveadder is too noisy, you can try increasing the latency property. Olivier On Fri, 2017-03-03 at 08:07 -0800, Myzhar wrote: > Hi all, > > I need to mix two asynchronous audio sources and I tried to use > "adder" and > "liveadder". > > The first is ok, but works only when both sources are streaming. > The second works well even if one of the sources is not streaming, > but the > output is very noisy. > > Do you know why "liveadder" has this problem? > > Thank you > Walter > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble > .com/adder-vs-liveadder-mixing-two-async-streams-tp4682088.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Olivier Crête [hidden email] _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Olivier, I tried the same pipeline on Windows with GStreamer 1.9.90 and I get no noise. The problems are on an Nvidia Jetson TK1 with GStreamer from apt-get that is 1.2.x (if I'm not wrong). Can you suggest my any guide to compile GStreamer from source for ARM? PS I tried with the latency parameter, but without success. Thank you Walter 2017-03-04 2:43 GMT+01:00 Olivier Crête-3 [via GStreamer-devel] <[hidden email]>: Hi,
Walter Lucetti
www.myzhar.com |
Free forum by Nabble | Edit this page |