[Libav-user] How can AVFilter tell if input is CFR/VFR, and determine frame rate?

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 30 21:37:04 EEST 2017


2017-09-30 1:11 GMT+02:00 Richard Ling <richard.b.ling at gmail.com>:
> Hello,
>
> How can an AVFilter determine whether its input is VFR or CFR?

I may misunderstand your question but I don't think this
is possible in general:
Even if all frames so far have constant duration, the next
frame may not.

Carl Eugen


More information about the Libav-user mailing list