title: How to get number of I/P/B frames of a video file?
body: <p>I want to extract information of a video file to get the count of its I/P/B frames. How to do it in ffmpeg? Or should I programming using libavformat and libavcodec to do it? Many thanks!</p>