Home Converting .m4a and .wma to .mp3
Post
Cancel

Converting .m4a and .wma to .mp3

[This is a synthesis of two posts I wrote on Blogspot in 2008.]

I’ve compiled here two recipes for converting to .mp3.

Convert .m4a to .mp3

Install lame and faad, then cd into a directory containing .m4a files that you wish to convert to .mp3 and run:

1
for x in *.m4a ; do faad -o - "$x" | lame -V 0 - "${x%m4a}mp3" ; done

Convert .wma to .mp3

Install lame and mplayer, then cd into a directory containing .wma files that you wish to convert to .mp3 and run:

1
for x in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$x" ; lame -m s audiodump.wav -o "${x%wma}mp3" ; rm audiodump.wav ; done
This post is licensed under CC BY 4.0 by the author.

-

How to manually modify a .deb package

Comments powered by Disqus.