On Sun, 2005-05-29 at 12:47 -0300, Patrick Boutilier wrote: > M Daniel R M wrote: > >>Arthur Pemberton wrote: > >> > >> > >>>From my WIndows days I converted alot of my music to wma as it was > >>>smaller and my mp3 player supported. OSS applications seem not to > >>>fully support wma (for obvious reasons) most troublingly the wma meta > >>>data. So I would like to convert select directories of wma to mp3. I > >>>have mplayer playing my wmas perfectly. > >>> > >>>Please advise. > >>>Thank you. > >>> > <snip> > > http://www.google.ca/search?hl=en&q=convert+wma+to+mp3+linux&btnG=Google+Search&meta= > > I use the script from the fifth result: > > http://www.linuxquestions.org/questions/answers.php?action=viewarticle&artid=352 > $ cat convert2mp3.pl #!/usr/bin/perl -w use strict; foreach my $file (@ARGV) { next if ($file !~ /\.wma$/i); my $base = $file; $base =~ s/\.wma$//i; system "mplayer \"$file\" -ao pcm -aofile \"$base.wav\""; system "lame -h \"$base.wav\" \"$base.mp3\""; unlink("$base.wav"); print "$base.wma converted to mp3.\n"; } gen -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 16:34:43 up 18:36, 10 users, load average: 1.18, 0.98, 0.81