<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Le lundi 25 mars 2019 à 23:25 +0530, Saurabh Bora a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">Ah..My Bad!!<div>Thanks for pointing it out Nicolas. I was able to see GST_TRACER logs</div><div><br></div><div>Actually, I am working on finding out latency for different elements in a live gstreamer pipeline which looks something like below:</div><div>v4l2src ! videoconvert ! vp8enc ! webrtcbin</div></div></blockquote><div><br></div><div>I'd be really happy if you give a try on what m y Colleague and I have been working on for a while. It's a enhancement of the latency trace to add per-element effective latency and also reported latency. With that you should be able to see if an element is using more latency when it's max reported latency allow. Meanwhile, I can give you a hint, vp8enc has variable latency, unless you set the dealine= property. That assumes you're CPU is fast enough.</div><div><br></div><div><a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/118">https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/118</a></div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>As I am expecting to see output on the browser, I also need to find out end to end latency, from source(live camera feed) to destination(web browser). I believe enabling the environment variables would not suffice in this scenario.</div></div></blockquote><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks and Regards,</div><div>Saurabh Bora</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 25, 2019, 22:49 Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">Le lundi 25 mars 2019 à 22:16 +0530, Saurabh Bora a écrit :<br>
> Hi, <br>
> <br>
> I followed the link <a href="https://gstreamer.freedesktop.org/documentation/design/tracing.html#print-processing-latencies" rel="noreferrer noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/design/tracing.html#print-processing-latencies</a>, set the environment variables and ran the pipeline as follows:<br>
> //--------------------------------------------------------------------------------------------------------------------------------<br>
> export GST_DEBUG="GST_TRACERS:7"<br>
<br>
I'm sorry for this, but there is no S to that debug section (/o\)<br>
<br>
> export GST_TRACERS=latency<br>
> gst-launch-1.0 audiotestsrc num-buffers=10 ! audioconvert ! volume volume=0.7 ! autoaudiosink<br>
> <br>
> Output:<br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is PREROLLING ...<br>
> Redistribute latency...<br>
> Pipeline is PREROLLED ...<br>
> Setting pipeline to PLAYING ...<br>
> New clock: GstAudioSinkClock<br>
> Got EOS from element "pipeline0".<br>
> Execution ended after 0:00:00.237344143<br>
> Setting pipeline to PAUSED ...<br>
> Setting pipeline to READY ...<br>
> Setting pipeline to NULL ...<br>
> Freeing pipeline ...<br>
> //----------------------------------------------------------------------------------------------<br>
> <br>
> The above output is exactly the same as the output that I get when environment variables are not set.<br>
> Am I missing something here? What output must I expect?<br>
> <br>
> Help Appreciated...<br>
> <br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>
</blockquote></body></html>