logo       

Re: WAV in MP3 format?: msg#00001

audio.sox

Subject: Re: WAV in MP3 format?

Craig,
It worked.  Thanks a lot.

On a related problem, I'm getting
"Premature EOF on input .wav file"
I saw some posts claiming that simply doing 'sox in.wav out.wav' would repair the headers, but when I try this, it only seems to duplicate the file.
Any ideas on how to solve this problem?


Craig Kelley <namonai@xxxxxxxxx> wrote:
Run the "file" program to see what the file types really are:

Wanda:/tmp ink$ file Kent_Music-Non_Stop.mp3
Kent_Music-Non_Stop.mp3: MP3 file with ID3 version 2.3.0 tag
Wanda:/tmp ink$ mv Kent_Music-Non_Stop.mp3 Kent_Music-Non_Stop.wav
Wanda:/tmp ink$ file Kent_Music-Non_Stop.wav
Kent_Music-Non_Stop.wav: MP3 file with ID3 version 2.3.0 tag

You can run mpg321 to dump the files to wav, like this:

mpg321 -w somefile.wav somefile.mp3

It isn't included with Fedora Core 4 (for stupid patent reasons) -- but you can get it in yum by adding the livna repository (google it).

Hope that helps!

  -Craig


On 6/30/06, Wolfgang Borgon <wborgon@xxxxxxxxx> wrote:
I've got several audio files that have the extension WAV, but sox is claiming to be in MP3 format.  On trying to convert, I get the following message:

sox: Failed reading foobar.wav: Sorry, this WAV file is in MPEG Layer 3 format.


Running 'sox -h' it seems that mp3 support is enabled.

Does anyone have any suggestions on how I could convert these files using sox or any other utility?  I'm runing Fedora Core 4.

Thanks!


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users





--
http://inconnu.islug.org/~ink finger ink@xxxxxxxxxxxxxxxxx for PGP block Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users


Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise