Welcome to WebmasterWorld Guest from 35.175.120.174

Forum Moderators: open

Message Too Old, No Replies

Mediaplayer that plays WMA files in Linux

     
8:37 am on Sep 23, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 8, 2003
posts:516
votes: 4


I have a lot of WMA files is there a Mediaplayer which plays WMA audio files?
2:08 pm on Sept 23, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Oct 22, 2002
posts:217
votes: 0


XMMS has a plugin for playing wma files, and mplayer can play them using the win32codec. Your specific Linux distribution should have instructions on adding support for .wma files.
12:37 pm on Sept 25, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 4, 2004
posts:388
votes: 0


#!/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 "oggenc \"$base.wav\" ";
unlink("$base.wav");
print "$base.wma converted to ogg.\n";
}

:-)

Can't take credit for this one I'm afraid, just Googled wma2ogg!

6:50 pm on Sept 25, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 22, 2003
posts:1260
votes: 0


I might be talking out of my backside here, but is this any good to you?

[videolan.org ]

Syzygy