-
Convert .wav to mp3
Hi,
I have to submit a voice recording in mp3 format for a language course
that I'm following. I can make a recording in .wav format using a
Philips audio player that I have and I can copy that to my SUSE box via
one of the USB ports; but I've so far failed to find a way to convert
the file to mp3 format.
I tried the following command in LAME (as recommended in the output from
lame --help):
peter@linux:~> lame -V2 /home/peter/mp3/voice001.wav /home/peter/test.mp3
but got the following error message:
Unsupported data format: 0x0011
I know that the wav file is fine because I can play it in a variety of
players (Amarok, vlc, kaffeine etc).
The version of lame that I'm using is:
LAME 64bits version 3.98 ([url]http://www.mp3dev.org/[/url])
Is there something I'm missing?
Thanks
Peter
-
Re: Convert .wav to mp3
Peter Bradley wrote:
[color=blue]
> I have to submit a voice recording in mp3 format for a language course
> that I'm following. I can make a recording in .wav format using a
> Philips audio player that I have and I can copy that to my SUSE box
> via one of the USB ports; but I've so far failed to find a way to
> convert the file to mp3 format.
>
> I tried the following command in LAME (as recommended in the output
> from lame --help):
>
> peter@linux:~> lame -V2 /home/peter/mp3/voice001.wav /home/peter/test.mp3
>
> but got the following error message:
>
> Unsupported data format: 0x0011[/color]
This indicates that the data was compressed using Microsoft's ADPCM
codec; LAME supports PCM only. Try using ffmpeg:
ffmpeg -i /home/peter/mp3/voice001.wav /home/peter/test.mp3
--
Huibert
"Okay... really not something I needed to see." --Raven
-
Re: Convert .wav to mp3
Huibert Bol wrote:[color=blue]
> This indicates that the data was compressed using Microsoft's ADPCM
> codec; LAME supports PCM only. Try using ffmpeg:
>
> ffmpeg -i /home/peter/mp3/voice001.wav /home/peter/test.mp3[/color]
What about using mencoder (included with mplayer) to do this?
houghi
--[color=blue]
> Knock-knock.
> Who's there?
> Under the Patriot Act, we don't have to tell you that.[/color]
-
Re: Convert .wav to mp3
Ysgrifennodd Huibert Bol:[color=blue]
>
> This indicates that the data was compressed using Microsoft's ADPCM
> codec; LAME supports PCM only. Try using ffmpeg:
>
> ffmpeg -i /home/peter/mp3/voice001.wav /home/peter/test.mp3
>[/color]
You guys are good! That worked just fine.
Thanks Huibert.
Peter
-
Re: Convert .wav to mp3
Ysgrifennodd houghi:
[color=blue]
> What about using mencoder (included with mplayer) to do this?
>
> houghi[/color]
It seems it didn't like being given an audio-only stream. But no
matter, ffmpeg worked.
Thanks
Peter
-
Re: Convert .wav to mp3
houghi <houghi@houghi.org.invalid> wrote:
[color=blue]
> Huibert Bol wrote:[color=green]
>> This indicates that the data was compressed using Microsoft's ADPCM
>> codec; LAME supports PCM only. Try using ffmpeg:
>>
>> ffmpeg -i /home/peter/mp3/voice001.wav /home/peter/test.mp3[/color]
>
> What about using mencoder (included with mplayer) to do this?[/color]
(Phew, it sure has a lot of options!)
It looks like mencoder *isn't* the Little Engine (i.e., It Can't).
--
Huibert
"Okay... really not something I needed to see." --Raven
-
Re: Convert .wav to mp3
Huibert Bol wrote:[color=blue][color=green]
>> What about using mencoder (included with mplayer) to do this?[/color]
>
> (Phew, it sure has a lot of options!)
>
> It looks like mencoder *isn't* the Little Engine (i.e., It Can't).[/color]
Yeah, it has one or two extra options. :-D The man page is 6.452 lines
long. And all that just to watch porn. :-D
houghi
--
I do not want life insurance.
I want all people to be genuinely grieving when I die.
houghi
-
Re: Convert .wav to mp3
Peter Bradley wrote:[color=blue]
> Hi,
>
> I have to submit a voice recording in mp3 format for a language course
> that I'm following. I can make a recording in .wav format using a
> Philips audio player that I have and I can copy that to my SUSE box via
> one of the USB ports; but I've so far failed to find a way to convert
> the file to mp3 format.
>
> I tried the following command in LAME (as recommended in the output from
> lame --help):
>
> peter@linux:~> lame -V2 /home/peter/mp3/voice001.wav /home/peter/test.mp3
>
> but got the following error message:
>
> Unsupported data format: 0x0011
>
> I know that the wav file is fine because I can play it in a variety of
> players (Amarok, vlc, kaffeine etc).
>
> The version of lame that I'm using is:
>
> LAME 64bits version 3.98 ([url]http://www.mp3dev.org/[/url])
>
> Is there something I'm missing?
>
> Thanks
>
>
> Peter[/color]
Try
audiokonverter - A utility to convert between OGG, MP3, AAC, FLAC and WAV.
or jRipper can encode and decode Wav, Flac, MP3, Ogg, AAC(M4A) formats.
It can also do transcoding between various formats.
--
Blattus Slafaly ? 3 :) 7/8
-
Re: Convert .wav to mp3
Ysgrifennodd Blattus Slafaly:[color=blue]
> Peter Bradley wrote:
>
> Try
> audiokonverter - A utility to convert between OGG, MP3, AAC, FLAC and WAV.
>
> or jRipper can encode and decode Wav, Flac, MP3, Ogg, AAC(M4A) formats.
> It can also do transcoding between various formats.
>
>[/color]
Hi Blattus,
I'd already tried that. audiokonverter appears to use the LAME
libraries, because it gave me exactly the same error message.
However, ffmpeg has done the job for me.
Thanks anyway.
Cheers
Peter
-
Re: Convert .wav to mp3
Peter Bradley wrote:[color=blue]
> Ysgrifennodd Blattus Slafaly:[color=green]
>> Peter Bradley wrote:
>>
>> Try
>> audiokonverter - A utility to convert between OGG, MP3, AAC, FLAC and
>> WAV.
>>
>> or jRipper can encode and decode Wav, Flac, MP3, Ogg, AAC(M4A) formats.
>> It can also do transcoding between various formats.
>>
>>[/color]
>
> Hi Blattus,
>
> I'd already tried that. audiokonverter appears to use the LAME
> libraries, because it gave me exactly the same error message.
>
> However, ffmpeg has done the job for me.
>
> Thanks anyway.
>
>
> Cheers
>
>
> Peter[/color]
There is also 3gpwiz which is a GUI front end for ffmpeg.
--
Blattus Slafaly ? 3 :) 7/8