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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-05-2005, 10:07 AM
|
#1
|
Member
Registered: Dec 2002
Posts: 187
Rep:
|
How to make xine or mplayer play .wmv files
Anyone know how to make xine and mplayer play windoze media files (.wmv) ?
|
|
|
08-05-2005, 10:44 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
get the full codecs from mplayerhq.hu and install in /usr/lib/win32
regards
|
|
|
08-05-2005, 10:58 AM
|
#3
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
08-05-2005, 11:07 AM
|
#4
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
is it not found? did you try linking cook.so.6.0 to cook.so?
|
|
|
08-05-2005, 11:10 AM
|
#5
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
08-06-2005, 01:11 AM
|
#7
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
08-06-2005, 01:19 AM
|
#8
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
install those codecs in /usr/lib/win32
by default xine looks over there
if u do not have that directory then create one
regards
|
|
|
08-06-2005, 01:21 AM
|
#9
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
I did put them in /usr/lib/win32 (see post #5), but it still doesn't work.
|
|
|
08-06-2005, 01:26 AM
|
#10
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
ok can u try that as root?
|
|
|
08-06-2005, 01:29 AM
|
#11
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Try what as root?
|
|
|
08-06-2005, 01:36 AM
|
#12
|
Member
Registered: Mar 2004
Posts: 136
Rep:
|
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.
|
|
|
08-06-2005, 01:38 AM
|
#13
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
08-06-2005, 01:39 AM
|
#14
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
run xine as root
regards
|
|
|
08-06-2005, 01:42 AM
|
#15
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|