LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-11-2005, 04:02 PM   #1
phillips321
Member
 
Registered: Jan 2005
Location: Newport, WALES
Distribution: SuSE
Posts: 74

Rep: Reputation: 15
XMMS and WMA files


hi guys,

a long time ago i used Windows Media player to rip my CDs into WMAs. For about half of my entire collection i i ripped them with the bloody copyright thing turned on so that it they can only play on the one specific computer!!!!!!!!!!! Is there anything i can do to get round this in linux as i really really dont want to redo about 60 odd albums (some double cds).

I will be hoping to play them in XMMS, one ladt thing, is there some sort of media borwser built into XMMS like there is in winamp? Cheers guys

Cheers for your help guys

P.s. Thats sh!tty windows for you, causing more problems....
 
Old 02-11-2005, 04:09 PM   #2
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Ubuntu
Posts: 85

Rep: Reputation: 17
i don't think there is but i could be wrong...I have a similiar problem, i have mp4(ACC) formated files that are copy righted, from when i was buying my music using itunes, if you find a solution let me know..but if i'd have to guess i'd say we're both out of luck on this one
 
Old 02-11-2005, 04:10 PM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
you need mplayer (or at least mplayer's codecs) for wmv, and I don't know about the copyrighted stuff
 
Old 02-11-2005, 04:55 PM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
there is a xmms-wma plugin.. http://mcmcc.bat.ru/xmms-wma/
Havnt tried copyright protected wma:s on it tho.. Was curious enough to find the option to turn it off back when I was using wmplayer.. d:
 
Old 02-24-2005, 12:20 PM   #5
dsharp63
LQ Newbie
 
Registered: Feb 2005
Location: Memphis, TN
Posts: 5

Rep: Reputation: 0
WMA plugin for xmms isn't working.

Quote:
Originally posted by Artanicus
there is a xmms-wma plugin.. http://mcmcc.bat.ru/xmms-wma/
Havnt tried copyright protected wma:s on it tho.. Was curious enough to find the option to turn it off back when I was using wmplayer.. d:
I downloaded this plugin, installed it and it doesn't work. When I try to play a .wma file it qlays it really quickly and sounds like quick, high pitched noises. Do you think it has something to do with the bit rate of the .wma file? I'm running FC3 and xmms version 1.2.10.

Thanks.
 
Old 02-24-2005, 12:30 PM   #6
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Have you restarted xmms after installing it, have you enabled it? Does the file you tried with play with any other player (for eg. mplayer)? Is the problem with one file, or with several different files from different recording sessions?

The bitrate shouldnt be a problem if the file has been recorded properly. Also, one thing that came to mind when it comes to fc.. Do you have the mp3 support installed? I have no idea how the wma plugin works, but there is a possibility that it streans it through some other format, like mp3.. This most likely is not the case, buit worth a try since your problem is quite odd, and mp3 support is something xmms expects you to have by default...
 
Old 02-24-2005, 01:00 PM   #7
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
If your using Fedora Core 3...follow the link in my signature. I have a tutorial for WMA's on XMMS. Mine works great, never had an issue with them. I have 60gb of MP3/WMA files which are on an NTFS partition. I play them all from there without any problems via XMMS.

Hope I can help somebody out there!
 
Old 02-24-2005, 02:23 PM   #8
dsharp63
LQ Newbie
 
Registered: Feb 2005
Location: Memphis, TN
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by Artanicus
Have you restarted xmms after installing it, have you enabled it? Does the file you tried with play with any other player (for eg. mplayer)? Is the problem with one file, or with several different files from different recording sessions?

The bitrate shouldnt be a problem if the file has been recorded properly. Also, one thing that came to mind when it comes to fc.. Do you have the mp3 support installed? I have no idea how the wma plugin works, but there is a possibility that it streans it through some other format, like mp3.. This most likely is not the case, buit worth a try since your problem is quite odd, and mp3 support is something xmms expects you to have by default...
I restarted xmms but it didn't help. I checked the plugin and it is enabled. The file plays on windows with no problems. I tried several other wma files as well and get the same results. My MP3 files play with no problems. So I'm stumped for now.
 
Old 02-24-2005, 02:26 PM   #9
dsharp63
LQ Newbie
 
Registered: Feb 2005
Location: Memphis, TN
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by Snipersnest
If your using Fedora Core 3...follow the link in my signature. I have a tutorial for WMA's on XMMS. Mine works great, never had an issue with them. I have 60gb of MP3/WMA files which are on an NTFS partition. I play them all from there without any problems via XMMS.

Hope I can help somebody out there!
I followed the directions and installed the plugin. However, I getting the same results as with the other plugin...except....I don't hear the high pitch sounds. If anyone has any ideas about other options or what to try next please let me know. Thanks.
 
Old 02-24-2005, 03:09 PM   #10
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
one thing came to mind, are you sure there not one of those copyright protected wma:s?

If I were you, id install mplayer and all of its codecs.. They have also a codec in them that allows mplayer to play back wma:s.. If you can hear them great with that, its xmms thats borked, if not, something else.. Would narrow down the search quite alot..
 
Old 03-26-2005, 10:51 AM   #11
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
There's a way to convert wma to mp3, but a bit complicated....
The trick is to transform from wma to wav then to mp3. What I do is:

mplayer -ao pcm file.wma (this will create file "audiofile.wav")
I use any wav2mp3 converter.

I'm sure is not too complicated to write a small script for doing it in a batch mode. Unfortunatelly i'm not programmer.

Hope it is usefull
 
Old 04-07-2005, 05:14 PM   #12
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Hi,

I have tried all the suggestions here... even installing the russian codec (that crashes my xmms) and tried to follow the fedora core 3 but it is broken... Even tried mplalyer(that is in court right now) and kaffeine to play back the wma file... is there any other way to listen to my music? Thanks.
 
Old 04-08-2005, 03:09 AM   #13
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Quote:
Originally posted by leosgb
Hi,

I have tried all the suggestions here... even installing the russian codec (that crashes my xmms) and tried to follow the fedora core 3 but it is broken... Even tried mplalyer(that is in court right now) and kaffeine to play back the wma file... is there any other way to listen to my music? Thanks.
The easiest way for you (if the plugin realy crashed your xmms, whih it should not do), is to install the windows media codec for mplayer. Then it will be able to playback them, but more importantly convert them to mp3. Heres a script that I found one day from here at LQ:
Code:
#!/bin/bash

current_directory=$( pwd )

#remove spaces
for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done

#remove uppercase
for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done

#Rip with Mplayer / encode with LAME
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm -waveheader $i && lame -m s audiodump.wav -o $i -b 192; done

#convert file names
for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3"; done

rm audiodump.wav
Save this code into: /bin/wma2mp3
and make it executable:
Code:
chmod a+x /bin/wma2mp3
Then just cd to a directory that has wma files in it you want to convert, and execute wma2mp3. It will rip them to wav:s with mplayer and encode to 192 kbps mp3s.. (adjust the -b parameter there if your wma:s have a lower bitrate.)

Do note, that the first time you try this, take backups of the wma:s, because the script overwrites the source files.
 
Old 04-08-2005, 03:15 PM   #14
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
The problem here is the law sue against mplayer developers... i cant get it from their website... i guess i will never listen to protected wma files in my linux.... thanks
 
Old 04-08-2005, 03:36 PM   #15
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30


Why can't you get it from the mplayer site? I just went there, and they were available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xmms-wma makes xmms to exit while try playing .wma deepclutch Debian 12 12-02-2005 07:53 PM
hey how can i play wma files .my xmms does not plays it amolgupta Linux - Software 2 03-03-2005 09:21 AM
.wma plugin for xmms? vyeperman3001 Linux - Software 7 12-01-2004 12:08 PM
XMMS and *.WMA extension Micro420 Linux - Software 1 08-10-2004 03:02 AM
xmms *.wma vexer Linux - Software 3 05-15-2003 09:11 AM


All times are GMT -5. The time now is 06:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration