<div dir="ltr"><div>Hi BO</div><div><br></div><div>I included the sync for udpsink and do-timestamp for filesrc.</div><div><br></div>Always with the same values, difference zero, as below (for a 3840x2160 raw file). What makes sense with the zero given by the query.<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>basesink gstbasesink.c:2547:gst_base_sink_do_sync:<enc_tx_sink> possibly waiting for clock to reach 0:00:00.240000000, adjusted 0:00:00.240000000</i></div></blockquote><div><br></div><div>My pipeline is filesrc/videoparse/x264enc/rtph264pay/udpsink.</div><div><br></div><div>Another way may solve my problem, if I can print the timestamps for the first buffer processed by the source and the sink. Maybe not the ideal measure point, but probably suits my need.</div><div><br></div><div>Still trying to figure it out here ;-)</div><div><br></div><div>Thanks!</div><div><br></div><div>[]s</div><div>Rafael</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 March 2018 at 19:17, Baby Octopus <span dir="ltr"><<a href="mailto:jagadishkamathk@gmail.com" target="_blank">jagadishkamathk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you have sync=1 set for the sink element? Latency isn't applicable if the<br>
pipeline is not synced<br>
<br>
Easiest way to check latency is the do --gst-debug=basesink:5, and look for<br>
message something like "Possibly waiting for the clock". It should two<br>
timings, current and adjusted. Difference should give you the latency(min<br>
latency)<br>
<div class="HOEnZb"><div class="h5"><br>
~BO<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div>