Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2007
How To Get All Codecs For Mplayer
- Join Date
- Mar 2007
- North Yorkshire, UK
The MPlayer Plug-In was the one thing that I had most trouble installing.
You can download the source here.
But the dependencies are what caused me the issues.
Once you have the mplayerplug-in source downloaded, untar it. (I have a folder named "apps" to make things easier). You'll need to open a terminal (e.g. konsole), go to where the file is ("cd /home/USERNAME/apps"), and then type: "tar xvzf mplayerplug-in-3.40.tar.gz"
Then, in Konqueror, open up the file named INSTALL in the mplayerplug-in directory.
You'll see that you need;
mozilla-devel OR gecko-sdk, GTK development files, X11 development files, Xpm development, and pkg-config
For gecko-sdk (since I had trouble finding mozilla-devel);
Get it here. Put this in the "apps" folder. Untar it. The version for Firefox 1.5+ is a bz2 archive, so use "tar xvjf gecko-sdk-i686-pc-linux-gnu-184.108.40.206.tar.bz2" to untar it.
Assuming you're running Linux on a "regular" PC (i386 and not PPC, x_64 etc), you can find:
GTK Development files here. (the "requires" are very important here. If you have trouble installing this, then it's because you're missing other important packages. Be sure to check that you have what you need.)
X11 Development files (and Xpm development files) here. (check "requires" again here)
pkg-config here. (and check "requires" here, too)
Now, when you install these, you may still find that you need other things. Because the above things may be dependent on other things...
But once you have all this installed, you can go back to Konsole and (in the mplayerplug-in folder) type "./whatoptions.sh"
This will tell you to use either gtk1 or gtk2
Then type "./configure --with-gecko-sdk=/home/USERNAME/apps/gecko-sdk --enable-gtk1"
Make sure you put in the correct path to the gecko-sdk folder, and that you have the correct version of gtk chosen.
This will check to make sure you have everything you need. If it gives you a message about something that's missing, then either post here, or find the package you need and install it. Then run the ./configure line again.
Once the configure part goes through okay type "make"
Once that is done (and it could take a while), type "sudo make install" (then your root password).
That should be it....