Help - Search - Members - Calendar
Full Version: LAME encoding problem
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
OSCORD
Hi All.

Checked FAQ didn't find anything related to my problem so here it is:
I've got LAME 396 installed in fedora 3, and I need to convert RAW PCM WAV 8000/mono/16bit to MP3 mono/16000/64Kbps.
I use ./lame -r -s 8 --resample 16 -b 64 ~/test.wav ~/test.mp3

whenever file's produced it plays way too fast. I tried --resample 41/48, -k none worked...
So should I recompile with some different settings (I used none except for --prefix=/...)
Or report a bug : )
Please advise.

Thanks guys.

::OSCORD::
ChiGung
maybe adding --bitwidth 16 will fix.
Also mono or stereo should need specified but I dont see any switch to specify mono for the raw file.(?)
OSCORD
Thanks,

That didn't work, but I think I found a solution, I used LIBSNDFILE http://mega-nerd.com/libsndfile/ it converts any RAW WAV to a standard pcm, I used it to convert to pcm16 and then Lame read it fine!
It worked instantly too.

OSCORD

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.