tripex
Dec 24 2007, 23:14
Hi
For my scripts (Windows) I am looking for one or two free command line tools which can simply convert a wma or m4a/mp4 file to a wav file.
wm8eutil can't decode obviously. :-(
Is there something without big overhead and no GUI?
CU
Andy
Liquid_Predator
Dec 25 2007, 03:57
For m4a files you can do:
For wma files:
- Download ffmpeg
- ffmpeg -i infile.wma -acodec pcm_s16le -ar 44100 -ac 2 -f wav outfile.wav
or:
- Download MPlayer
- mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader:file="outfile.wav" "infile.wma"
tripex
Dec 25 2007, 19:24
Thanks for FAAD. Just as I need it but ffmpeg (8MB) and mplayer (11MB) are way to big for this little job. Is there no smarter solution, smaller exe?
CU
Andy
Mike Giacomelli
Dec 25 2007, 20:00
Googleing wma2wav gives this:
http://www.stud.uni-karlsruhe.de/~ua7i/wma2wav/Assuming its the same as the wma2wav source code I have on my unix box, its based on a 4 year old checkout of ffmpeg that only has the asf parser and wma decoder, so it won't be perfect, but generally quite good.
tripex
Dec 25 2007, 21:33
Thank you Mike! This forum is just awesome!
CU
Andy
xmixahlx
Dec 25 2007, 21:43
there is another wma2wav written by the guy who did the original xmms-wma plugin here:
http://mcmcc.bat.ru/xmms-wma/wma2wav/later