Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: The smallest mp3 possible (Read 4776 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

The smallest mp3 possible

Hi,

I need to create the smallest possible mp3. It's for a Macromedia Flash animation. I need a mp3 for synchronisation purpose. So I don't care about the audio content of this mp3 but I have to do it as small as possible.

Any idea?

Thank you for you help

Marcan

The smallest mp3 possible

Reply #1
Create a zero byte file. Voila, the smallest possible MP3.

The smallest mp3 possible

Reply #2
Quote
Create a zero byte file. Voila, the smallest possible MP3.
[a href="index.php?act=findpost&pid=311644"][{POST_SNAPBACK}][/a]

Yeah well, it needs to have 4 minutes long... (sorry, didn't mention it)

The smallest mp3 possible

Reply #3
-b 8 -mm 

The smallest mp3 possible

Reply #4
I've created 4 minutes of silence with Adobe Audition and encoded it as 8 kbps, 11025 Hz, Mono and it's 234 kbyte.

You can get it here:
http://betafunk.dk/4minutesofsilence.mp3

Dunno if it is possible to make it even smaller though ...

The smallest mp3 possible

Reply #5
Quote
-b 8 -mm 
[a href="index.php?act=findpost&pid=311647"][{POST_SNAPBACK}][/a]

Thx    . It gives 253kb but the problem is it has to be in 44.1 otherwise flash won't do it.
Unfortunately, -b 8 doesn't work at this rate. So the only solution I got is -b 32 -mm --resample 44.1, which leads to 937 kb 


The smallest mp3 possible

Reply #7
Math-class, folks  :

4 min = 240 s
1 B = 8 b
1 kB = 1024 B

4 min at 8 kbps = 240 s * 8000 b/s * 1/8 B/b * 1/1024 kB/B= 234.375 kB

4 min at 16 kbps = 234.375 * 2 = 468.75 kB

4 min at 32 kbps = 468,75 * 2 = 937,5 kB

4 min at 48 kbps = 468,75 + 937,5 = 1406.25 kB


Basically, the bitrate alone determines the filesize - samplerate, mono etc are settings to improve the sound at that bitrate, but they are irrelevant for the filesize. If you are encoding "The sound of silence", they should be totally irrelevant, with the exception of support from decoders.


Edit1: "untruncation", Edit2+3: small formula change for better understanding


 

The smallest mp3 possible

Reply #9
Quote
Quote
4 min at 48 kbps = 468,75 + 937,5 = 1406.25 kB
[a href="index.php?act=findpost&pid=311689"][{POST_SNAPBACK}][/a]


Mine has only 608 KB as mentioned.
[a href="index.php?act=findpost&pid=311690"][{POST_SNAPBACK}][/a]


OK. But I can promise you that if it really is 608 kB, at least one of the following statements are false:
1) The duration is 4 min
2) The bitrate is 48 kbps

You can't beat math...