- MP3 calculate file size?
- Posted by Nicolas Tade on April 21st, 2006
Hi,
I am trying to calculate the file size of a recorded wav-file in mp3-format.
I know I can just multiply the total number of seconds with 128 Kbit/s. But
how do all the other factors fit in here, e.g. 44,100 KHz, 2 channel stereo,
....?
Is 128 Kbit/s actually composed of 44,100 KHz and 2 channels? I guess I
could also use 128 Kbit/s with 22 KHz, and the file size would be smaller.
So how can I calculate that with 22 KHz?
Thank you for every advice!
Nico
- Posted by fred-bloggs on April 21st, 2006
"Nicolas Tade" <NGinterest@gmx.net> wrote in
news:4aru2qFul0spU1@individual.net:
The number of channels and the sampling frequency are irrelevant.
The size in kbytes is 16 x duration in seconds.
--
fred
- Posted by Nicolas Tade on April 21st, 2006
So there is no change in the file size, if I use a 44.1 KHz signal insted of
22 KHz? Why is that?
16 x duration in seconds is no way the size of the final mp3 file. I used to
multiply duration with 128 KBit/s.
Nico
- Posted by fred-bloggs on April 21st, 2006
"Nicolas Tade" <NGinterest@gmx.net> wrote in
news:4asbi2Ftn3vtU1@individual.net:
Lossy compression, such as mp3, is about throwing bits away. To achieve
the same bit rate the encoder discards more bits from a 44.1 khz signal
than from a 22.05 khz.
Er...16 bytes _is_ 128 bits.
--
fred
- Posted by Nicolas Tade on April 21st, 2006
Thx!
- Posted by dadiOH on April 21st, 2006
"fred-bloggs" <fred-bloggs@hahahotmail.com> wrote in message
news:44491d6c$0$15331$892e7fe2@authen.yellow.readf reenews.net...
Damned binary stuff 
--
dadiOH
____________________________
dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico