<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/09/2014 01:26 PM, Nicolas
Dufresne wrote:<br>
</div>
<blockquote cite="mid:1399652767.15531.22.camel@mpb-nicolas"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="GENERATOR" content="GtkHTML/4.6.6">
Le vendredi 09 mai 2014 à 09:11 -0500, Chris Whittenburg a écrit :<br>
<blockquote type="CITE"> Is there anything wrong with this
method? Is there a better method? I ready about querying
latency, but that seems to be worse case latency, not the value
at a given instance.<br>
</blockquote>
<br>
I think the effective latency between A and B, is the difference
between the time of the buffer the comes in A, and the one going
out of B. If B is a sink, you can just convert you buffer time
into stream time, and query the position from the sink. Though I
never got into testing that idea.<br>
</blockquote>
<br>
You can also use GST_DEBUG=GST_SCHEDULING:6 and look at the time
that buffers reach the sink pads of elements and do the differences.<br>
<br>
<blockquote cite="mid:1399652767.15531.22.camel@mpb-nicolas"
type="cite">
<br>
Nicolas<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley</pre>
</body>
</html>