View Poll Results: Was this howto helpfull?

Voters
140. You may not vote on this poll
  • Yes

    125 89.29%
  • No

    15 10.71%
Page 1 of 21 12311 ... LastLast
Results 1 to 10 of 209

Thread: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.

  1. #1
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Thumbs down Compiling MPlayer from SVN on a fresh Dapper install, wmv, mp4, x264, etc.

    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
    After saving the new sources.list:

    Code:
    sudo apt-get update
    After the update just paste it on the terminal:

    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
    It will download a LOT of stuff, dont be scared its just about 47MB.


    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
    And after that enter the directory you have extracted the package and remove the .deb package rm *.deb on a terminal should do the trick

    Still inside the essential codecs dir you have just extracted, do it:

    Code:
    sudo mkdir /usr/lib/win32
    sudo cp * /usr/lib/win32
    x264 CODEC

    Do it on a terminal:
    Code:
    svn co svn://svn.videolan.org/x264/trunk x264
    cd x264
    ./configure
    make
    sudo make install
    cd ..
    GETTING AND COMPILING MPLAYER FROM SVN

    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
    For Dapper Drake 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
    In Edgy Eft use:
    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
    And the, compile and install
    Code:
    make
    sudo make install
    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.


    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 02:35 PM.

  2. #2
    Join Date
    Oct 2005
    Beans
    195
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.

    Did it work for you?
    Last edited by philetus; June 4th, 2006 at 02:41 AM. Reason: too long

  3. #3
    Join Date
    Jan 2006
    Location
    FL, USA
    Beans
    78
    Distro
    Ubuntu 6.06

    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. #4
    Join Date
    Apr 2005
    Location
    Vienna - Austria
    Beans
    125

    Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.

    Quote Originally Posted by zahidism
    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
    well the point is, that when you install mplayer with apt-get you install it from an official repository and the guys from ubuntu have troubles with the law when they put some codecs in.

    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. #5
    Join Date
    May 2005
    Beans
    49

    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. #6
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.

    Quote Originally Posted by buildid
    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 ?
    Thats weird, did you install all dependencies? are you running a flesh dapper install or did you upgrade from breezy?

    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. #7
    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. #8
    Join Date
    May 2005
    Location
    Paris, France
    Beans
    468
    Distro
    Edgy Eft Testing

    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. #9
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.

    Quote Originally Posted by geearf
    I have no problem using ffmpeg and mplayer last cvs version with x264.
    The x264 in the cvs works fine, but currently the mplayer cvs is down, they are migrating to svn.

  10. #10
    Join Date
    May 2005
    Location
    Paris, France
    Beans
    468
    Distro
    Edgy Eft Testing

    Re: Compiling MPlayer on a fresh Dapper install, wmv, mp4, etc.

    I know, though ffmpeg is back.

Page 1 of 21 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •