Help - Search - Members - Calendar
Full Version: wmcmd syntax
Hydrogenaudio Forums > Lossy Audio Compression > Other Lossy Codecs
mrgou
Hi,

I can't find the syntax I need to use to decode wma files to wav using the wmcmd.vbs command line script.

Any help would be greatly appreciated!

Thanks!

mrgou
Sebastian Mares
I don't think it's possible.

Maybe using -a_codec PCM -input meh.wma -output meh.wav, but I didn't test.
mrgou
QUOTE(Sebastian Mares @ Dec 4 2005, 06:52 PM)
I don't think it's possible.

Maybe using -a_codec PCM -input meh.wma -output meh.wav, but I didn't test.
*



No, that's not working. I believe the container is still wma, although it's uncompressed.

If that's not possible with wmcmd, is there any command line decoder from WMA to WAV?
Sebastian Mares
ffmpeg has a WMA decoder - maybe you can find something using that as back-end.
yong
try mplayer instead. wink.gif
mplayer can even decode WMA lossless and WMA pro.

CODE
@echo off
cd "%userprofile%\desktop"
"C:\path to\mplayer.exe" -v -ao pcm:file="%~n1.wav" %1
pause

save the code above to a batch file,
after mplayer finish decoding, a wav file will appear on your desktop.
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.