<div dir="ltr"><div><div>Thank you Nicolas. My issue was I had not taken into consideration the segment event. Thank you to Sebastian for pointing me to the segment running time function.<br><br></div>I used a pad probe on my sink to capture the segment event and now when I apply the segment information and the sink latency to the buffer timestamp I can see that it does (within milliseconds) match the clock time.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 December 2015 at 14:44, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le dimanche 06 décembre 2015 à 11:17 +0000, David Jaggard a écrit :<br>
> The timestamp of the first buffer to enter the x264enc is 5182ms. The<br>
> timestamp of the first buffer to leave is 3600000000ms. Subsequent<br>
> buffers increase monotonically from there. Given the clock time at<br>
> this point was around 6400ms how does the sink (multiudpsink in this<br>
> case) know when to 'display' this?<br>
><br>
> Incidentally the latency at the sink was 1220ms and post buffer<br>
> timestamp - 3600000000ms + 5182ms + 1220ms = ~6400ms (the clock<br>
> time).<br>
<br>
Timestamp are not measure of clock time. x264enc push forward the<br>
timestamp to avoid negative values. These values are pushed forward in<br>
a way that they are readable when printed with GST_FORMAT_TIME macros.<br>
<br>
The sink will convert those timestamp to running time (and then to<br>
clock time) in order to compare information that do correlate.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nicolas</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>