hi all, 


The web information about installing mplayer mostly involves
using an automated installer such as yum for Fedora or Redhat
products.  Some of us want to know what's actually being installed
so we can maintain our own box's.  Knowing what packages are installed
is a minimum. Installing mplayer "by hand" is not a simple task 
on Fedora Core 6.

One "automated method" to install is a program called "yum"
to set up and install mplayer automagically.  "yum" is what I would
call an automated installer, and is the easy way.
This article doesn't discuss this method.
The following two links have a lot of information
on setting up your FC6 Mozilla product plugins.
These include Mozilla, Firefox, and Seamonkey.


http://gagme.com/greg/linux/fc6-tips.php
http://www.mjmwired.net/resources/mjm-fedora-fc6.html


If you're like  me, you may want to install mplayer
related packages manually in order to see what happens in detail.
My install was done with the rpm package manager.
This means figuring out all the rpm package dependencies.

My box with FC6 has firefox installed in the normal
place, /usr/lib/firefox-1.5.0.9, and 
seamonkey 1.1 installed in /usr/local/seamonkey.
You should be able to achive the same results as this article
for any Mozilla browser product by locating the plugin directory.

This document explains how to have the mplayer plugin work
in your Mozilla (Firefox)  window with most media "files".  
It does NOT describe
how to install the standalone mplayer graphical program,
nor does it explain how to install a video DVD plugin.
I'm hoping someone will help me with these two missing pieces.


The first thing I did was download two mplayer files in order
to scope out dependency files.  I then searched for the
package names that would include the files.

The two mplayer files, mplayer and mplayerplug-in, were retrieved from:
http://atrpms.net/dist/fc6/mplayer/
( exact filenames below )

(note: you must su as root to install rpms.)

[root@mailhost FC6-addons]# rpm -Uvh mplayer-1.0-57_rc1.fc6.at.i386.rpm
mplayerplug-in-3.31-30.fc6.at.i386.rpm
warning: mplayer-1.0-57_rc1.fc6.at.i386.rpm: Header V3 DSA signature: NOKEY,
key ID 66534c2b
error: Failed dependencies:
       libaa.so.1 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libdirect-0.9.so.25 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libdirectfb-0.9.so.25 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libdvdnav.so.4 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libfaac.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libfusion-0.9.so.25 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       liblirc_client.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       liblzo.so.1 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libmad.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libmp3lame.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libxvidcore.so.4 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       mplayer-fonts is needed by mplayer-1.0-57_rc1.fc6.at.i386
       mplayer-skin-mini is needed by mplayerplug-in-3.31-30.fc6.at.i386


The files are rearranged and matched to package names.
Four are found in Fedora extras.

aalib-1.4.0-0.11.rc5.fc6.i386.rpm, Fedora Extras
       libaa.so.1 is needed by mplayer-1.0-57_rc1.fc6.at.i386

directfb-0.9.25.1-3.fc6.i386.rpm, Fedora Extras
       libdirect-0.9.so.25 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libdirectfb-0.9.so.25 is needed by mplayer-1.0-57_rc1.fc6.at.i386
       libfusion-0.9.so.25 is needed by mplayer-1.0-57_rc1.fc6.at.i386

lirc-0.8.1-0.2.pre2.fc6.i386.rpm, Fedora Extras
       liblirc_client.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386

lzo-2.02-2.fc6.i386.rpm, Fedora Extras   *(1)
       liblzo.so.1 is needed by mplayer-1.0-57_rc1.fc6.at.i386

libdvdnav-0.1.10-3.fc6.i386.rpm,  zod.freshrpms.net
       libdvdnav.so.4 is needed by mplayer-1.0-57_rc1.fc6.at.i386

faac-1.24-3.fc6.i386.rpm, zod.freshrpms.net  *(2)
       libfaac.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386

libmad-0.15.1b-4.fc6.i386.rpm,  zod.freshrpms.net
       libmad.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386

lame-3.97-1.fc6.i386.rpm, zod.freshrpms.net
       libmp3lame.so.0 is needed by mplayer-1.0-57_rc1.fc6.at.i386

xvidcore-1.1.2-1.fc6.i386.rpm, zod.freshrpms.net
       libxvidcore.so.4 is needed by mplayer-1.0-57_rc1.fc6.at.i386

mplayer-fonts-1.1-3.fc.noarch.rpm, zod.freshrpms.net
       mplayer-fonts is needed by mplayer-1.0-57_rc1.fc6.at.i386

mplayer-skin-mini-0.1-11.1.at.noarch.rpm, atrpms.net *(3)
       mplayer-skin-mini is needed by mplayerplug-in-3.31-30.fc6.at.i386


NOTES:

(1)  the package in FC6 extras is not the version required, as  it's
too new ( lzo-2 ).  What you actually NEED is lzo-1, which is found
in lzo-1.08-7.fc5.i386.rpm.  While it says fc5, it worked.
Installing lzo-2 and adding a soft link from the lzo library file
( without installing lzo-1) doesn't work either, because something
isn't updated in the rpmdb.

While reviewing this document, I found a lzo for fc6 on atrpms.net:
lzo-1.08-7.fc6.i386.rpm.  However, it doesn't work and reviewing the
file list inside shows only /doc files- the binaries are missing.

The name libzol showed up somewhere; I know its a plug-in for lzo,
but in the end, is not needed.

(2)  faac depends upon faad2. SO you need to get:
faad2-2.0-8.fc6.i386.rpm , atrpms.net

faad2 contains libmp4v2.so.0
File libmp4v2 is also contained in Fedora Extras as:
libmp4v2-1.5.0.1-3.fc6.i386.rpm
If you install the Extras file, you will get a version conflict.

(3) to find mplayer-skin-mini at site atrpms.net, you need to click on the
menu
for mplayer-skins, which will give a new web page and selection.
mplayer-skins is not needed.

(4) At one time, I also got a dependency note for SDL-mixer package.
Again, in the end, it's not needed.

(5)  I don't know if mplayer, and mplayer-plugins can be separate
and distinct.  Would appreciate some outside advice. 

(6) libartsc.so.0 file is required for mplayer.
It's in Fedora Core 6 disk2 as:
arts-1.5.5-0.1.fc6

(7) libfribidi.so.0 is required for mplayer.
It's in Fedora Core 6 disk2 as:
fribidi-0.10.7-5.1.i386.rpm




Plugin conflict

Suppose you use seamonkey to browse media files, and
suppose you have both totem and mplayer plugins installed to 
play wmv files within the seamonkey browser.

Now, suppose you click on a wmv file and seamonkey keeps trying to 
start totem, and you really want mplayer to do the work.

If you do menus:  
help -> About Plugins

You can see a list of all the plugins that Seamonkey can use.
However, there appears to be no way to select the order of the
plugins.   This might be possible in the URL: "about:config"
but I haven't investigated that.

It appears Seamonkey recognizes all plugins based merely on their
presence in the "plugins" directory- i.e. /usr/local/seamonkey/plugins/.
I would guess the plugins have some identifying feature in the file itself.

To solve this plugin conflict, what I did was to create a new directory: 
mkdir /usr/local/seamonkey/walts_extra_plugins.
Then I merely moved all the totem "lib" files, such as
libtotem-basic-plugin.so:
mv /usr/local/seamonkey/plugins/libt*
/usr/local/seamonkey/walts_extra_plugins/




---SUMMARY---:

So, here are the packages you need to install mplayer
in FC6:

-Fedora core:

Remember, installed files are dependent on what you
selected during the Fedora install session, such as "workstation" 
or "server", or "kde" or "gnome".

arts-1.5.5-0.1.fc6
fribidi-0.10.7-5.1.i386.rpm

-Fedora extras:

aalib-1.4.0-0.11.rc5.fc6.i386.rpm    76k    ND
directfb-0.9.25.1-3.fc6.i386.rpm     1.0M   ND
lirc-0.8.1-0.2.pre2.fc6.i386.rpm     238k   ND

-zod.freshrpms.net:

libdvdnav-0.1.10-3.fc6.i386.rpm      90k    ND
faac-1.24-3.fc6.i386.rpm             80k    
libmad-0.15.1b-4.fc6.i386.rpm        80k    ND
lame-3.97-1.fc6.i386.rpm            428k    ND
xvidcore-1.1.2-1.fc6.i386.rpm       245k    ND
mplayer-fonts-1.1-3.fc.noarch.rpm   1.0M    ND


- atrpms.net:

mplayer-1.0-57_rc1.fc6.at.i386.rpm        12.3M
mplayerplug-in-3.31-30.fc6.at.i386.rpm    486k  
mplayer-skin-mini-0.1-11.1.at.noarch.rpm  9k
faad2-2.0-8.fc6.i386.rpm                  401k    ND
lzo-1.08-7.fc5.i386.rpm                   17k     ND


* ND = no dependency;  I merely tried installing them one at 
a time.  There may be dependencies between them as I 
didn't check each package for "requires".  I excluded Fedora Core
files as dependencies since that would be impossible to nail down.

------------------------

Rpm sites:

http://atrpms.net/dist/fc6/mplayer/
http://zod.freshrpms.net
rpmfind.net
rpm.pbone.net
rpm.livna.org


Copyright Walter Smith  March 2007
Released under GPL provided credit is given for content.