<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nepherte (dot) be &#187; MPlayer</title>
	<atom:link href="http://www.nepherte.be/tag/mplayer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nepherte.be</link>
	<description>About Nepherte, Mosiah and the person behind</description>
	<lastBuildDate>Mon, 30 Aug 2010 18:45:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>More information on Nepherte&#8217;s Unofficial User Repository</title>
		<link>http://www.nepherte.be/more-information-on-nephertes-unofficial-user-repository/</link>
		<comments>http://www.nepherte.be/more-information-on-nephertes-unofficial-user-repository/#comments</comments>
		<pubDate>Sun, 30 May 2010 18:20:42 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[libnemesi]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[netembryo]]></category>
		<category><![CDATA[PulseAudio]]></category>
		<category><![CDATA[urxvt]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1322</guid>
		<description><![CDATA[As mentioned earlier, I&#8217;ve set up an unofficial arch user repository to share my builds with everybody. Today I will elaborate a little more on the provided packages. If you look at the current package list: x264 ffmpeg mplayer ffmpeg-mt mplayer-mt mpd netembryo rxvt-unicode you might be wondering why I provide these packages. All but [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned <a href="http://www.nepherte.be/nephertes-unofficial-user-repository/">earlier</a>, I&#8217;ve set up an unofficial arch user repository to share my builds with everybody. Today I will elaborate a little more on the provided packages.</p>
<p>If you look at the current package list:</p>
<ul>
<li>x264</li>
<li>ffmpeg</li>
<li>mplayer</li>
<li>ffmpeg-mt</li>
<li>mplayer-mt</li>
<li>mpd</li>
<li>netembryo</li>
<li>rxvt-unicode</li>
</ul>
<p>you might be wondering why I provide these packages. All but three can be found in the official repositories after all. In short: I either upgrade them much more frequently, they differ much from the official packages, they are not available in the official repsitories or all of the above. Now I will go more in depth for each package.</p>
<h5>x264, ffmpeg and mplayer</h5>
<p>These 3 packages are being actively developed. Many new changes are made even in the scope of just a week. Understandably, the arch packagers can&#8217;t rebuild these packages whenever changes are made. I repackage them on a monthly base which makes my packages usually a lot more up to date than the official ones.</p>
<p>This, however, is not the main reason I make these 3 packages available. The official arch mplayer build incorporates its own internal static version of ffmpeg (as recommended by the mplayer devs), ignoring the already available ffmpeg on most systems. This approach results in duplication of code and bigger packages. In the programming community, duplication of code is something that one tries to avoid at all cost, as this usually implies a bad design. I apply the same principle to my packages: compile once and use them everyone else.</p>
<p>Some less commonly used options in mplayer and ffmpeg are also disabled:</p>
<ul>
<li>No image support in mplayer.</li>
<li>Many exotic audio/video ouputs and audio/video codecs are disabled.</li>
<li>No tv or radio support</li>
<li>&#8230;</li>
</ul>
<p>I also include features not available in the official mplayer package such as pulseaudio support. I&#8217;m a huge fan of pulseaudio and support it in all the packages that can handle it.</p>
<h5>ffmpeg-mt and mplayer-mt</h5>
<p>ffmpeg-mt and mplayer-mt are the multithreaded versions of ffmpeg and mplayer respectively. They have the same feature set as mentioned in the topic on their single threaded versions. If you have no graphics card that supports hardware accelerated video playback, then this is what you want to playback high definition movies.</p>
<h5>mpd</h5>
<p>In this package, I mainly strip away less commonly used options and only add 1 new feature:</p>
<ul>
<li>no http output</li>
<li>no last.fm support</li>
<li>no oss output</li>
<li>no ipv6</li>
<li>pulseaudio support</li>
</ul>
<p></p>
<h5>netembryo and libnemesi</h5>
<p>I maintain both netembryo and libnemesi in AUR and might as well just make a binary version available as well.</p>
<h5>rxvt-unicode</h5>
<p>This build contains a particular patch that fixes the resizing of this terminal in tiling window managers. Otherwise there always black borders surrounding each terminal window which is just plain annoying</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/more-information-on-nephertes-unofficial-user-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added multithreaded ffmpeg and mplayer to Nepherte&#8217;s Unofficial User Repository</title>
		<link>http://www.nepherte.be/added-multithreaded-ffmpeg-and-mplayer-to-nephertes-unofficial-user-repository/</link>
		<comments>http://www.nepherte.be/added-multithreaded-ffmpeg-and-mplayer-to-nephertes-unofficial-user-repository/#comments</comments>
		<pubDate>Fri, 28 May 2010 20:09:54 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[multithreaded]]></category>
		<category><![CDATA[user repository]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1354</guid>
		<description><![CDATA[I&#8217;ve just packaged and added ffmpeg-mt and mplayer-mt to my arch user repository for all of you out there without hardware accelerated video playback. For more information about my personal repository, including usage instructions, view my repo page. To activate n threads in mplayer, use the following command: mplayer -lavdopts threads=n moviefile Instead of constantly [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just packaged and added ffmpeg-mt and mplayer-mt to my arch user repository for all of you out there without hardware accelerated video playback. For more information about my personal repository, including usage instructions, view my <a href="http://www.nepherte.be/repo">repo page</a>.  To activate n threads in mplayer, use the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mplayer</span> <span style="color: #660033;">-lavdopts</span> <span style="color: #007800;">threads</span>=n moviefile</pre></div></div>

<p>Instead of constantly typing that command, you can also add it to the invaluable mplayer config file located at ~/.mplayer/config:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>default<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">lavdopts</span>=<span style="color: #007800;">threads</span>=<span style="color: #000000;">2</span></pre></div></div>

<p>Obviously I&#8217;m not one of the happy few that have a graphics card with support for hardware accelerated video playback (vdpau for nvidia). When playing a 1080p high definition movie without vdpau and with the singlethreaded mplayer, the movie becomes pretty much unwatcheable: video stuttering, audio running behind on video or vica versa, fastforwarding crashes mplayer, &#8230; It&#8217;s odd that in a world full of multicore processors, a multithreaded video player isn&#8217;t a commodity and probably never will be. Nonetheless I believe there is actually a market for this. After all, not everyone has a fairly recent graphics card (less than 3 yeard old).</p>
<p>With the multithreaded mplayer all of that changes. I am in the possession of an AMD Athlon64 X2 3800+, the first dual core cpu series of AMD, and playback of a 1080p movie with a video bitrate of 15.5Mbps is smooth. It doesn&#8217;t even use the 2 cores to their full potential. It appears I only needed a little more but o so necessary cpu power to play it. Until I buy a recent graphics card, hopefully in the very near future, this will certainly do the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/added-multithreaded-ffmpeg-and-mplayer-to-nephertes-unofficial-user-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netembryo and libnemesi</title>
		<link>http://www.nepherte.be/netembryo-and-libnemesi/</link>
		<comments>http://www.nepherte.be/netembryo-and-libnemesi/#comments</comments>
		<pubDate>Fri, 01 May 2009 16:09:16 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[aur]]></category>
		<category><![CDATA[libnemesi]]></category>
		<category><![CDATA[live555]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[netembryo]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=750</guid>
		<description><![CDATA[I&#8217;ve posted another 2 packages to the Arch User Repository (AUR):  netembryo and libnemesi. The first is a network abstraction library, the latter is an implementation of RTSP. Both didn&#8217;t exist in AUR yet so I guess there&#8217;s not much demand for them yet (I don&#8217;t even use them myself). MPlayer has initial support for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted another 2 packages to the <a href="http://aur.archlinux.org/index.php">Arch User Repository</a> (AUR):  <a href="http://aur.archlinux.org/packages.php?ID=26086">netembryo</a> and <a href="http://aur.archlinux.org/packages.php?ID=26087">libnemesi</a>. The first is a network abstraction library, the latter is an implementation of RTSP. Both didn&#8217;t exist in AUR yet so I guess there&#8217;s not much demand for them yet (I don&#8217;t even use them myself).</p>
<p><a href="http://www.mplayerhq.hu/">MPlayer</a> has initial support for libnemesi to handle rtsp stream, as an alternative for <a href="http://www.live555.com/">live555</a> and that would be the only reason I wanted to try it out. MPlayer should automatically detect libnemesi. Otherwise you will have to append the &#8211;extra-cflags option to the ./configure statement.</p>
<p>While netembryo is getting more and more stable, libnemesi is still in early development and  no official release exists as of yet. In fact, many libnemesi revisions don&#8217;t even want to compile so it can be a real drag to find one that does. I&#8217;ll save you some time: the public git version of 20090501 works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/netembryo-and-libnemesi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comprehensive MPlayer Guide II: Installation</title>
		<link>http://www.nepherte.be/comprehensive-mplayer-guide-ii-installation/</link>
		<comments>http://www.nepherte.be/comprehensive-mplayer-guide-ii-installation/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 17:40:30 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Comprehensive Guide]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[MEncoder]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=578</guid>
		<description><![CDATA[This article is the follow up of Comprehensive MPlayer Guide I: Introduction. Introduction To acquire a good MPlayer setup, I recommend not to install the version packaged by your favorite distribution. The mainstream linux distributions like Ubuntu ship &#8220;the latest&#8221; but very dated release of MPlayer. Their latest release,  v1.0rc3, dates from 30 May 2010. [...]]]></description>
			<content:encoded><![CDATA[<p>This article is the follow up of <a href="http://www.nepherte.be/comprehensive-mplayer-guide-i-introduction/">Comprehensive MPlayer Guide I: Introduction</a>.</p>
<h5>Introduction</h5>
<p>To acquire a good <a href="http://www.mplayerhq.hu/design7/news.html">MPlayer</a> setup, I recommend not to install the version packaged by your favorite distribution. The mainstream linux distributions like Ubuntu ship &#8220;the latest&#8221; but very dated release of MPlayer. Their latest release,  v1.0rc3, dates from 30 May 2010. While not that dated, it is in fact a rather old snapshot of MPlayer. That doesn&#8217;t mean MPlayer isn&#8217;t actively being developed. MPlayer developers make continuous changes to their latest development version, generally referred to as the SVN version, rather than releasing official versions. This SVN version is stable 99% of the time &#8211; and if it isn&#8217;t, it will be the next day. Unfortunately, you will have to build it yourself. I will try to guide you through this rather lengthy process.</p>
<p>The build process consists of 3 main steps:</p>
<ul>
<li>Install x264</li>
<li>Install FFmpeg and useful multimedia libraries</li>
<li>Install MPlayer</li>
</ul>
<p></p>
<h5>Part I: x264</h5>
<p><a href="http://www.videolan.org/developers/x264.html">x264</a> is necessary for encoding videos using the  MPEG 4 AVC (H264/x264) codec. This codec is one of the best and most popular codecs used (e.g. Blu-Ray) and undispensible if you intend to do some encoding. Before we continue, make sure you have the necessary build tools. They are usually bundled by your distribution in a general &#8220;build&#8221; package. Ubuntu, for example, has put everything in build-essential. Consult your distribution&#8217;s documentation to figure out what packages you need.</p>
<p>x264 depends on the following packages:</p>
<ul>
<li><em>libx11</em> (optional)</li>
<li> <em>gpac</em> (optional)</li>
</ul>
<p>The packages <em>git</em>, <em>yasm</em> and <em>gettext</em> are necessary for building x264. Technically you can remove the build dependencies after the x264 installation is completed but you will need them so often you might as well leave them installed. The installation of x264 goes as follows:</p>
<p>1. Get the sources:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">git clone git:<span style="color: #000000; font-weight: bold;">//</span>git.videolan.org<span style="color: #000000; font-weight: bold;">/</span>x264.git</pre></div></div>

<p>2. Configure x264:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> x264<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--enable-pic</span></pre></div></div>

<p>You don&#8217;t need to worry much about these configuration options. You can get more info on the available configuration options with ./configure &#8211;help (that&#8217;s two &#8216;-&#8217; in case you are wondering). Note that the optional dependencies mentioned above are not enabled.</p>
<p>3. Build and install x264:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>You can verify that x264 is correctly installed by typing  x264 &#8211;version (again, two &#8216;-&#8217;). You might have encountered a build error during the installation process. Therefore I advise you to always carefully read the output generated by ./configure and make. Errors are usually printed at the end of the output. There is no point in continuing with another step/command if you have an error. Errors often occur because you overlooked a required dependency.</p>
<h5>Part II: Install FFmpeg and useful multimedia libraries</h5>
<p>Now let&#8217;s continue with FFmpeg. FFmpeg and MPlayer are practically twins. FFmpeg provides MPlayer with the most important tools to play multimedia: the common and not so common codecs for playback and encoding, (de)muxers for opening containers like mp4 and avi, filters and post processors.</p>
<p>MPlayer&#8217;s svn server already holds a copy of FFmpeg but we&#8217;re going to install an independent one nonetheless. The main disadvantage of using a built-in FFmpeg is that MPlayer and MPlayer only can make use of it. This means that if another program requires FFmpeg, you will have to install it again which leads to a lot of duplicate FFmpegs. An advantage of having a built-in FFmpeg over a separate one is that the devs have full control over the entire build process. </p>
<p>This is a list of libraries that I recommend to install for FFmpeg. Try to install them with the package management installer that comes with your distribution.</p>
<ul>
<li><em>xvidcore</em> &#8211; support for xvid codec</li>
<li>faac &#8211; AAC encoding</li>
<li><em>smbclient</em> &#8211; network files playback</li>
<li><em>lame</em> &#8211; mp3 encoding</li>
<li><em>libtheora, libvorbis</em> &#8211; support for the open source theora and vorbis codec</li>
<li><em>zlib</em> &#8211; support for compression</li>
<li><em>libvdpau</em> &#8211; support hardware accelerated video playback</li>
</ul>
<p>Many libraries such as xvidcore, libvorbis or libtheora are not necessary for playback (FFmpeg is capable of doing so on its own) but may be necessary for encoding support.</p>
<p>1. Get the source:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>svn.ffmpeg.org<span style="color: #000000; font-weight: bold;">/</span>ffmpeg<span style="color: #000000; font-weight: bold;">/</span>trunk <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span></pre></div></div>

<p>2. Compile it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ffmpeg<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-gpl</span> <span style="color: #660033;">--enable-version3</span> <span style="color: #660033;">--enable-nonfree</span> <span style="color: #660033;">--enable-pthreads</span> <span style="color: #660033;">--enable-postproc</span> <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--enable-network</span> <span style="color: #660033;">--enable-vdpau</span> <span style="color: #660033;">--enable-libmp3lame</span> <span style="color: #660033;">--enable-libvorbis</span> <span style="color: #660033;">--enable-libfaac</span> <span style="color: #660033;">--enable-libxvid</span> <span style="color: #660033;">--enable-libx264</span> <span style="color: #660033;">--enable-libtheora</span> <span style="color: #660033;">--arch</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -m<span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

<p>Remember to check ./configure &#8211;help for more information on the configuration options. After the ./configure [...] command, a nice layout with all the supported codecs and much more will be printed.</p>
<p>3. Build and install it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Et voilà. You should have a working FFmpeg. You can verify that you installed it successfully by running ffmpeg -version. </p>
<p>I will remind you here again that you may have encountered a build error during the installation process. Therefore I advise you to always carefully read the output generated by ./configure and make. Errors are usually printed at the end of the output. There is no point in continuing with another step/command if you have an error. Errors often occur because you overlooked a required dependency.</p>
<h5>Part III: Install MPlayer</h5>
<p>Now we can finally move on to installing MPlayer. Some additional packages you could install:</p>
<ul>
<li><em>freetype, fribidi, aalib</em> &#8211; unicode and ascii support (subtitles)</li>
<li><em>live555</em> &#8211; support for streaming</li>
<li><em> libmpcdec</em> &#8211; musepack</li>
<li><em>opengl, libxmvc, libxv</em> &#8211; more video and audio outputs (most recommended are libxv and opengl).</li>
</ul>
<p>They&#8217;re all optional dependencies but they increase the capabilities of MPlayer.</p>
<p>1. Get the sources:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>svn.mplayerhq.hu<span style="color: #000000; font-weight: bold;">/</span>mplayer<span style="color: #000000; font-weight: bold;">/</span>trunk <span style="color: #c20cb9; font-weight: bold;">mplayer</span></pre></div></div>

<p>The configure script of MPlayer incorporates a sort of auto-detection. It will check for a certain library/feature where it is normally located and configure itself accordingly. It is therefore recommended not to force or &#8211;enable an option in the ./configure line as it breaks the path detection of that feature.</p>
<p>2. Configure MPlayer without built-in (shared) ffmpeg:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--confdir</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">mplayer</span> <span style="color: #660033;">--disable-gui</span> <span style="color: #660033;">--enable-menu</span> <span style="color: #660033;">--enable-runtime-cpudetection</span> <span style="color: #660033;">--enable-largefiles</span> --disable-libavcore_a --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a</pre></div></div>

<p>The configure options that end with _a disable the built-in ffmpeg. The rest is pretty self-explanatory. You can save some space and compilation time by disabling unneeded features. Things I usually disable, are:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">--disable-inet6</span> <span style="color: #660033;">--disable-xinerama</span> <span style="color: #660033;">--disable-tv</span>  <span style="color: #660033;">--disable-radio</span>  <span style="color: #660033;">--disable-ossaudio</span> <span style="color: #660033;">--disable-jack</span> <span style="color: #660033;">--disable-esd</span> <span style="color: #660033;">--disable-lirc</span> <span style="color: #660033;">--disable-dvb</span> <span style="color: #660033;">--disable-v4l2</span></pre></div></div>

<p>More information on the configure options can be found by executing ./configure &#8211;help.</p>
<p>Now build and install MPlayer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Again, check the outputs of each command for errors. You can verify that mplayer is installed correctly with the command mplayer &lt;path to video file&gt;. As mentioned before, I&#8217;ll deal with the good guis for MPlayer in the next article.</p>
<p>If you come across an error during one of the installs and you can&#8217;t figure out how to fix them, drop a note and I&#8217;ll try to help out wherever possible.</p>
<p>The follow up, Comprehensive Guide III: Video Playback &amp; Desktop Integration, will soon be available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/comprehensive-mplayer-guide-ii-installation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comprehensive MPlayer Guide I: Introduction</title>
		<link>http://www.nepherte.be/comprehensive-mplayer-guide-i-introduction/</link>
		<comments>http://www.nepherte.be/comprehensive-mplayer-guide-i-introduction/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 19:12:11 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Comprehensive Guide]]></category>
		<category><![CDATA[MEncoder]]></category>
		<category><![CDATA[MPlayer]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=554</guid>
		<description><![CDATA[This article is meant as a comprehensive guide to acquire a complete multimedia experience, in particular everything that is video related: from installation and playback to encoding, desktop integration and much more . A pleasant side effect is that it will play all types of audio you throw at it as well. I will try [...]]]></description>
			<content:encoded><![CDATA[<p>This article is meant as a comprehensive guide to acquire a complete multimedia experience, in particular everything that is video related: from installation and playback to encoding, desktop integration and much more . A pleasant side effect is that it will play all types of audio you throw at it as well. I will try to give an in-dept but understandable explanation of the how and perhaps more importantly, the why. I will not use a distro specific approach. The instructions apply to every linux distribution.</p>
<p>The guide includes 4 major sections:</p>
<ul>
<li>Introduction</li>
<li>Installation</li>
<li>Video Playback &amp; Desktop Integration</li>
<li>Video Encoding</li>
</ul>
<p>of which this is the first section: the introduction.</p>
<p>There are a lot of video players at hand. I&#8217;m going to use <a href="http://www.mplayerhq.hu/design7/news.html">MPlayer</a>, but why&#8217;s that?. MPlayer is by far the best multimedia player for linux. Not only does it handle video and audio content perfectly, it&#8217;s also capable of playing streams and integrates nicely in your browser.  It even supports video hardware acceleration for those with a recent video card. Yes, there are some alternatives like VLC, but none are as flexible as MPlayer.  You can easily determine which codecs should be enabled and which not. You&#8217;re not stuck with one gui. There are multiple guis available for several platforms. No matter what environment you are using, there&#8217;s a solution for every one of them.</p>
<p>Another thing that stands out is MEncoder.  MEncoder is a part of MPlayer and, while not officially supported and developed anymore, it is a tool to easily encode audio &#038; video and extract subtitles. Everything you ever needed for encoding media is included in this application. Combining MPlayer and MEncoder make the perfect multimedia application.</p>
<p>The follow-up, <a href="http://www.nepherte.be/comprehensive-mplayer-guide-ii-installation/">Comprehensive MPlayer Guide II: Installation</a> is now available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/comprehensive-mplayer-guide-i-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Enable DVD menus in MPlayer</title>
		<link>http://www.nepherte.be/howto-enable-dvd-menus-in-mplayer/</link>
		<comments>http://www.nepherte.be/howto-enable-dvd-menus-in-mplayer/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 20:47:50 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[dvd menu]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=198</guid>
		<description><![CDATA[A lot of distributions ship a binary of mplayer that is one, old, and two, doesn&#8217;t have the capability to see the menu of a dvd. The reason they ship an old binary of mplayer is because the developpers of mplayer don&#8217;t believe in releases. The &#8220;latest&#8221; release dates of October 2007. Yup that&#8217;s more [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of distributions ship a binary of mplayer that is one, old, and two, doesn&#8217;t have the capability to see the menu of a dvd. The reason they ship an old binary of mplayer is because the developpers of mplayer don&#8217;t believe in releases. The &#8220;latest&#8221; release dates of October 2007. Yup that&#8217;s more than a year ago. What the developpers do believe in, is svn. Every change they make is just put in svn and that&#8217;s where you&#8217;ll get a recent version of mplayer.</p>
<p>First we need a recent version of dvdread and dvdnav, two libraries that allow us to view and navigate through dvd menus. We start with dvdread. Again, you will probably have a very old version of dvdread, so we get a recent version. Dvdread depends on libdvdcss so make sure you have it. You will also need the tools to compile from source of course.</p>
<p>1. Get the source:<br />
<code>wget http://www7.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdread-4.1.3.tar.bz2</code><br />
2. Unpack it and navigate to the directory:<br />
<code>tar xvfj libdvdread-4.1.3.tar.bz2<br />
cd libdvdread-4.1.3</code><br />
3. Compile, build and install:<br />
<code>./autogen.sh --prefix=/usr<br />
make<br />
sudo make install</code></p>
<p>Now we do the same for dvdnav:</p>
<p>1. Get the source:<br />
<code>wget http://www8.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-4.1.3.tar.bz2</code><br />
2. Unpack it and navigate to the directory:<br />
<code>tar xvfj libdvdnav-4.1.3.tar.bz2<br />
cd libdvdnav-4.1.3.tar.bz2</code><br />
3. Compile, build and install:<br />
<code>./autogen.sh --prefix=/usr<br />
make<br />
sudo make install</code></p>
<p>Now that we have everything to read a dvd and its dvd menu, it&#8217;s time to install mplayer with this functionality.</p>
<p>1. Get the source:<br />
<code>svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer</code><br />
2. Navigate to the directory:<br />
<code>cd mplayer</code><br />
3. Compile, build and install. There are a lot of configuration options available for mplayer, but I will only mention the ones you need to enable dvd menus.</p>
<p><code>./configure --disable-dvdread-internal --enable-dvdnav<br />
make<br />
sudo make install</code></p>
<p>Now hurry up and try out some fancy dvd menu with mplayer. Here are a few of The Terminal:<a href="http://www.nepherte.be/wp-content/uploads/2008/12/dvdmenu.png"><br />
</a></p>
<p><a href="http://www.nepherte.be/wp-content/uploads/2008/12/languagemenu.png"><img class="size-medium wp-image-211 alignleft" title="The Terminal Language Menu" src="http://www.nepherte.be/wp-content/uploads/2008/12/languagemenu-300x187.png" alt="The Terminal Language Menu" width="300" height="187" /></a></p>
<p><a href="http://www.nepherte.be/wp-content/uploads/2008/12/dvdmenu.png"><img class="alignnone size-medium wp-image-210" title="The Terminal DVD Menu" src="http://www.nepherte.be/wp-content/uploads/2008/12/dvdmenu-300x187.png" alt="The Terminal DVD Menu" width="300" height="187" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/howto-enable-dvd-menus-in-mplayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
