Svn checkout svn:///mplayer/trunk mplayer & \ Now to finally download and compile the svn MPlayer, bear in mind that you will be asked to also download the FFmpeg git source during this process which you should allow by pressing 'enter' when directed. You could return to this section from time to time to update x264 by running git pull and then recompiling, and I would still recommend some experimentation with either FFmpeg or x264 for easier encoding. Note that static linking with x264 and others now works in the current svn of MPlayer. enable-static -disable-cli $ARCHOPTS & \ configure -prefix=$HOME/mplayer_build/mplayer_deps/usr \ Nevertheless many people are still keen on MEncoder (several scripts and applications still use it) so the following single command installs a local copy of this great encoder's libraries for MEncoder to use. The best encoder for h.264 video is x264, probably better used directly from the x264 commandline or even indirectly through FFmpeg. There is a continuing drive to bring access to these file formats under the libavcodec umbrella so hopefully one day these codecs will no longer be necessary. Sudo cp -v all-20110131/* /usr/local/lib/codecsīear in mind that codecs for 64 bit users are pretty minimal, the real benefits here are for the 32 bit users. Some may prefer to use the Medibuntu repository for this but I personally prefer to keep exposure to all external repositories and PPAs to a minimum. MPlayer benefits from the use of some external codecs and these can be downloaded directly from the MPlayer website. Next to download some files external to the Ubuntu repositories: Our Arch colleagues outline the issues well and this page can also be helpful for both vlc and MPlayer users to get playback of their own legally purchased bluray disks. You will note that I have included the necessary files for bluray playback but more work will be required before playback of encrypted disks can occur. Libmpg123-dev libopus-dev libbluray-dev libaacs-devīe a little wary of omitting any of these files as often a single file given here pulls in several more that are essential to a good MPlayer installation but feel free to add a few if required. Libmad0-dev libgsm1-dev libbs2b-dev liblzo2-dev ladspa-sdk libopenjpeg-dev libfaad-dev \ Libopencore-amrnb-dev libopencore-amrwb-dev libmp3lame-dev liblivemedia-dev libtwolame-dev \ Libogg-dev libxvidcore-dev libspeex-dev libvpx-dev libschroedinger-dev libdirac-dev libdv4-dev \ Libxxf86vm-dev librtmp-dev libsctp-dev libass-dev libfaac-dev libsmbclient-dev libtheora-dev \ Libsdl1.2-dev libsvga1-dev libvdpau-dev libxinerama-dev libxv-dev libxvmc-dev libxxf86dga-dev \ Libfribidi-dev libgif-dev libgl1-mesa-dev libjack-jackd2-dev libopenal1 libpulse-dev \ Libdirectfb-dev libggi-target-fbdev libenca-dev libesd0-dev libfontconfig1-dev libfreetype6-dev \ Sudo apt-get -y install libaa1-dev libasound2-dev libcaca-dev libcdparanoia-dev libdca-dev \ The following single command downloads a considerable volume of so-called -dev files for MPlayer to use: Next a considerable volume of interlinked development files are required: pkgname yasm -pkgversion "1.2.0" -fstrans=no \ Sudo checkinstall -pakdir "$HOME/mplayer_build" -backup=no -deldoc=yes \ Tar xvf yasm-1.2.0.tar.gz & cd yasm-1.2.0 & \Ĭp -v Artistic.txt AUTHORS COPYING doc-pak & \ The version of yasm in Quantal is a little dated so the following single command downloads, compiles and installs an updated version: To start with some basic tools are required, we will also create our build directory:īy default Ubuntu does not install compiling tools so we will rectify this first: sudo apt-get -y install build-essential subversion checkinstall git-core \ĭocbook-xml docbook-xsl xsltproc libxml2-utils & \ This guide aims to demonstrate how to build the development version of MPlayer under the latest release version of Ubuntu, currently this guide is aimed at Quantal Quetzal. This guide will work for Ubuntu 12.10 Quantal Quetzal, perhaps with some variation for other versions of Ubuntu as well, and hopefully in building the bleeding edge version of MPlayer we will all have great fun! I believe that it is best to run the latest version of Ubuntu to successfully compile MPlayer so I hope that future wiki writers will rewrite this guide to match each Ubuntu release. Support is available for this guide on the Ubuntu Forums. The guide was formerly hosted in the 'Tutorials and Tips' section of the Ubuntu Forums where early versions began on September 17th, 2007, but was transferred to this wiki in July 2012. This guide details how to install the development version of MPlayer on the latest release version of Ubuntu Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |