[Libav-user] How to determine the largest best_effort_timestamp?

Andy Shaules bowljoman at gmail.com
Sun Oct 13 20:20:52 CEST 2013


On 10/12/2013 12:52 PM, James Board wrote:
> In a C program with libav, how can I determine what is the largest 
> best_effort_timestamp
> for my input video file, which is AVI container and compressed with 
> ffvhuff?
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
An AVI container should specify a frame rate, and the time stamp is 
always 1/framerate * total_frames_read  there abouts...

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.

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131013/821b4ac4/attachment.html>


More information about the Libav-user mailing list