Audioresample Latency changes after the first use in pipeline.

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

Audioresample Latency changes after the first use in pipeline.

zeid
I am resampling audio from 8kHz to 48kHz, first time i get additional latency
from audioresample by 4ms next time i try to resample i get 0.
Why? is there anything wrong with audioresample or its meant to increase
latency first time then decrease latency?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Audioresample Latency changes after the first use in pipeline.

Nicolas Dufresne-5
Le mercredi 18 septembre 2019 à 07:25 -0500, zeid a écrit :
> I am resampling audio from 8kHz to 48kHz, first time i get additional latency
> from audioresample by 4ms next time i try to resample i get 0.
> Why? is there anything wrong with audioresample or its meant to increase
> latency first time then decrease latency?

Seems like a renegotiation bug. This is interesting fact. Same format,
number of channel and rate should yield the same latency. Do you mind
filing an issue on gitlab.freedesktop.org/gstreamer/gst-plugins-base
and providing a short program to reproduce ? Btw, the reported latency
is can be traced using the latency tracer upstream, so it should be
easy to catch.

$> GST_TRACERS=latency\(flags=reported\) GST_DEBUG=GST_TRACER:7 ./my-app 2> gst.log
$> gst-stats-1.0 gst.log

Nicolas

>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment