LinuxQuestions.org
Help answer threads with 0 replies.
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 08-05-2005, 10:07 AM   #1
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Rep: Reputation: 30
How to make xine or mplayer play .wmv files


Anyone know how to make xine and mplayer play windoze media files (.wmv) ?
 
Old 08-05-2005, 10:44 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
get the full codecs from mplayerhq.hu and install in /usr/lib/win32


regards
 
Old 08-05-2005, 10:58 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
kkempter, hope you don't mind me posting on your thread as this is what I want to be able to do also.

I've downloaded the codecs and put them in /usr/lib/win32. Do I need to tell Xine where to find them? Also, I get an error in Xine saying, "error loading library: cook.so.6.0". There is a file in /usr/lib/win32 with a similar name, but it's just cook.so. What do I need to do to get this working?

Last edited by Nylex; 08-06-2005 at 01:07 AM.
 
Old 08-05-2005, 11:07 AM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
is it not found? did you try linking cook.so.6.0 to cook.so?
 
Old 08-05-2005, 11:10 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Edit: Ok, I tried making a link using "ln -s cook.so cook.so.6.0". The link is also in /usr/lib/win32. I was also getting an error about a missing drv4.so.6.0, so I tried to make a link to drvc,so.

lrwxrwxrwx 1 root root 7 2005-08-05 18:53 cook.so.6.0 -> cook.so
lrwxrwxrwx 1 root root 7 2005-08-05 18:51 drv4.so.6.0 -> drvc.so

Do these look ok? I found on Xine's site that you need to edit the config file, so I uncommented the line

decoder.external.win32_codecs_path: /usr/lib/win32,

but it's still not working. The config file I edited was in the /home/nick/.xine.

Any ideas?

Last edited by Nylex; 08-05-2005 at 12:59 PM.
 
Old 08-05-2005, 11:36 PM   #6
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
hmm.... not sure - mplayer shows cook.so.6 in the "all codecs" and realplayer codecs tarballs:

http://www1.mplayerhq.hu/MPlayer/rel...050412-MD5SUMS
http://www1.mplayerhq.hu/MPlayer/rel...050115-MD5SUMS

did you grab the "all" or "essential" codecs from mplayer site? maybe try a different version? or, check if you have it in /usr/lib/codecs

also, have you tried using mplayer - there's some .tgz's at linuxpackages.net if you don't feel like compiling it.....
http://www.linuxpackages.net/pkg_details.php?id=5626
 
Old 08-06-2005, 01:11 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I got the "essential" codecs from MPlayer's site. Also, I don't have a folder called /usr/lib/codecs. Hmm, I'll try getting MPlayer instead perhaps, or just getting the other codecs.

Thanks.
 
Old 08-06-2005, 01:19 AM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
install those codecs in /usr/lib/win32

by default xine looks over there

if u do not have that directory then create one

regards
 
Old 08-06-2005, 01:21 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I did put them in /usr/lib/win32 (see post #5), but it still doesn't work.
 
Old 08-06-2005, 01:26 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
ok can u try that as root?
 
Old 08-06-2005, 01:29 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Try what as root?
 
Old 08-06-2005, 01:36 AM   #12
Rory in Toronto
Member
 
Registered: Mar 2004
Posts: 136

Rep: Reputation: 15
which distro are you using?

btw, he meant opening mplayer in root and then trying to run a wmv file.

Personally, I find this page always does the trick for me
http://cambuca.ldhs.cetuc.puc-rio.br/xine/

Allows to to enable all of Xine's functionality using the latest available version. Follow the steps and you should be okay.
 
Old 08-06-2005, 01:38 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I'm using Slack 10.1 and I don't have MPlayer; I'm trying to get this to work with Xine. Slack doesn't use RPMs either.
 
Old 08-06-2005, 01:39 AM   #14
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
run xine as root

regards
 
Old 08-06-2005, 01:42 AM   #15
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Quote:
Originally posted by Nylex
I did put them in /usr/lib/win32 (see post #5), but it still doesn't work.
Not sure about Xine but to install the codecs properly for Mplayer you need to extract them to /usr/lib/win32 before installing or re-compile mplayer... This way it can generate the needed /etc/mplayer/codecs.conf file so it knows the codecs are available...

try:

mplayer -vc help

for a list of already available codecs and there working state...

KC
 
  


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
How to make xine/kaffeine play WMV????? caleb star Linux - Software 4 01-31-2006 06:15 PM
Playing WMV files with MPlayer or Xine dth1 Linux - Software 7 08-16-2005 05:18 AM
Mplayer cannot play wmv files jrmontg Linux - Software 5 01-27-2005 05:58 AM
Cant Play wmv files on mplayer or xine irish rebel Linux - Software 1 10-22-2004 10:32 PM
Cannot play wma or wmv files in mplayer Fear58 Linux - Software 4 07-31-2004 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration