Answers

Average bit-rate is nothing more than file_size / duration (* 8 for bits). For more detailed statistics is needs to get information from the file header, but AVI doesn't store this information.

The only other option is to "play out" the entire file and watch the size of the compressed samples with a Sample Grabber. You still have to do some short duration averaging because key frames are large and infrequent (1 to 8 seconds typically).

All replies

Average bit-rate is nothing more than file_size / duration (* 8 for bits). For more detailed statistics is needs to get information from the file header, but AVI doesn't store this information.

The only other option is to "play out" the entire file and watch the size of the compressed samples with a Sample Grabber. You still have to do some short duration averaging because key frames are large and infrequent (1 to 8 seconds typically).