<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 01/24/2012 03:49 PM, Bruno Gonzalez wrote:
    <blockquote
cite="mid:CAORBtqwBi+v45QkL67C8O0wm7D5d9ootkCQDyyM6e=WFLz03iA@mail.gmail.com"
      type="cite"><span class="Apple-style-span" style="">Hi,</span><br
        style="">
      <br style="">
      <span class="Apple-style-span" style="">I have a server-client
        video streaming using gstreamer and RTP. So basically:</span><br
        style="">
      <span class="Apple-style-span" style="">[source storage] --&gt;
        [server] ---------&gt; [client] --&gt; [frames rendered</span><br
        style="">
      <span class="Apple-style-span" style="">on screen]</span><br
        style="">
      <br style="">
      <span class="Apple-style-span" style="">Is there any way to know,
        for each rendered frame, what was the</span><br style="">
      <span class="Apple-style-span" style="">original playing time in
        the video source of the server?</span><br style="">
      <br style="">
      <span class="Apple-style-span" style="">For example.</span><br
        style="">
      <span class="Apple-style-span" style=""> - At 10 fps, after 30
        seconds of playing, the "playing time" would be</span><br
        style="">
      <span class="Apple-style-span" style="">300.0 seconds.</span><br
        style="">
      <span class="Apple-style-span" style=""> - But if the network is
        slow, the playing time could very well be</span><br style="">
      <span class="Apple-style-span" style="">only 276.4 seconds.</span><br
        style="">
      <span class="Apple-style-span" style=""> - Or maybe some frames
        could be lost if using UDP.</span><br style="">
      <span class="Apple-style-span" style=""> - Also, if the source
        storage has variable framerate, I cannot use</span><br style="">
      <span class="Apple-style-span" style="">"10fps" or any other
        average fps for any calculations.</span><br style="">
    </blockquote>
    <br>
    video is synchronized to the clock. That is after 30 sec of playing
    time the video is more or less at 30s. If the network is slow, it is
    likely that some frames have been skipped.<br>
    <br>
    Stefan<br>
    <br>
    <blockquote
cite="mid:CAORBtqwBi+v45QkL67C8O0wm7D5d9ootkCQDyyM6e=WFLz03iA@mail.gmail.com"
      type="cite">
      <br style="">
      <span class="Apple-style-span" style="">How could this be
        achieved?</span><br style="">
      <br style="">
      <span class="Apple-style-span" style="">Thanks!</span><br
        clear="all">
      <div><br>
      </div>
      -- <br>
      Saludos,<br>
           Bruno González<br>
      <br>
      _______________________________________________<br>
      Jabber: stenyak AT <a moz-do-not-send="true"
        href="http://gmail.com" target="_blank">gmail.com</a><br>
      <a moz-do-not-send="true" href="http://www.stenyak.com"
        target="_blank">http://www.stenyak.com</a><br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
  </body>
</html>