http://www.mplayerhq.hu/homepage/design7/info.html
From disposable's thread http://www.ubuntuforums.org/showthread.php?t=94
Be aware that MPlayer has no support for DVD menus, so you cannot access the additional features of your DVD with MPlayer (like Chapter / Scene selection, Languages, Sound, Zoom, Extras, etc. If you wish to have DVD Menu support, install Xine or Ogle.)
For a different version using "Sarge" codecs (more up to date) go to page 5.
Copy/Paste the code into your favourite editor, save it as mplayer.sh (Find an Attachment at bottom).
Code:
sudo mkdir mplyr
cd mplyr
# get & install Ubuntu packages
apt-get install manpages-dev automake autoconf libtool flex bison gcc-doc g++ x-window-system-dev libgtk1.2-dev libpng12-dev -y
#
# get mplayer program
wget http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre5try2.tar.bz2
#
# get codecs
wget http://ftp5.mplayerhq.hu/mplayer/releases/codecs/essential-20041107.tar.bz2
#
# get fonts
wget http://ftp5.mplayerhq.hu/mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
#
# get skin (my default skin is "phony")
# ***********************************
# go to http://www.mplayerhq.hu/homepage/design7/dload.html to choose a
# different skin. Right Click your favourite *** [HTTP] *** skin, Copy Link Location,
# paste it over the following line after wget)
# ***********************************
wget http://ftp5.mplayerhq.hu/mplayer/Skin/phony-1.1.tar.bz2
#
tar -xjf MPlayer-1.0pre5try2.tar.bz2
cd MPlayer-1.0pre5try2
./configure --enable-gui
make
make install
#
cd ..
tar -xjf essential-20041107.tar.bz2
mkdir -p /usr/local/lib/codecs
cp essential-20041107/* /usr/local/lib/codecs/
#
tar -xjf font-arial-iso-8859-1.tar.bz2
cp font-arial-iso-8859-1/font-arial-14-iso-8859-1/* /usr/local/share/mplayer/font/
#
# ***********************************
# If you decide on a different skin, you'll have to change the name "phony"
# (after tar -xfj) to your skin file name
# ***********************************
tar -xjf phony-1.1.tar.bz2
mkdir -p /usr/local/share/mplayer/Skin/default
# ***********************************
# change the word "phony" with the name of your preferred skin
# ***********************************
cp -r phony/* /usr/local/share/mplayer/Skin/default/
#
cp MPlayer-1.0pre5try2/etc/* /usr/local/etc/mplayer/
#
# get dvd codecs
wget http://www.las.ic.unicamp.br/pub/debian.d/debian-marillat/dists/unstable/main/binary-i386/libdvdcss2_1.2.8-0.0_i386.deb
#
# install dvd codecs
dpkg -i libdvdcss2_1.2.8-0.0_i386.deb
#
cd ..
# start gmplayer program
gmplayer
#
exit
Now exectute the shell script:
If you see the program start up - SUCCESS.
Insert a DVD. Push the DVD play button (not the |> button).
The movie should start to play. Check the sound quality. Close out the MPlayer program. The Root Terminal window will close.
To put MPlayer into your Applications Menu:
Code:
Applications -> Multimedia -> (go to the right pane, right click) -> Entire Menu -> Add New Item To This Menu ->
Name: MPlayer
Generic Name: Media Player
Comment: The Media Player
Command: /usr/local/bin/gmplayer
Hit the "No Icon" button
Find the "media-player-48.png" picture, select it, hit the "OK" button.
Hit the "OK" button
.
Bookmarks