ALSA dsnoop causes issue with GStreamer video

Nicolas Dufresne nicolas at
Sun Apr 25 13:16:56 UTC 2021

Le sam. 24 avr. 2021 21 h 45, StreaminBaby via gstreamer-devel <
gstreamer-devel at> a écrit :

> Thank you for the extremely helpful response!
> Editing the alsasrc line to:
>     alsasrc device=plug:myTest provide-clock=false \
> was exactly what I needed!
> One minor side effect of this approach is that, as expected, the audio is
> out of sync with the video by about 0.5 seconds. Do you have any
> suggestions
> on getting the two to sync up a little better or is this just one of the
> inevitable tradeoffs when trying to use a dsnoop device with gstreamer? For
> my application, this asynchronicity is manageable, but just curious if you
> have any pointers.

Most libalsa Plugins are terrible in providing feedback about their
introduced latency. Best you can do is to reduce your audio patch latency.
Try and reduce the buffer-time in alsasrc (as it's tied to the allowed
drift, and same for the playback is any, as it's tied to the reported

> Thanks for all that you do!
> --
> Sent from:
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list