<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><br>>An AVI container should specify a frame rate, and the time stamp is
    always 1/framerate * >total_frames_read  there abouts...</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">That doesn't tell me the exact largest best_effort_timestamp.  Can I determine the</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"> largest best_effort_timestamp exactly?  Would this be easier with a file container other</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
 background-color: transparent; font-style: normal;">than AVI?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, October 13, 2013 2:20 PM, Andy Shaules <bowljoman@gmail.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv3325210929"><div>
    <div class="yiv3325210929yqt1359805345" id="yiv3325210929yqt52091"><div class="yiv3325210929moz-cite-prefix">On 10/12/2013 12:52 PM, James Board
      wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;">
        <div>In a C program with libav, how can I determine what is the
          largest best_effort_timestamp</div>
        <div>for my input video file, which is AVI container and
          compressed with ffvhuff?</div>
        <div><br clear="none">
        </div>
      </div>
      <br clear="none">
      <fieldset class="yiv3325210929mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
Libav-user mailing list
<a rel="nofollow" shape="rect" class="yiv3325210929moz-txt-link-abbreviated" ymailto="mailto:Libav-user@ffmpeg.org" target="_blank" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a rel="nofollow" shape="rect" class="yiv3325210929moz-txt-link-freetext" target="_blank" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
    </blockquote></div>
    An AVI container should specify a frame rate, and the time stamp is
    always 1/framerate * total_frames_read  there abouts...<br clear="none">
    <br clear="none">
    If the length of the video payload is zero, then count that as a
    dropped encoder frame, and increment the total_frames_read for it,
    continue.<br clear="none">
    <br clear="none">
    Andy<br clear="none">
  </div></div><br><div class="yqt1359805345" id="yqt12796">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>