Opposite of "tee" or a way to merge two audio sources?
Mathieu Duponchelle
mathieu at centricular.com
Fri Feb 15 23:33:11 UTC 2019
It's not completely clear why you would want to merge the two audio sources in order to
switch between them, but you could use "audiomixer" or "input-selector", depending on
your use case. Strictly speaking, the opposite of a tee is a "funnel", but I doubt that is what
you're looking for here.
On 2/16/19 12:25 AM, Jayesh Dalal via gstreamer-devel wrote:
> Hello,
>
> I've a pipeline which is reading from mic and sending audio information to a server:
> gst-launch-1.0 alsasrc! audioconvert ! vorbisenc ! oggmux ! shout2send mount=/stream.ogg port=8000 ip=localhost
>
> That works great, however when there is no sound coming from the mic, I need to pipe a static file.
>
> I can use cutter element (https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-cutter.html) to detect silence, but how do I change the pipe to read from a file "uridecodebin uri=file:///path/to/audiofile" during silence and back to mic when it detects some audio?
>
> Is there an element that is a reverse of a "tee" element which will allow me to merge two audio sources?
>
> Thanks in advance.
>
> Jayesh
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190216/78255b5b/attachment.html>
More information about the gstreamer-devel
mailing list