Click to See Complete Forum and Search --> : Want to make sure Mplayer/Mplayerplugin looks to /usr/lib/win32 for codecs. How so?


ausar
08-11-2004, 01:12 PM
Trying to install Mplayer from easy urpmi sources below and i get these errors. Why is this and how do I fix it? I am trying to install from easy urpmi to get the latest version of Mplayer so that I can get the Mozilla embedded media thing sqaured away. I just recently reinstalled linux due to the fact that I couldn't get into my webct class to do a test on time so now I am back at t he drawing board just trying to do everything righ this time. Anyways, any help is greatly appreciated. This has happened twice already. I tried to change the easy urpmi sources again and I still get this error. Someone on another forum said that installing Mplayer this way is the best way because you get all the latest codecs and such all from easy urpmi.


urpmi.addmedia plf ftp://ftp.club-internet.fr/pub/linux/plf/mandrake/10.0 with hdlist.cz
urpmi.addmedia --update updates ftp://raven.cslab.vt.edu/pub/linux/...dates/10.0/RPMS with ../base/hdlist.cz
urpmi.addmedia main ftp://mirror.cs.wisc.edu/pub/mirror...6/Mandrake/RPMS with ../base/hdlist.cz
urpmi.addmedia contrib ftp://ftp.rutgers.edu/pub/Mandrakel....0/contrib/i586 with ../../i586/Mandrake/base/hdlist2.cz
urpmi.addmedia jpackage ftp://ftp-stud.fht-esslingen.de/pub...b/jpackage/i586 with ../../../i586/Mandrake/base/hdlist3.cz



[root]# urpmi mplayer
To satisfy dependencies, the following packages are going to be installed (34 MB
):
libdha1.0-1.0-0.pre5.2plf.i586
libfaad2_0-2.0-4plf.i586
liblame0-3.96.1-1plf.i586
libpostproc0-1.0-0.pre5.2plf.i586
libxvid4-1.0.1-1plf.i586
mplayer-1.0-0.pre5.2plf.i586
real-codecs-1.2-1plf.i586
win32-codecs-1.6-1plf.i586
xanim-codecs-1.0-3plf.i586
Is this OK? (Y/n) y

ftp://ftp.club-internet.fr/pub/linu.../liblame0-3.96.
1-1plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../real-codecs-1.
2-1plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../libfaad2_0-2.0
-4plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../win32-codecs-1
.6-1plf.i586.rpm
...retrieving failed: curl failed: exited with 19 or signal 0

ftp://ftp.club-internet.fr/pub/linu.../libpostproc0-1 .0-0.pre5.2plf.i586.rpm
...retrieving failed: curl: (19) Given file does not exist
installing /var/cache/urpmi/rpms/liblame0-3.96.1-1plf.i586.rpm /var/cache/urpmi/ rpms/real-codecs-1.2-1plf.i586.rpm /var/cache/urpmi/rpms/libfaad2_0-2.0-4plf.i58 6.rpm /var/cache/urpmi/rpms/win32-codecs-1.6-1plf.i586.rpm
Preparing... ##################################################
1:win32-codecs ##################################################
2:liblame0 ##################################################
3:real-codecs ##################################################
4:libfaad2_0 ##################################################
Installation failed, some files are missing:
ftp://ftp.club-internet.fr/pub/linu.../xanim-codecs-1 .0-3plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../mplayer-1.0-0. pre5.2plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../libdha1.0-1.0- 0.pre5.2plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../libxvid4-1.0.1 -1plf.i586.rpm
ftp://ftp.club-internet.fr/pub/linu.../libpostproc0-1 .0-0.pre5.2plf.i586.rpm
You may want to update your urpmi database

WayStar
08-11-2004, 03:10 PM
I use Easy Urpmi all the time. When you entered the urpmi.addmedia lines from Easy Urpmi, what was the output?

I find sometimes when I scroll up through the output that some of the sources didn't get added properly.

I've also found recently that within the span of a few hours, my lists are out of date. That is, the urpmi lists say that something is available, but when I try to download and install it finds it isn't there.

As a last resort, you can search for the missing files and download them manually. You can then install from the command line, or (and this is what I've done) you can temporarily add your download directory as a source. You could do it from the command line or from the Software Media Manager interface.

urpmi then treats your download directory just like any of the other sources.

Good luck, let us know how it goes.

-Waylena

ausar
08-11-2004, 04:16 PM
Thats exactly what I did. Thanx! I searched for all missing files at RPM Search.com and installed them manually. Now I got the mplayer and mplayerplugin working properly. now I just want to make sure that the Mplayer and Mplayerplugin is looking to /usr/lib/win32 for the codecs so that I won't run into any problems in the future. I also want to add a desktop icon for Mplayer but I don't know how to.

hard candy
08-11-2004, 09:37 PM
I believe in mplayer configuration (the gui part at least) there is an option to point to the codecs.
And for a desktop icon, right click on the desktop, then "Create new" then "link to application", and put in the path to the application (usually /usr/bin/program). You can choose an icon or make your own.

cybertron
08-12-2004, 09:02 AM
I'm pretty sure that if you only put codecs in /usr/lib/win32 then that is where MPlayer will look for them. The problem is that MPlayer has to be compiled to use the codecs there, so unless the RPM builder compiled it with them, I don't think MPlayer will use them anyway.

On the other hand, maybe I'm wrong if what hard candy says is true. I don't use the built-in GUI because I don't like some things about it so I don't really know how it works.

ausar
08-12-2004, 04:25 PM
I dunno, I used a rpm from RPM Search.com. Do you think that made a difference? Is there anyway I can config it to look to look to that directory for codecs? BTW, I cannot get desktop link to the app to work. Even when I go into /usr/bin/ and double click on it, it still doesn't open up.

hard candy
08-12-2004, 04:53 PM
In /usr/bin, look for an app "gmplayer", I forgot to tell you that mplayer itself is a commandline only program. See if you can find gmplayer, if not look in usr/docs and see what the mplayer docs say about enabling the GUI.

cybertron
08-12-2004, 05:49 PM
If there is no gmplayer, you will either have to recompile from source or download the mplayer-gui rpm. There's no way to enable the GUI (that I know of) after MPlayer is compiled, but sometimes the RPM's for MPlayer and the GUI are separate.

ausar
08-13-2004, 05:15 AM
Downloaded latest gmplayer rpm, linked it to the desktop, and it worked like a charm. Now i just want to make sure it is looking to /usr/lib/win32 for the codecs.

cybertron
08-13-2004, 01:51 PM
Well, the simplest approach I can think of would be to find a file that won't play without the codecs, put the codecs in /usr/lib/win32, and then try playing it again and see if MPlayer uses the codecs. Or look around the GUI like hc said and see if there's someplace there for you to set the codec directory.

ausar
08-13-2004, 02:05 PM
Originally posted by cybertron
Well, the simplest approach I can think of would be to find a file that won't play without the codecs, put the codecs in /usr/lib/win32, and then try playing it again and see if MPlayer uses the codecs. Or look around the GUI like hc said and see if there's someplace there for you to set the codec directory.

I tried the gui approach but that wasn't fruitful. Here is a pic of that menu...

http://imageuploading.com/040813/1092420787.png

For some reason, I can't get Ksnapshot to take a picture with the drop-down menu open.