Thank you very much - that speeds things up enormously! It would seem, though, that for some formats (e.g. on my m2v files) this field is not populated? If you happen to know... is this a result of me badly converting mp4 to iframe only m2v using ffmpeg OR does m2v not have this information?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Klabnik Sent: 10 December 2008 18:38 To: Libav* user questions and discussions Subject: Re: [libav-user] How can I find the number of frames in a videofile? Check out AVStream::nb_frames<http://www.irisa.fr/texmex/people/dufouil/ffmpegdoxy /structAVStream.html#4382c3064df1c9eb232ac198dec067f9> . _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
