<?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>WEB-NES-BAY &#187; Source Directory</title>
	<atom:link href="http://webnesbay.com/tag/source-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://webnesbay.com</link>
	<description>Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware</description>
	<lastBuildDate>Sun, 11 Apr 2010 05:12:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compiling mplayer with multi-core decoding support in ubuntu linux</title>
		<link>http://webnesbay.com/compiling-mplayer-with-multi-core-decoding-support-in-ubuntu-linux/</link>
		<comments>http://webnesbay.com/compiling-mplayer-with-multi-core-decoding-support-in-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 07:22:23 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Amr]]></category>
		<category><![CDATA[Cd Home]]></category>
		<category><![CDATA[Checkout]]></category>
		<category><![CDATA[Codecs]]></category>
		<category><![CDATA[Ffmpeg]]></category>
		<category><![CDATA[Folders]]></category>
		<category><![CDATA[Hd]]></category>
		<category><![CDATA[Libavcodec]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Mplayer]]></category>
		<category><![CDATA[Mplayerhq]]></category>
		<category><![CDATA[Mt Directory]]></category>
		<category><![CDATA[Playback]]></category>
		<category><![CDATA[Rf]]></category>
		<category><![CDATA[Showthread]]></category>
		<category><![CDATA[Source Code Directory]]></category>
		<category><![CDATA[Source Directory]]></category>
		<category><![CDATA[Spoon]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Ubuntuforums]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=721</guid>
		<description><![CDATA[Its a great advancement in HD playback on Linux and people should be able to take advantage of it. I found this process from http://ubuntuforums.org/showthread.php?t=786095
To use mplayer with multithreaded decoding abilities all you have to do is compile mplayer as per usual, but having replaced the normal ffmpeg source code (within the mplayer source code directory) with the ffmpeg-mt source code (http://gitorious.org/projects/ffmpeg/repos/ffmpeg-mt).  I&#8217;m going to use the following guide written by andrew.46 entitled [Howto] Successfully install the svn mplayer + [...]


Related posts:<ol><li><a href='http://webnesbay.com/linux-keylogger-in-ubuntu/' rel='bookmark' title='Permanent Link: Linux Keylogger in Ubuntu'>Linux Keylogger in Ubuntu</a></li>
<li><a href='http://webnesbay.com/install-a-linux-wacom-kernel-driver-for-tablet-pcs/' rel='bookmark' title='Permanent Link: Install a Linux Wacom Kernel Driver for Tablet PC&#8217;s'>Install a Linux Wacom Kernel Driver for Tablet PC&#8217;s</a></li>
<li><a href='http://webnesbay.com/how-to-use-crontab-in-ubuntulinux/' rel='bookmark' title='Permanent Link: How to use crontab in Ubuntu/Linux'>How to use crontab in Ubuntu/Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Its a great advancement in HD playback on Linux and people should be able to take advantage of it. I found this process from<a href="http://ubuntuforums.org/showthread.php?t=786095"> http://ubuntuforums.org/showthread.php?t=786095</a><br />
To use mplayer with multithreaded decoding abilities all you have to do is compile mplayer as per usual, but having replaced the normal ffmpeg source code (within the mplayer source code directory) with the ffmpeg-mt source code (<a href="http://gitorious.org/projects/ffmpeg/repos/ffmpeg-mt" target="_blank">http://gitorious.org/projects/ffmpeg/repos/ffmpeg-mt</a>).  I&#8217;m going to use the following guide written by andrew.46 entitled <strong><span style="text-decoration: underline;"><a href="http://ubuntuforums.org/showthread.php?t=558538" target="_blank">[Howto] Successfully install the svn mplayer + gmplayer + all the codecs</a></span></strong> as the basis for my tutorial as it&#8217;s very thorough and I feel there&#8217;s no need to reinvent the spoon.</p>
<p><strong>Installation Process</strong></p>
<p>1. Follow <strong><span style="text-decoration: underline;"><a href="http://ubuntuforums.org/showthread.php?t=558538" target="_blank">andrew.46&#8217;s guide</a></span></strong> until you reach the point &#8220;<strong>Download and Compile the svn mplayer</strong>&#8221; (you can skip the step &#8220;<strong>Installing the amr libraries</strong>&#8221; if you don&#8217;t need these.<br />
2. When you reach the step &#8220;<strong>Download and Compile the svn mplayer</strong>&#8221; proceed as andrew.46 says with downloading the mplayer source code from SVN:</p>
<div style="margin: 5px 20px 20px;">$ cd $HOME<br />
$ svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer</div>
<p>3. When this is done it&#8217;s time to download the ffmpeg-mt source code. First you need <em>git</em>, install it with the following command:<br />
sudo apt-get install git-core</p>
<p>Then download the source code for ffmpeg-mt using git:<br />
$git clone http://git.gitorious.org/ffmpeg/ffmpeg-mt.git</p>
<p>In order to make use of the now downloaded ffmpeg-mt source code you need to replace the three following folders from the mplayer source directory with the folders from the ffmpeg-mt directory: &#8220;libavcodec&#8221;, &#8220;libavformat&#8221; and &#8220;libavutil&#8221;.<br />
cd mplayer #enter the directory where the mplayer source code is</p>
<p>rm -rf libavcodec libavformat libavutil #delete the three aforementioned folders<br />
cp -a ../ffmpeg-mt/libavcodec . #copy the three folders from the ffmpeg-mt source dir to mplayers source dir<br />
cp -a ../ffmpeg-mt/libavformat .<br />
cp -a ../ffmpeg-mt/libavutil .</p>
<p>Now you have the mplayer source code in which the ffmpeg source has been replaced with the ffmpeg-mt source. You should be ready to go.</p>
<p>Now just follow the rest of <strong><span style="text-decoration: underline;"><a href="http://ubuntuforums.org/showthread.php?t=558538" target="_blank">andrew.46&#8217;s guide</a></span></strong> starting from:</p>
<p>$ cd $HOME/mplayer<br />
$ ./configure &#8211;enable-gui<br />
$ make<br />
$ sudo make install<br />
$ make clean</p>
<p>and mplayer should compile with no problems.</p>
<p>Here are some benchmarks of mplayer with the normal single-threaded ffmpeg decoder compared to the multi-threaded ffmpeg decoder playing various 1080p H.264 video samples (using my Core2 Quad 2.83GHz CPU):</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:SINGLE-THREADED FPS    MULTI-THREADED FPS    PERCENT INCREASE IN FPS</p>
<p>The Dark Knight        37            121            329%</p>
<p>In Bruges        45            134            296%<br />
(no -ss 120)</p>
<p>The Bank Job        46            141            305%</p>
<p>The Terminator        37            126            341%<br />
(no -ss 120)</p></div>
</div>
<p>Done with the installation process.</p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/linux-keylogger-in-ubuntu/' rel='bookmark' title='Permanent Link: Linux Keylogger in Ubuntu'>Linux Keylogger in Ubuntu</a></li>
<li><a href='http://webnesbay.com/install-a-linux-wacom-kernel-driver-for-tablet-pcs/' rel='bookmark' title='Permanent Link: Install a Linux Wacom Kernel Driver for Tablet PC&#8217;s'>Install a Linux Wacom Kernel Driver for Tablet PC&#8217;s</a></li>
<li><a href='http://webnesbay.com/how-to-use-crontab-in-ubuntulinux/' rel='bookmark' title='Permanent Link: How to use crontab in Ubuntu/Linux'>How to use crontab in Ubuntu/Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/compiling-mplayer-with-multi-core-decoding-support-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
