> > Hi All ! > > i try to use lame mp3 encoder (and decoder) to create a sort of > media archiver for old enough game's databases which currently saves > sounds in .wav ... > > but when i try to encode and then decode sample .wav file i.e. .wav > -> .mp3 -> .wav (VBR) i get strange result - at the output .wav the > size of 'data' block exceeds the size of the 'source' .wav data at > about 2..3% ... why ? can i get its sizes equal by any way ? >
It's a feature of any format which uses the MDCT. You can read why in the "technical FAQ" on the LAME website. LAME 3.91 puts a tag on each mp3 file with the beginning and ending offsets, so that a decoder can trim the output so it is the same size as the original .wav. But I dont think any decoders can yet do this. 'lame --decode' will remove the leading padding, but we haven't but in the code to remove the trailing padding yet. Mark _______________________________________________ mp3encoder mailing list [EMAIL PROTECTED] http://minnie.tuhs.org/mailman/listinfo/mp3encoder
