<div dir="ltr"><br>Hello everybody,<br><br><br>I wanna investigate latency issues in my pipeline!<br><br>I found that using Tracers should be the way to go with `latencytracer`, but ... <br>I couldn't find any example except using it in `gst-launch-1.0`<br><br><div><pre style="box-sizing:border-box;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857;word-break:break-all;color:rgb(51,51,51);background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-radius:0px"><code style="box-sizing:border-box;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;padding:0px;color:inherit;background-color:transparent;border-radius:0px;white-space:pre-wrap">GST_DEBUG="GST_TRACER:7" GST_TRACERS=latency(flags=element)</code></pre><b><font size="4">How would I enable it in a python script? </font></b> 🤷‍♂️<br><br><pre style="box-sizing:border-box;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857;word-break:break-all;color:rgb(51,51,51);background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-radius:0px"><code style="box-sizing:border-box;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;padding:0px;color:inherit;background-color:transparent;border-radius:0px;white-space:pre-wrap">GST_TRACERS=latency(flags=element)</code></pre><b></b><br>Finding a way for debugging wasn't that easy starting from zero.<br><br><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><div>Gst.debug_set_active(<span style="color:rgb(86,156,214)">True</span>)</div><div><span style="color:rgb(106,153,85)">#Gst.debug_set_default_threshold(4)</span></div><div><span style="color:rgb(106,153,85)">#Gst.debug_set_threshold_for_name('test*', Gst.DebugLevel.TRACE  )</span></div><div><span style="color:rgb(106,153,85)">#Gst.debug_set_threshold_for_name("qt*", 5)</span></div></div><br></div><div>But how would I trace the latency for each Element in the current pipe during runtime, in python?<br><br>Thank you in advance.<br><br>Michael</div><div><br></div><div><br></div></div>