[Libav-user] VFR and CFR and libav

Robert Krüger krueger at lesspain.de
Sat Sep 7 17:20:15 CEST 2013


On Fri, Sep 6, 2013 at 8:26 PM, James Board <jpboard2 at yahoo.com> wrote:
>>
>>When using libs you are on your own. The VFR/CFR comes with ffmpeg tool.
> So it sounds like what yo're saying is that with the libs, I won't have the
> same issues with the ffmpeg feature where it duplicated input frames in
> order to meet some unspecified constant frame rate?  With the libs, when
> I ask for frame N, they will return the N-th video frame, exactly.  Is that
> correct?

Yes but you don't ask for the n-th frame but feed the decoder packet
after packet and get one decoded frame after the other in display
order but maybe that is what you meant. If you don't care about the
timestamps (e.g. when you just want to dump every frame) you can
ignore them.

>
> That is what I prefer.  Coding things in libav might be the best
> way for me to get the behavior I want, and learn how all these things
> work.
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>


More information about the Libav-user mailing list