I've found a WAV file which has two problems when I encode it with Lame.
First, get the file here:
http://www.fortunecity.com/roswell/barker/219/test.zip
(88790 bytes).

Compress it with VBR:
lame -V 4 -B 160 test.wav

Get it ?

The first problem is that the end of the file is LOST !
Load the MP3 with CoolEdit or another audio editor, and you can easily verify that the 
ending samples are missing (perhaps one or two frames). Just compare with the original 
WAV file.

Don't tell me to add silence at the end of the WAV, it doesn't work !
I've added 4000 (!) samples of silence at the end, but 4000 is unsufficient on other 
WAV files.
I also tried to call manually the routines in Lame as described in the Lame API 
documentation:
lame_encode_buffer(...);
lame_encode_flush(...);
This problem seems to be a BUG into the lame_encode_flush() routine !


The second problem is when you try to decode the achieved MP3.
Try:
lame --decode test.mp3
You'll get around ten "Can't rewind stream by xx bits!" errors !!!
Also, the output sample is corrupted !
MAD or CoolEdit are able to decompress this file, so I guess it's a bug in Lame.

Can someone help me on these problems ?

HoD

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
T�l�phone/Fax : 08 92 69 00 21 (0,34 � TTC/min)
Minitel: 3615 NETCOURRIER (0,15 � TTC/min)

_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to