[Libav-user] VFR and CFR and libav

Paul B Mahol onemda at gmail.com
Fri Sep 6 20:17:58 CEST 2013


On 9/6/13, James Board <jpboard2 at yahoo.com> wrote:
> Let's say I have an input video (AVI format) that is vfr, and I write
> a libav application that steps through each frame in the video and
> does something: maybe I write that frame to a file on disk.  Will
> I have vfr-problems where the libav is duplicating frames, or removing
> frames (behind the scenes) in order to make it CFR?  Does libav
> do things like that?  If so, can I turn it off?

When using libs you are on your own. The VFR/CFR comes with ffmpeg tool.

>
> Also, and this probably isn't a libav question, but how can I tell
> if my input AVI file is vfr or cfr?

By looking at frame timestamps.


More information about the Libav-user mailing list