The Bird
The Bird

Reputation: 407

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

Upvotes: 0

Views: 22065

Answers (2)

VincentZHANG
VincentZHANG

Reputation: 787

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

Upvotes: 1

joshuahealy
joshuahealy

Reputation: 3569

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.

Upvotes: 1

Related Questions