<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 10/15/2013 7:34 AM, James Board
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1381847684.44351.YahooMailNeo@web164704.mail.gq1.yahoo.com"
      type="cite">
      <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>
        </div>
      </div>
    </blockquote>
    best_effort implies a guess. There is no guessing for an avi file.
    its uses a static frame rate whether or not there is actual video
    for that frame. The largest timestamp in the file would be total
    number of vid frames times the frame duration. <br>
    <br>
    <br>
    <blockquote
      cite="mid:1381847684.44351.YahooMailNeo@web164704.mail.gq1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:12pt">
        <div style="display: block;" class="yahoo_quoted"> <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
                  <a class="moz-txt-link-rfc2396E" href="mailto:bowljoman@gmail.com"><bowljoman@gmail.com></a> 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" shape="rect"
                    ymailto="mailto:Libav-user@ffmpeg.org"
                    href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br
                    clear="none">
                  <a moz-do-not-send="true" 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>