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: Lame WAV encode generates Static (Read 4989 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Lame WAV encode generates Static

Any ideas why certain WAV files might end up generating static when converted to mp3 files? I am using the --preset voice flag, but I have tried a number of different settings. The wav files are being recorded off the Wash DC radio system and are generated automatically. It generally works, but every now and then the resulting mp3 is just static.

Here is a sample .wav that plays fine, but generates static when run through LAME. Is the header corrupt or something?

http://robotastic.com/35664-1381511239.wav

Also - any setting recommendations for encoding 8kpbs mono 16-bit voice? Extra challenge, it was already encoded/decoded using the IMBE codec.

Lame WAV encode generates Static

Reply #1
Can you post the lame command line or settings you're using exactly?

Lame WAV encode generates Static

Reply #2
Well, I did a simple lame -V 2 and it worked for me.  LAME 3.99.5.  Perhaps your player doesn't like mono 8 kHz files.
EDIT: And --preset voice works fine for me too.

Lame WAV encode generates Static

Reply #3
Works fine for me too, and also Speex.

Lame WAV encode generates Static

Reply #4
Which version and packaging format (executable, DLL, etc.) of LAME?

Lame WAV encode generates Static

Reply #5
Well, I did a simple lame -V 2 and it worked for me.  LAME 3.99.5.  Perhaps your player doesn't like mono 8 kHz files.
EDIT: And --preset voice works fine for me too.


You guys are totally right - I was using aplay and it didn't like any of the 8khz mp3 files. I was playing the successful files through a webplayer. This was all kicked off by FFProbe puking on some files. Sorry for the confusion!!!


On a related note, is '--preset voice' the best setting to be using? Should I use a constant bit-rate setting instead? I think the CBR encoded audio might sound a little less muffled. It is transcoded to a low bit rate to start with, so that might be messing up the ABR/VBR.