<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yes they are.</p>
<p>You can also use gst-stats-1.0 to parse the generated log file
and get some stats/metrics about the latency.</p>
<div class="moz-cite-prefix">On 26/05/2019 19:06, Damian Vicino
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMMGxOxZ-KF2unusN=SyA+nsivgRh5Q_02q1n4YjQruLBMKTqA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Thanks Nicolas,
<div>Those latencies are reported in nanoseconds, right?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, May 25, 2019 at 6:39
PM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca"
moz-do-not-send="true">nicolas@ndufresne.ca</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le
vendredi 24 mai 2019 à 11:31 -0400, Damian Vicino a écrit :<br>
> Hi, <br>
> I found documentation on how to enable the GStreamer
latency tracer exporting variables from the shell as follows:<br>
> <br>
> export GST_TRACERS=latency<br>
> export GST_DEBUG="GST_TRACER:7"<br>
> <br>
> As showed here <a
href="https://gstreamer.freedesktop.org/documentation/design/tracing.html?gi-language=c#print-reported-latencies-for-each-element"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://gstreamer.freedesktop.org/documentation/design/tracing.html?gi-language=c#print-reported-latencies-for-each-element</a><br>
> <br>
> I got log lines as the following one:<br>
> 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<br>
> <br>
> I couldn't find documentation of that are the meaning of
the different parts of that log line.<br>
> <br>
> Can someone point me to the right documentation or help
me understand what I'm reading there?<br>
<br>
Per tracer documentation is a bit of a work in progress.
Here's a quick<br>
guide:<br>
src/sink: Name of the pad (this has been changed in newer
GStreamer)<br>
time: That's the actual amount of time it too to process one
buffer<br>
ts: That's when was this latency reported, should mostly
match<br>
<br>
> <br>
> Best regards, <br>
> Damian<br>
> <br>
> <br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br>
> <a
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br>
<a
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
</body>
</html>