Hi all,

I want to retrieve video frame count of a local media file.
What is the most reliable and fast way?

I'm currently using AVStream::nb_frames, but sometimes it is zero.
One possible way is to decode whole file and count successfull frames, but
it will be too slow.

I don't consider streaming video.

Thanks


-- 
Daisuke Nishino
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to