User Tools

Site Tools


en:linux:scripts:wma2mp3

/home/<username>/bin/wma2mp3

Converts wma to mp3.

#!/bin/bash

until [ -z "$1" ]
do
	outName=`basename "$1" .wma`.mp3
	echo "$1 -> $outName"
	mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$1" && lame audiodump.wav "$outName"
	shift
done
rm audiodump.wav
en/linux/scripts/wma2mp3.txt · Last modified: 2010/01/19 14:19 (external edit)