Well, i just installed dapper here and while trying to compile mplayer i noticed that the cvs is down (bored2k said that they are migrating to svn) anyway, i cant stay without mplayer with mp4, and other codecs support.. so i m making this first "scratch" of a howto, so people can just read it instead of solving the problems i had to solve.
GETTING THE DEPENDENCIES
First we need to enable the universe and multiverse repos, if you are lazy, just replace the contents of the /etc/apt/sources.list with this:
After saving the new sources.list:Code:deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted deb http://au.archive.ubuntu.com/ubuntu/ dapper universe multiverse deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe multiverse deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu dapper-security main restricted deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse
After the update just paste it on the terminal:Code:sudo apt-get update
It will download a LOT of stuff, dont be scared its just about 47MB.Code:sudo apt-get install build-essential debhelper libx11-dev libxv-dev libpng12-dev checkinstall libavcodec-dev libaa1-dev caca-utils libcaca-dev libavcodec-dev libavifile-0.7-dev libsdl1.2debian-all libsdl1.2-dev libesd0-dev libfaac-dev libfaad2-dev libgtk2.0-dev liblame-dev libice-dev libjpeg62-dev libmatroska-dev libmad0-dev libmpcdec-dev libmp4v2-dev libmikmod2-dev libogg-dev libtheora-dev libvorbis-dev libxinerama-dev libxv-dev xlibs-dev x-dev cvs libquicktime0 libquicktime-dev fakeroot gnome-core-devel libpostproc-dev libx11-dev libxv-dev libavcodec-dev libgtk1.2-dev msttcorefonts nasm subversion
GETTING THE CODECS
Now you need to get the codecs from here:
http://www.mplayerhq.hu/design7/dload.html
Grab the Essential codecs package
To install the Win32 codecs, extract the w32codecs you can double click the package and select extract or in the terminal type:
And after that enter the directory you have extracted the package and remove the .deb package rm *.deb on a terminal should do the trickCode:tar xjvf essential-20060501.tar.bz2
Still inside the essential codecs dir you have just extracted, do it:
x264 CODECCode:sudo mkdir /usr/lib/win32 sudo cp * /usr/lib/win32
Do it on a terminal:
GETTING AND COMPILING MPLAYER FROM SVNCode:svn co svn://svn.videolan.org/x264/trunk x264 cd x264 ./configure make sudo make install cd ..
Now you just have to extract the mplayer package and compile it, to do it
In a terminal go to the directory you have just downloaded the Mplayer Package and type the following:
For Dapper Drake use:Code:svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer cd mplayer
In Edgy Eft use:Code:./configure --prefix=/usr --enable-gui --disable-arts --disable-smb --enable-sdl --enable-x11 --enable-theora --confdir=/etc/mplayer --with-win32libdir=/usr/lib/win32 --enable-menu --enable-tv-v4l2 --disable-liblzo --enable-largefiles --disable-libdv --disable-aa --enable-xvid --enable-x264
And the, compile and installCode:./configure --prefix=/usr --enable-gui --disable-arts --disable-smb --enable-sdl --enable-x11 --enable-theora --confdir=/etc/mplayer --win32codecsdir=/usr/lib/win32 --enable-menu --enable-tv-v4l2 --disable-liblzo --enable-largefiles --disable-libdv --disable-aa
Now you can try it out using mplayer on the command line, to use the it with the GUI you need to run gmplayer, but first you need to install a default skin.Code:make sudo make install
INSTALLING A SKIN
Now the last step is install a Skin:
Go to: http://www.mplayerhq.hu/design7/dload.html and download a skin, Blue is the Default, but i like the QuickSilver skin![]()
Download, extract the contents of the skin package and rename the extracted folder to default
If you downloaded the Blue Skin, do this:
Code:tar xjvf Blue-1.5.tar.bz2 mv Blue default sudo cp -R default/ /usr/share/mplayer/Skin/
SPECIAL THANKS
Special thanx to bored2k for his Mplayer Howto that i ve always used, and the help he gave me on the gtalk, i love you biba
Updates:
Updated the links
Now mplayer fom SVN compiles with GCC 4.0 so i updated the commands and the apt-get command to not download gcc-3.4 anymore.
x264 is working now with the SVN version!



Adv Reply



Bookmarks