Hi all, I want to use Gstreamer to receive audio streams from multiple points on the same port. Indeed I want to stream audio from different nodes on the network to one device that listen to incoming audio streams, and it should mix multiple audios before playback. I know that I should use 'audiomixer' or 'liveadder' to do such a task. But I can't do it, and the mixer doesn't act correctly and when two audio streams came, the output sound would be so noisy and corrupted. I used the following command : gst-launch-1.0.exe -v udpsrc port=5001 caps="application/x-rtp" ! queue ! rtppcmudepay ! mulawdec ! audiomixer name=mix mix. ! audioconvert ! audioresample ! autoaudiosink has anybody any solution to do this job??? Every guidance would be appreciated. Thanks all, Farzan Shojaee _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
On Wed, Aug 2, 2017 at 6:45 PM, Farzan Shojaee <[hidden email]> wrote: > > I want to use Gstreamer to receive audio streams from multiple points on the same port. > > Indeed I want to stream audio from different nodes on the network to one device that listen to incoming audio streams, and it should mix multiple audios before playback. > > I know that I should use 'audiomixer' or 'liveadder' to do such a task. > > But I can't do it, and the mixer doesn't act correctly and when two audio streams came, the output sound would be so noisy and corrupted. you can't do that. assign each port to each audio stream, receive each stream, then mix them with adder. Otherwise, your receiving data is interleaved at udp packet level. -- yashi _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Farzan Shojaee
Hi Ok, so could you please share the appropriate command to do that?? Because i faced some problems to do that. Sent from Samsung Mobile -------- Original message -------- From: Yasushi SHOJI <[hidden email]> Date:04/08/2017 06:03 (GMT+03:30) To: Discussion of the development of and with GStreamer <[hidden email]> Cc: Subject: Re: Audio Mixer Hi,
On Wed, Aug 2, 2017 at 6:45 PM, Farzan Shojaee <[hidden email]> wrote: > > I want to use Gstreamer to receive audio streams from multiple points on the same port. > > Indeed I want to stream audio from different nodes on the network to one device that listen to incoming audio streams, and it should mix multiple audios before playback. > > I know that I should use 'audiomixer' or 'liveadder' to do such a task. > > But I can't do it, and the mixer doesn't act correctly and when two audio streams came, the output sound would be so noisy and corrupted. you can't do that. assign each port to each audio stream, receive each stream, then mix them with adder. Otherwise, your receiving data is interleaved at udp packet level. -- yashi _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |