Forum Moderators: open

Message Too Old, No Replies

Mediaplayer that plays WMA files in Linux

         

morpheus83

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

10+ Year Member Top Contributors Of The Month



I have a lot of WMA files is there a Mediaplayer which plays WMA audio files?

brakthepoet

2:08 pm on Sep 23, 2005 (gmt 0)

10+ Year Member



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.

j4mes

12:37 pm on Sep 25, 2005 (gmt 0)

10+ Year Member



#!/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!

Syzygy

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

WebmasterWorld Senior Member 10+ Year Member



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

[videolan.org ]

Syzygy