<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/12/2013 12:52 PM, James Board
wrote:<br>
</div>
<blockquote
cite="mid:1381607571.67218.YahooMailNeo@web164705.mail.gq1.yahoo.com"
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>
</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>
An AVI container should specify a frame rate, and the time stamp is
always 1/framerate * total_frames_read there abouts...<br>
<br>
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>
<br>
Andy<br>
</body>
</html>