View Full Version : Need mp3 to wav - cmd's program
Moti172
25th March 2007, 00:39
Hi
Can someone recommend a CMD program, for rencode mp3 file to wav? A kind of the opposite of lame.
Thanks
wisodev
25th March 2007, 00:43
Hi
Can someone recommend a CMD program, for rencode mp3 file to wav? A kind of the opposite of lame.
Thanks
You can use lame to decode mp3 file to wav file, usage:
lame.exe --decode --mp3input "input.mp3" "output.wav"
Moti172
25th March 2007, 01:53
Is there a way to resample the frequency of the output file to 48Khz?
The --resample option doesn't work with --decode.
Thanks for your answer
wisodev
25th March 2007, 07:18
Is there a way to resample the frequency of the output file to 48Khz?
The --resample option doesn't work with --decode.
Thanks for your answer
You can use SSRC (http://shibatch.sourceforge.net/) to resample decoded wav file.
Sample command-line (it's not perfect but resampling is very high quality):
lame.exe --decode --mp3input "input.mp3" "tmp_output.wav"
ssrc.exe --rate 48000 --twopass "tmp_output.wav" "output.wav"
del "tmp_output.wav"
or you can use my simple batch script:
http://www.sendspace.com/file/eb1jww (dec_res.zip, 272 KB)
Package includes LAME v3.97, SSRC v1.30 and dec_res.bat batch script.
Usage sample for my script: dec_res.bat "input.mp3" "output.wav" 48000
where 48000 is output file sampling rate.
Moti172
25th March 2007, 13:18
Thanks a lot :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.