IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Calculate file size from bitrate and playtime
WaldoMonster
post Feb 21 2006, 19:39
Post #1





Group: Members
Posts: 234
Joined: 18-September 02
From: the Netherlands
Member No.: 3392



Is this calculation right?
I hope I didn't fucked up with switching bits and bytes wink.gif

Thanks for the help,

Willem


CODE
Bitrate 64 kbps
Playtime 5 min

64 kbps = 64000 bps

5 min = 5 x 60 = 300 sec

            64000
64000 bps = ----- bytes/sec
              8

64000 * 300                    2400000
----------- = 2400000 bytes = ----------- = 2.29 MB
     8                        1024 * 1024


--------------------
netjukebox - the flexible media share
http://www.netjukebox.nl
Go to the top of the page
+Quote Post
Madrigal
post Feb 21 2006, 20:51
Post #2





Group: Members
Posts: 344
Joined: 8-December 01
From: Indiana, U.S.A.
Member No.: 608



Try this.

Regards,
Madrigal
Go to the top of the page
+Quote Post
hybridfan
post Feb 21 2006, 21:17
Post #3





Group: Members
Posts: 160
Joined: 11-July 03
From: UK
Member No.: 7707



QUOTE (Madrigal @ Feb 21 2006, 11:51 AM)
Try this.

Regards,
Madrigal
*


Wow that's really neat but does not go up to 320kbps.


--------------------
:Foobar 2000:
:MPC --standard:
:iRiver H320 Rockboxed:
Go to the top of the page
+Quote Post
Alex B
post Feb 21 2006, 21:25
Post #4





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



QUOTE (WaldoMonster @ Feb 21 2006, 08:39 PM)
Is this calculation right?
*

It's correct.

Normally and usually a kilobit = 1,000 bits (e.g. when data transfers speeds are showed), but a kilobyte = 1,024 bytes (e.g. when file sizes are showed).

Only HD manufacturers have a bit different math. They think that 1 GB = 1,000,000,000 bytes and so on. I guess a bigger GB amount looks better. tongue.gif


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
WaldoMonster
post Feb 21 2006, 21:29
Post #5





Group: Members
Posts: 234
Joined: 18-September 02
From: the Netherlands
Member No.: 3392



Thanks for that tool smile.gif
This calculation is right for Bytes.

Mabe the tool is wrong regarding Bytes to KBytes, MBytes, etc...
It uses a factor 1000 I thought for storage they used a factor 1024,
exept for Hard Disk's because it looks better that way tongue.gif

<update>
Hello Alex B,

I think we typed it the same time wink.gif
</update>

This post has been edited by WaldoMonster: Feb 21 2006, 21:31


--------------------
netjukebox - the flexible media share
http://www.netjukebox.nl
Go to the top of the page
+Quote Post
Alex B
post Feb 21 2006, 21:41
Post #6





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



QUOTE (WaldoMonster @ Feb 21 2006, 10:29 PM)
Thanks for that tool  smile.gif
This calculation is right for Bytes.

Mabe the tool is wrong regarding Bytes to KBytes, MBytes, etc...
It uses a factor 1000 I thought for storage they used a factor 1024,
exept for Hard Disk's because it looks better that way tongue.gif

<update>
Hello Alex B,

I think we typed it the same time  wink.gif
</update>
*

Yeah, and that tool indeed shows incorrect KB, MB and GB values.

Also, the real 128 kbps 2min 30s files I have are almost exactly 2.3 MB. (I don't have 64 kbps files.)


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
kindofblue
post Feb 22 2006, 05:54
Post #7





Group: Members
Posts: 175
Joined: 16-January 03
Member No.: 4600



Very interesting. Thanks for this. I have a lot of 64kbps files (LAME -V9 -vbr-new), and I've been wondering about how to calculate filesizes as well. According to your formula, a -V9 encoded file (~64kbps) would take up 0.46MB per 1 minute of music, so an hour's worth would be 27.47MB. I'm trying to find out the maximum number of songs I can fit in a 1GB flash player with V9, V8 and V7.


--------------------
WavPack 4.31 / LAME 3.98 alpha 3 -V9 -vbr-new
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th August 2014 - 14:13