Trying to understand the latency tracer

Nicolas Dufresne nicolas at ndufresne.ca
Sat May 25 22:39:06 UTC 2019


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
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190526/f9793549/attachment.sig>


More information about the gstreamer-devel mailing list