简体   繁体   中英

How to calculate size per minute of MP4 file(MPEG4,H.264)?

I've a .MP4 file. I know MP4 file has some attributes such as: general bitrate,file size. Video: Max bitrate,min bitrate,avg bitrate,size Audio: Max bitrate,min bitrate,avg bitrate,size I want to get the size(or maximum size) per minutes from above attributes. Can anyone help me?

Thank so much

If the average bitrate is in bits per second (I think it is?), then you can get the "size per minute" like this:

 sizePerMin = 60 * avgBitRate

Which will be the size per minute in bits. You can do similar for the max and min size per minute.

Here is an online video-file-size calculator, you can specify your settings, and run it:

http://www.dr-lex.be/info-stuff/videocalc.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM