Problem encoding wavs to mp3

From: Oded Arbel (oded-linux_at_nonexisting.hamakor.org.il)
Date: Fri 20 Jan 2006 - 15:43:49 IST


Hi list.
I recently bought a usbdrive/mp3 player which has the option of
recording. It records sound to WAV files encoded using IMA_ADPCM 8KHz,
which play nicely on my computer (Mandriva 2006) w/o any problem, using
all the software I could find.

Now I want to convert them to MP3 so they will take less space (and I
could put them back on the device and have some more room for music) -
I tried lame (and toolame) and it keeps coming back as white noise with
some sound artifacts thrown in for good measure. I don't see any errors
in the lame output and I tried any setting I can think of including
disabling the auto-detected filters (and trying some manual ones).
The only thing that strikes me as not correct, is that lame thinks the
output is stereo (and "auto-convert"s it to mono if I specify mono
output) while the 'file' command tells me its a mono channel WAV file.

Here's file's output:
rec27.wav: RIFF (little-endian) data, WAVE audio, IMA ADPCM, mono 8000
Hz

And this is what lame tells me (last time I ran it):
Warning: corrupt or unsupported WAVE format
Assuming raw pcm input file
LAME 3.97 (beta 2, Nov 29 2005) 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE
Autoconverting from stereo to mono. Setting encoding to mono mode.
polyphase lowpass filter disabled
Encoding rec27.wav to rec27.mp3
Encoding as 44.1 kHz 64 kbps single-ch MPEG-1 Layer III (11x) qval=3

I tried using sox to convert the wav file to ADPCM wav or sun AU and it
doesn't change anything.

Can anyone spare any hints on how I can get the WAV to convert properly
to MP3 ?

Thanks in advance

-- 
Oded
::..
If they wrote error messages in Haiku ?
  With searching comes loss
  and the presence of absence:
  "My Novel" not found.
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Fri 20 Jan 2006 - 15:56:41 IST