Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
As we know that a mp3 file has got much smaller size as compared to wave file, I want to know the reason for it.

The mp3 file consists of number of frames and each frame has got a header which consists the frame information whereas a wave file has got no frames but a single riff ,fmt and data sections. So the size of a wav file must be smaller as compared to mp3 file but why is it not so??

Again a mp3 file consists of a ID3 tag followed by the frames.Then How to identify the starting of first frame and last frame of a mp3 file???
Is there any formula to calculate it or does the ID3 tag contains some size field??

How to know the filds that are included in an ID3 tag because I have found that the tag fields of a mp3 file varies from file to file...
How to know which fields are included and which are neglected??


Please help me in understanding all these..
Posted

Any mp3 file makes use of a lossy compression algorithm, resulting in smaller size than wave. Hope this [^]link helps.

This[^] might help too.
 
Share this answer
 
Comments
Be Yourself 21-Oct-10 10:45am    
thanks...
Short answer : Mp3 uses compression. The standard wave format does not although there are compressed wave formats too.
 
Share this answer
 
Comments
Be Yourself 21-Oct-10 7:56am    
I think U should read the whole question thoroughly before answering..
Nish Nishant 21-Oct-10 7:57am    
I did that, and I think you should think about an answer before commenting on it :-)
Be Yourself 21-Oct-10 10:21am    
Sorry, But Nishant I wanted the technical logic about the why the size is reduced.Because mp3 file has got obviously larger bit of data as compared to wave file.
Nish Nishant 21-Oct-10 10:26am    
Okay, that is not correct. You've probably read this already, but see:

http://en.wikipedia.org/wiki/MP3

It briefly explains the basics of MP3 audio compression. Uncompressed wave will certainly be several dozen times more voluminous in size.
Be Yourself 21-Oct-10 10:45am    
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900