Audiomixer clicks with live source

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Audiomixer clicks with live source

paul.goulpie
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
 
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é
Reply | Threaded
Open this post in threaded view
|

Re: Audiomixer clicks with live source

Nicolas Dufresne-5
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é
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment