Trying to understand the latency tracer
Guillaume Desmottes
guillaume.desmottes at collabora.com
Tue May 28 09:06:42 UTC 2019
Yes they are.
You can also use gst-stats-1.0 to parse the generated log file and get
some stats/metrics about the latency.
On 26/05/2019 19:06, Damian Vicino wrote:
> Thanks Nicolas,
> Those latencies are reported in nanoseconds, right?
>
> On Sat, May 25, 2019 at 6:39 PM Nicolas Dufresne <nicolas at ndufresne.ca
> <mailto:nicolas at ndufresne.ca>> wrote:
>
> Le vendredi 24 mai 2019 à 11:31 -0400, Damian Vicino a écrit :
> > Hi,
> > I found documentation on how to enable the GStreamer latency
> tracer exporting variables from the shell as follows:
> >
> > export GST_TRACERS=latency
> > export GST_DEBUG="GST_TRACER:7"
> >
> > As showed here
> https://gstreamer.freedesktop.org/documentation/design/tracing.html?gi-language=c#print-reported-latencies-for-each-element
> >
> > I got log lines as the following one:
> > 0:35:08.123456789 362 0x7f434c00fd40 TRACE GST_TRACER
> :0:: latency, src=(string)nicesrc4_src,
> sink=(string)nicesink2_sink, time=(guint64)123456789,
> ts=(guint64)1234567890123
> >
> > I couldn't find documentation of that are the meaning of the
> different parts of that log line.
> >
> > Can someone point me to the right documentation or help me
> understand what I'm reading there?
>
> Per tracer documentation is a bit of a work in progress. Here's a
> quick
> guide:
> src/sink: Name of the pad (this has been changed in newer GStreamer)
> time: That's the actual amount of time it too to process one buffer
> ts: That's when was this latency reported, should mostly match
>
> >
> > Best regards,
> > Damian
> >
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> 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/20190528/41dcef60/attachment-0001.html>
More information about the gstreamer-devel
mailing list