[wellylug] Converting WMA to MP3

Jonathan Harker jon at jon.geek.nz
Thu Sep 14 11:02:25 NZST 2006

Fred Cox wrote:
>>>> Steve Macdonald wrote:
>>>>> I have tried Amarok using the transkoda? scrift but the problem here is
>>>>> that it does not copy the id3 tags or file names over.
> Hi,
> Follow an script that converter wma to mp3. The requeriments is: mplayer
> and lame.
> #!/bin/bash
> wmafile=$1
> wavfile=$(echo $wmafile | sed -e s/wma/wav/)
> mp3file=$(echo $wmafile | sed -e s/wma/mp3/)
> mplayer -ao pcm -aofile "$wavfile" "$wmafile"
> lame "$wavfile" "$mp3file"
> rm "$wavfile"

This doesn't copy the ID3 tags over

More information about the wellylug mailing list