Audiomixer clicks with live source

Nicolas Dufresne nicolas at ndufresne.ca
Mon Feb 20 19:33:40 UTC 2017


Le lundi 20 février 2017 à 02:45 -0800, paul.goulpie a écrit :
> Hello,
>  
> When I try to use the Audiomixer plugin with several live sources, I
> hear
> clicks on the audio output.
> Example with the following command line:
> gst-launch-1.0 \
> audiotestsrc freq=440 is-live=true ! volume ! audiomixer0. \
> audiotestsrc freq=450 is-live=true ! volume ! audiomixer0. \
> audiotestsrc freq=460 is-live=true ! volume ! audiomixer0. \
> audiotestsrc freq=470 is-live=true ! volume ! audiomixer0. \
> audiotestsrc freq=480 is-live=true ! volume ! audiomixer0. \
> audiomixer ! volume ! tee \
> tee0. ! queue ! alsasink

You should try to increase the "latency" and possibly the output-
buffer-duration. The latency will increase the mixer buffering while
the output-buffer-duration will reduce the load. The defaults are meant
for non-live.

>  
> Clicks are noticeable.
>  
> With the following command line:
> gst-launch-1.0 \
> audiotestsrc freq=440 ! volume ! audiomixer0. \
> audiotestsrc freq=450 ! volume ! audiomixer0. \
> audiotestsrc freq=460 ! volume ! audiomixer0. \
> audiotestsrc freq=470 ! volume ! audiomixer0. \
> audiotestsrc freq=480 ! volume ! audiomixer0. \
> audiomixer ! volume ! tee \
> tee0. ! queue ! alsasink
>  
> No perceptible clicks.
>  
> Would you have an idea, allowing me to use the plugin audiomixer with
> several live source without signal deterioration.
> Thank you in advance.
>  
> Paul Goulpié
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170220/1be4e7bb/attachment.sig>


More information about the gstreamer-devel mailing list