i've been writing a small HOWTO for getting mandrake set up how i want it. it's not redhat, but the procedures should be really close here. This is the portion that deals with mplayer, gmplayer, and the mplayerplug-in. I got this information from various places on the web, so sorry that i'm not giving credit where it is due, i just compiled what worked for me. feedback is welcome. Hopefully this will help you out.
Installing mplayer (with gui)
-This can get complicated, especially if you're not used to compiling things from source. Of course, you can just use the stock mplayer-gui rpm from Drake, but why when compiling from source is so much better/fun? Seriously though, this is a program where compiling from source has its advantages. First get the latest files:
a) latest mplayer source (mplayerhq.hu)
b) latest essential codecs file (mplayerhq.hu)
c) latest mplayer plugin source (mplayerplug-in.sourceforge.net)
Follow the steps:
A) Unpack essential codecs file somewhere. Create directory (as root) /usr/local/lib/codecs. in terminal (as root): type chown yourusernamehere /usr/local/lib/codecs to give yourself access to this directory. Then copy all the files from the unpacked essential codecs file into /usr/local/lib/codecs.
B) Unpack mplayer source code somewhere. in terminal (root) navigate there and type ./configure --enable-gui this is going to take a few seconds. if everything you need is installed, it'll tell you to go on and compile the program. if you get some errors, you need to install what it asks for. Common for me was:
i) "X11 support required for GUI compilation" that means you need to install the X11 devel rpm (Xfree86 devel).
ii) missing GTK devel packages error means you need to install install libgtk devel rpms. they show up as libgtk+2.0-devel or libgtk+1.2-devel. I highly suggest taking the 1.2 route, since it seems impossible to get all the dependencies for 2.0
C) Once everything is configured, you need to type 'make' (without quotes) at the command line as root. This will take awhile. Assuming no errors, after it is done, type 'make install'. Sweet! Now mplayer is installed, but we still need to do some things for the gui.
D) download font of choice (mine was font-arial-iso-8859-1.tar.bz2). extract file. *THIS IS IMPORTANT* In extracted directory, choose directory of the font size you want. copy *ONLY* the contents of that directory to /usr/local/share/mplayer/font
E) download skin of choice (mine was Blue-1.2.tar.bz2) Extract file. Copy *ONLY* the contents of extracted directory to /usr/local/share/mplayer/Skin/default ('default' directory must be created)
F) Type 'gmplayer' in console (as any user) and you should be up and running. create your own icon.
G) mplayerplug-in for mozilla:
i) First, download latest source (mplayerplug-in.sourceforge.net). Unpack it somewhere. You'll need the gecko sdk. Get it at http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases
choose the latest release, and then download the gecko sdk tar file that matches your architecture. extract that somewhere.
ii) in console, navigate to your unpacked mplayerplug-in directory. type ./configure --with-gecko-sdk=/path/to/geckosdkhere
iii) change to root, and then type 'make' If all is well, two files will be created in the directory you just configured:
copy these somewhere to be used later without having to build them if you reinstall. you will need to copy mplayerplug-in.so to the plugins directory of your firefox install and mplayerplug-in.xpt into the components directory of firefox. That is all you need. Testing can be done at apple's quicktime page for cinematic previews and various other pages where streaming media is used.