Click to See Complete Forum and Search --> : How I installed mplayer on debian unstable


happybunny
08-14-2006, 08:22 PM
Around here mplayer is the end-all-be-all movie player, dvd back'r up'r, and all around good chap.

I have always had issue's with installing mplayer but I think i finally got it this time! So I thought I'd share.

Following my other post (http://www.justlinux.com/forum/showthread.php?t=146610), install debian unstable.

Then you need some "framework" to support x11 and gui support for mplayer, so lets do that first.
This is basically where I have lost it in the past....one of these things was missing (xorg-dev)but I could never figure it out which one. I guess xorg-dev is different than xserver-xorg-dev.

# apt-get install libgtk2.0-dev w32codecs xorg-dev libpng12-0 libpng12-dev

Ok...now download MPlayer and some "essential-codecs" from http://www.mplayerhq.hu/design7/dload.html

Untar the essentials-codecs and put the output into /usr/local/lib/codecs (you may have to create the codecs directory first).

Now, lets untar the MPlayer.xxxx.bz2 file somewhere:

# tar jxvf MPlayer.xxxxx.bz2 -C /tmp/ (or anywhere you want)

now, move into your newly extracted folder (cd /tmp/MPlayer.x.x.xx)

# ./configure --enable-gui

# make

# make install

Wow...that wasn't so hard was it?

Now lets check mplayer to see if x11 or xv is an output option:

# mplayer -vo help

Does that list x11? (I hope so)

So, to get a "gui" mplayer working, download a Skins here http://www.mplayerhq.hu/design7/dload.html

unzip which ever skin you want and copy it to ~/.mplayer/skins/ (you may have to create the skins directory first).

Which ever skin in this folder is called "default" will be your default skin when you launch the gui mplayer.....do so at the command line with "gmplayer" or by creating a menu option in your favorite desktop manager.

enjoy

happybunny
08-14-2006, 10:10 PM
well, after i finally got this to work, someone mentions adding :

deb http://debian-multimedia.org unstable main

to /etc/apt/sources.list and simply doing an apt-get install mplayer.....


where were you 2 hours ago!!!!

ladoga
10-31-2006, 10:50 PM
Atleast you can configure in all the options YOU want. :)

I always compile mplayer from source too, just because of that.

Sepero
01-11-2007, 10:01 PM
Keep www.apt-get.org bookmarked. Search unofficial Debian repositories.

paj12
01-11-2007, 10:12 PM
It should be noted that, as of December 2006, mplayer is in Debian unstable and testing. All that should be necessary to install it is a simple:
apt-get install mplayer
http://packages.debian.org/unstable/graphics/mplayer

Sepero
01-12-2007, 04:53 AM
Cool, thanks for the info. :)