The mpeg stat program can be used to display statistics for video streams. Use it to determine, for several streams:
(a) number and sequence of I, B, and P frames
(b) average compression rate for the entire video
(c) average compression rate for each type of frame