Measuring pipeline latency
Daniel Rossi
electroteque at gmail.com
Wed Aug 21 04:07:20 UTC 2019
i'm also looking to use python bindings. I think they want to make
async calls to obtain this information and not on stdout ?
------ Original Message ------
From: "Guillaume Desmottes" <guillaume.desmottes at collabora.com>
To: gstreamer-devel at lists.freedesktop.org
Sent: 8/21/2019 1:52:24 PM
Subject: Re: Measuring pipeline latency
>Hi,
>
>This is exactly what the latency tracer is for. It can provide the
>pipeline latency (sink to source), per element latency and the
>announced latency (from the LATENCY query).
>
>See this example about how to use it:
>https://gstreamer.freedesktop.org/documentation/additional/design/tracing.html?gi-language=c#print-all-type-of-latencies-for-a-pipeline
>
>And some doc in its source file:
>https://gitlab.freedesktop.org/gstreamer/gstreamer/blob/master/plugins/tracers/gstlatency.c#L21
>
>On 21/08/2019 00:45, pisymbol . wrote:
>>I have Googled this topic extensively but I still don't have a clear
>>answer yet.
>>
>>I can use the "identity" function to try to come up with something
>>adhoc but I see there is a "latency" plugin with almost zero doc. Can
>>one use that to measure latency between source and sink? Another topic
>>that comes up is the ability to query latency via the GstQuery object.
>>But I couldn't find a real example and I'm not sure how ones uses it!?
>>
>>I'm trying to measure two things:
>>
>>1) Latency between one or more elements in my pipeline
>>
>>2) Latency across my entire pipeline
>>
>>I'm doing this in Python. What are the best practices here?
>>
>>Thanks!
>>
>>-aps
>>
>>
>>
>>_______________________________________________
>>gstreamer-devel mailing list
>>gstreamer-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190821/0983e358/attachment-0001.html>
More information about the gstreamer-devel
mailing list