<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">When pipeline is going to “PLAYING” state, all sink elements query latency of upstream elements.</div><div class="">The total latency is considered in sink elements.</div><div class="">All elements that receives latency query shall report their latencies for sink elements.</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--</div><div class="">Yi-Lung (Bruce) Tsai</div><div class=""><a href="mailto:wagamama.tsai@gmail.com" class="">wagamama.tsai@gmail.com</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 4, 2017, at 3:31 PM, Baby Octopus <<a href="mailto:jagadishkamathk@gmail.com" class="">jagadishkamathk@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">Was wondering if there is a need to handle compute latency in gstreamer for<br class="">synchronization. I went through the basesink code basesink_do_sync() to see<br class="">if the computational(processing) latency is handled but it doesn't seem to<br class=""><br class="">Say for example A, B, C D are video filters and each take 10ms to process a<br class="">video frame for 1920x1980, on certain machine. We have a pipeline<br class=""><br class="">capture ! A ! B ! C ! D ! render<br class=""><br class="">None of the elements have buffering, hence each of them report a latency of<br class="">0ms. The pipeline itself will have 0ms latency, but the buffer would reach<br class="">the sink 40ms late, and it can be dropped if QOS is enabled<br class=""><br class="">So my question is if some averaging algorithm needs to be implemented in<br class="">basesink to take care of this?<br class=""><br class="">~BO<br class=""><br class=""><br class=""><br class="">--<br class="">View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Compensating-compute-latency-tp4682919.html" class="">http://gstreamer-devel.966125.n4.nabble.com/Compensating-compute-latency-tp4682919.html</a><br class="">Sent from the GStreamer-devel mailing list archive at <a href="http://nabble.com" class="">Nabble.com</a>.<br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></div></blockquote></div><br class=""></div></body></html>