LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to make xine or mplayer play .wmv files (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-xine-or-mplayer-play-wmv-files-350270/)

kkempter 08-05-2005 10:07 AM

How to make xine or mplayer play .wmv files
 
Anyone know how to make xine and mplayer play windoze media files (.wmv) ?

masand 08-05-2005 10:44 AM

get the full codecs from mplayerhq.hu and install in /usr/lib/win32


regards

Nylex 08-05-2005 10:58 AM

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?

Genesee 08-05-2005 11:07 AM

is it not found? did you try linking cook.so.6.0 to cook.so?

Nylex 08-05-2005 11:10 AM

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?

Genesee 08-05-2005 11:36 PM

:scratch: 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

Nylex 08-06-2005 01:11 AM

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.

masand 08-06-2005 01:19 AM

install those codecs in /usr/lib/win32

by default xine looks over there

if u do not have that directory then create one

regards

Nylex 08-06-2005 01:21 AM

I did put them in /usr/lib/win32 (see post #5), but it still doesn't work.

masand 08-06-2005 01:26 AM

ok can u try that as root?

Nylex 08-06-2005 01:29 AM

Try what as root?

Rory in Toronto 08-06-2005 01:36 AM

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.

Nylex 08-06-2005 01:38 AM

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.

masand 08-06-2005 01:39 AM

run xine as root

regards

kencaz 08-06-2005 01:42 AM

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 08:04 PM.