![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
| View Poll Results: Was this howto helpfull? | |||
| Yes |
|
124 | 89.86% |
| No |
|
14 | 10.14% |
| Voters: 138. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Fresh Brewed Ubuntu
![]() |
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: 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 Code:
sudo apt-get update 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: Code:
tar xjvf essential-20060501.tar.bz2 Still inside the essential codecs dir you have just extracted, do it: Code:
sudo mkdir /usr/lib/win32 sudo cp * /usr/lib/win32 Do it on a terminal: Code:
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: Code:
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer cd mplayer 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 Code:
./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 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! Last edited by sapo; November 24th, 2006 at 09:35 AM.. |
|
|
|
|
|
#2 |
|
Gee! These Aren't Roasted!
![]() Join Date: Oct 2005
Beans: 175
Ubuntu 8.10 Intrepid Ibex
|
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
Did it work for you?
Last edited by philetus; June 3rd, 2006 at 09:41 PM.. Reason: too long |
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() |
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
so, being the noob that i am, i installed m-player using apt get. is compiling it that much better? i would really love to reap the best quality for my xvids etc
|
|
|
|
|
|
#4 | |
|
A Carafe of Ubuntu
![]() |
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
Quote:
if you compile it for yourself you may put the codecs in mplayer which you prefer most btw: mplayer > *
__________________
free speech and free beer When you create a new thread - post _all_ necessary logfiles - a good structure is essential - highlight important stuff |
|
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: May 2005
Beans: 50
|
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
i did compile but get this message :
gmplayer: error while loading shared libraries: libjack-0.80.0.so.0: cannot open shared object file: any idears ? |
|
|
|
|
|
#6 | |
|
Fresh Brewed Ubuntu
![]() |
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
Quote:
btw, this lib is on the breezy reps but it seens that dapper doesnt have it, i ll try finding a link so you can install it. |
|
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2005
Beans: 21
|
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
Hey, thanks for the howto
About the x264 - I remember that in some post (can't find it) someone put instructions to change something in "codecs.conf" (i'm not sure about the file name) and when I did those instructions I had h264 decoding... and very good, more then in totem... Hope I've helped..and sorry for my english, I'm not a native speaker.. |
|
|
|
|
|
#8 |
|
Has an Ubuntu Drip
![]() |
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
I have no problem using ffmpeg and mplayer last cvs version with x264.
|
|
|
|
|
|
#9 | |
|
Fresh Brewed Ubuntu
![]() |
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
Quote:
|
|
|
|
|
|
|
#10 |
|
Has an Ubuntu Drip
![]() |
Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.
I know, though ffmpeg is back.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|