ALSA dsnoop causes issue with GStreamer video

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


Le sam. 24 avr. 2021 21 h 45, StreaminBaby via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> 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
latency.


>
> Thanks for all that you do!
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> 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/20210425/de494b7b/attachment.htm>


More information about the gstreamer-devel mailing list