Help - Search - Members - Calendar
Full Version: wma2wav, m4a2wav
Hydrogenaudio Forums > Lossy Audio Compression > Other Lossy Codecs
tripex
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
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
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
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
Thank you Mike! This forum is just awesome!

CU
Andy
xmixahlx
there is another wma2wav written by the guy who did the original xmms-wma plugin here:
http://mcmcc.bat.ru/xmms-wma/wma2wav/


later
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.