How do I get libav to tell me the fps for an input file? Currently, I'm
using:
double fps =
av_q2d(inputFormatCtx->streams[videoStreamIndex]->r_frame_rate);
but it seems to be an unreliable way to get it. Windows Media Video files
report 1000fps, certain mpeg videos report double their own fps, etc...
Am I missing something obvious?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to