<?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>» DoYourself.org &#187; Ubuntu</title>
	<atom:link href="http://www.doyourself.org/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doyourself.org</link>
	<description>Did you know ?</description>
	<lastBuildDate>Fri, 03 Feb 2012 23:00:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Steps to add Open DNS in Ubuntu Linux</title>
		<link>http://www.doyourself.org/linux/814-steps-to-add-open-dns-in-ubuntu-linux/</link>
		<comments>http://www.doyourself.org/linux/814-steps-to-add-open-dns-in-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 23:54:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=814</guid>
		<description><![CDATA[Today I faced some DNS issues with my new computer after installing Ubuntu in it. After some basic troubleshooting steps I assigned Open DNS address to my network adapter and the issue is resolved. Open DNS is a smart way to make our browsing fast and reliable. As the name suggests this DNS service is [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Today I faced some DNS issues with my new computer after installing  Ubuntu in it. After some basic troubleshooting steps I assigned Open DNS  address to my network adapter and the issue is  resolved. Open DNS is a  smart way to make our browsing fast and reliable. As the name suggests  this DNS service is absolutely free and worth a try. Before go to open  DNS we need to know a little bit about DNS. As we know DNS is used to  convert the domain name of of website to its IP address. For any  communication your computer should know the mac address and IP address  of the destination (Here web server). MAC address can be obtained from  ARP table and if the user type the IP address of the web server computer  knows both. If the user type the domain name of the website your  computer don&#8217;t know the IP address of the destination and the  communication will not happen. Here the DNS server helps. DNS helps to  resolve the domain name to IP convertion issue and send the destination  IP address to the computer.</p>
<p>So it is understood that every  computer which connects to the Internet should know the DNS server  address. There are many DNS servers available including your ISP&#8217;s  DNS  server.  Here I am presenting the steps to assign Open DNS in Ubuntu  linux.</p>
<p>To know the stpes to assign DNS address in Windows computer click on the link below.</p>
<p><a href="http://www.corenetworkz.com/2009/07/how-to-configure-dns-address-from.html">How to configure DNS address in Windows computer</a></p>
<h2>Assign Open DNS in Ubuntu</h2>
<p>The steps to set open DNS in Ubuntu are:</p>
<p>1.   Right click on the network symbol</p>
<p>You can see the network icon on the right hand top of the screen.<br />
<a href="http://img145.imageshack.us/i/screenshotoanusd.png/"><img src="http://img145.imageshack.us/img145/9796/screenshotoanusd.png" border="0" alt="Enable Open DNS in Ubuntu Linux" /></a></p>
<p>2. Click on the Edit Connection</p>
<p>3. Now the active network connection window will be opened.</p>
<p><a href="http://img19.imageshack.us/i/screenshot1obh.png/"><img src="http://img19.imageshack.us/img19/6077/screenshot1obh.png" border="0" alt="Set Open DNS in Ubuntu" /></a></p>
<p>If your computer is connected with an ethernet cable you will get the standard name eth0.</p>
<p>4. Select the connection and click on Edit button</p>
<p>5. On the Edit window click on IPv4 Settings tab</p>
<p><a href="http://img213.imageshack.us/i/screenshot2e.png/"><img src="http://img213.imageshack.us/img213/1364/screenshot2e.png" border="0" alt="Edit the connection to set DNS address in Ubuntu" /></a></p>
<p>Now on DNS Server enter the Open DNS addresses.</p>
<p>The Open DNS addresses are :</p>
<p>i.     208.67.222.222<br />
ii.    208.67.220.220</p>
<p>Now click Apply and reboot your computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/linux/814-steps-to-add-open-dns-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install FFmpeg and x264 on Ubuntu Dapper Drake 6.06 LTS.</title>
		<link>http://www.doyourself.org/ffmpeg/608-install-ffmpeg-and-x264-on-ubuntu-dapper-drake-6-06-lts/</link>
		<comments>http://www.doyourself.org/ffmpeg/608-install-ffmpeg-and-x264-on-ubuntu-dapper-drake-6-06-lts/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:47:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=608</guid>
		<description><![CDATA[Note: This guide isn&#8217;t supported anymore, but it will probably still work. 1. Make sure the Ubuntu universe and multiverse repositories are enabled. For help doing this, refer to Adding the Universe and Multiverse Repositories on the Ubuntu Wiki. 2. Uninstall x264-bin, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run [...]]]></description>
			<content:encoded><![CDATA[<p></p><blockquote><p><strong>Note:</strong> <span style="color: #ff6600;">This guide isn&#8217;t supported anymore, but it will probably still work.</span></p></blockquote>
<p><span style="font-size: medium;">1.</span> Make sure the Ubuntu universe and multiverse repositories are enabled.  For help doing this, refer to <a href="https://help.ubuntu.com/community/Repositories/Ubuntu#head-5bbef89639d9a7d93fe38f6356dc17847d373096" target="_blank">Adding the Universe and Multiverse Repositories</a> on the Ubuntu Wiki.</p>
<p><span style="font-size: medium;">2.</span> Uninstall x264-bin, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg x264-bin libx264-dev</pre>
</div>
<p><span style="font-size: medium;">3.</span> Next, get all of the packages you will need to install ffmpeg and x264:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall texi2html libfaac-dev liblame-dev libsdl1.2-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev</pre>
</div>
<p><span style="font-size: medium;">4.</span> Install yasm:</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
wget http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz
tar xzvf yasm-1.0.1.tar.gz
cd yasm-1.0.1
./configure
make
sudo checkinstall --pkgname=yasm --pkgversion "1.0.1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;">5.</span> Install x264:</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://git.videolan.org/x264.git
cd ~/x264
./configure
make
sudo checkinstall --pkgversion "1:0.cvs`date +%Y%m%d`-0.0ubuntu1" --default</pre>
</div>
<p><span style="font-size: medium;">6.</span> Install libopencore-amr.  This will allow you to decode and encode AMR audio:</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
wget http://transact.dl.sourceforge.net/project/opencore-amr/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz
tar xvf opencore-amr-0.1.2.tar.gz
cd opencore-amr-0.1.2
./configure -disable-shared
make
sudo checkinstall --pkgname="libopencore-amr" --pkgversion="0.1.2" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;">7.</span> Install libtheora to encode to Theora,  the video type usually found in OGG files. The repository libtheora is  too old, so it must be compiled. Alternatively, you could skip this step  and omit <em>&#8211;enable-libtheora</em> in step 8 if you don&#8217;t plan on encoding to Theora video:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install libogg-dev
cd
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
tar xzvf libtheora-1.1.1.tar.gz
cd libtheora-1.1.1
./configure --disable-shared
make
sudo checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;">8.</span> Install ffmpeg:</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ~/ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgversion "3:0.cvs`date +%Y%m%d`-5ubuntu1.2" --default
hash x264 ffmpeg</pre>
</div>
<p>That&#8217;s it!  Now head back to the <a id="__mce" href="http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/" target="_blank">FFmpeg guide</a> for usage instructions and more.</p>
<p><strong>To Revert Changes Made by This Guide</strong></p>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove build-essential subversion git-core checkinstall texi2html libfaac-dev liblam</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ffmpeg/608-install-ffmpeg-and-x264-on-ubuntu-dapper-drake-6-06-lts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install FFmpeg and x264 on Ubuntu Jaunty Jackalope 9.04 &amp; Ubuntu Intrepid Ibex 8.10</title>
		<link>http://www.doyourself.org/ffmpeg/604-install-ffmpeg-and-x264-on-ubuntu-jaunty-jackalope-9-04-ubuntu-intrepid-ibex-8-10/</link>
		<comments>http://www.doyourself.org/ffmpeg/604-install-ffmpeg-and-x264-on-ubuntu-jaunty-jackalope-9-04-ubuntu-intrepid-ibex-8-10/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:45:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=604</guid>
		<description><![CDATA[Get the Dependencies 1. Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following: Code: sudo apt-get remove ffmpeg x264 libx264-dev 2. Next, get all of the packages you will need to install FFmpeg and x264 (you may need to enable the universe and multiverse repositories): Code: sudo [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><span style="font-size: medium;"><span style="color: #663300;">Get the Dependencies</span></span><br />
<span style="font-size: medium;">1.</span> Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg x264 libx264-dev</pre>
</div>
<p><span style="font-size: medium;">2.</span> Next, get all of the packages you will need to install FFmpeg and x264 (you may need to <a href="https://help.ubuntu.com/community/Repositories/Ubuntu#head-5bbef89639d9a7d93fe38f6356dc17847d373096" target="_blank">enable the universe and multiverse repositories</a>):</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install x264</span></span><br />
<span style="font-size: medium;">3.</span> Get the most current source files from the  official x264 git repository, compile, and install. You can run  &#8220;./configure &#8211;help&#8221; to see what features you can enable/disable. If you  are behind a firewall or unable to use git, then <a href="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/" target="_blank">daily source tarballs</a> are also available.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libopencore-amr</span> (optional)</span><br />
<span style="font-size: medium;">4.</span> This will allow you to decode and encode AMR audio.  I recommend skipping this step and omitting <em>&#8211;enable-libopencore-amrnb &#8211;enable-libopencore-amrwb</em> from step 5 if you are not going to decode or encode AMR audio.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
wget http://transact.dl.sourceforge.net/project/opencore-amr/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz
tar xvf opencore-amr-0.1.2.tar.gz
cd opencore-amr-0.1.2
./configure --disable-shared
make
sudo checkinstall --fstrans=no --install=yes --pkgname="libopencore-amr" --pkgversion="0.1.2" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libtheora</span> (optional)</span><br />
<span style="font-size: medium;">5.</span> This is used to encode to Theora, the video  type usually found in OGG files. The repository libtheora is too old, so  it must be compiled. I recommend skipping this step and omitting <em>&#8211;enable-libtheora</em> in step 5 if you don&#8217;t plan on encoding to Theora video:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install libogg-dev
cd
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
tar xzvf libtheora-1.1.1.tar.gz
cd libtheora-1.1.1
./configure --disable-shared
make
sudo checkinstall --fstrans=no --install=yes --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install FFmpeg</span></span><br />
<span style="font-size: medium;">6.</span> Get the most current source files from the  official FFmpeg svn, compile, and install. Run &#8220;./configure &#8211;help&#8221; to  see what features you can enable/disable. If you are behind a firewall  or unable to use subversion, then <a href="http://ffmpeg.mplayerhq.hu/releases/ffmpeg-checkout-snapshot.tar.bz2" target="_blank">nightly FFmpeg snapshots</a> are also available.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion "3:0.svn`date +%Y%m%d`-12ubuntu3" --backup=no --default
hash x264 ffmpeg ffplay</pre>
</div>
<p>That&#8217;s it for installation.  You can keep the <em>~/x264</em> and <em>~/ffmpeg</em> directories if you later want to update the source files to a new  revision.  See &#8220;Updating Your Installation&#8221; on the first page of this  guide for more details.</p>
<p>That&#8217;s it! Now head back to the <a href="http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/" target="_blank">FFmpeg guide</a> for usage instructions and more.</p>
<p><span style="font-size: medium;"><span style="color: #663300;">Reverting Changes Made by This Tutorial</span></span><br />
To remove FFmpeg/x264 and any changes made from this tutorial:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove x264 ffmpeg build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev libopencore-amr libtheora libvorbis-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev</pre>
</div>
<p>Lastly, delete the <em>ffmpeg</em> and <em>x264</em> directories in your home folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ffmpeg/604-install-ffmpeg-and-x264-on-ubuntu-jaunty-jackalope-9-04-ubuntu-intrepid-ibex-8-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install FFmpeg and x264 on Ubuntu Jaunty Jackalope 9.04</title>
		<link>http://www.doyourself.org/ffmpeg/600-howto-install-and-use-the-latest-ffmpeg-and-x264-2/</link>
		<comments>http://www.doyourself.org/ffmpeg/600-howto-install-and-use-the-latest-ffmpeg-and-x264-2/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:42:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=600</guid>
		<description><![CDATA[Install FFmpeg and x264 on Ubuntu Jaunty Jackalope 9.04 &#38; Ubuntu Intrepid Ibex 8.10 Get the Dependencies 1. Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following: Code: sudo apt-get remove ffmpeg x264 libx264-dev 2. Next, get all of the packages you will need to install FFmpeg [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><span style="font-size: medium;">Install FFmpeg and x264 on Ubuntu Jaunty Jackalope 9.04 &amp; Ubuntu Intrepid Ibex 8.10</span></p>
<p><span style="font-size: medium;"><span style="color: #663300;">Get the Dependencies</span></span><br />
<span style="font-size: medium;">1.</span> Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg x264 libx264-dev</pre>
</div>
<p><span style="font-size: medium;">2.</span> Next, get all of the packages you will need to install FFmpeg and x264 (you may need to <a href="https://help.ubuntu.com/community/Repositories/Ubuntu#head-5bbef89639d9a7d93fe38f6356dc17847d373096" target="_blank">enable the universe and multiverse repositories</a>):</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install x264</span></span><br />
<span style="font-size: medium;">3.</span> Get the most current source files from the  official x264 git repository, compile, and install. You can run  &#8220;./configure &#8211;help&#8221; to see what features you can enable/disable. If you  are behind a firewall or unable to use git, then <a href="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/" target="_blank">daily source tarballs</a> are also available.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libopencore-amr</span> (optional)</span><br />
<span style="font-size: medium;">4.</span> This will allow you to decode and encode AMR audio.  I recommend skipping this step and omitting <em>&#8211;enable-libopencore-amrnb &#8211;enable-libopencore-amrwb</em> from step 5 if you are not going to decode or encode AMR audio.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
wget http://transact.dl.sourceforge.net/project/opencore-amr/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz
tar xvf opencore-amr-0.1.2.tar.gz
cd opencore-amr-0.1.2
./configure --disable-shared
make
sudo checkinstall --fstrans=no --install=yes --pkgname="libopencore-amr" --pkgversion="0.1.2" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libtheora</span> (optional)</span><br />
<span style="font-size: medium;">5.</span> This is used to encode to Theora, the video  type usually found in OGG files. The repository libtheora is too old, so  it must be compiled. I recommend skipping this step and omitting <em>&#8211;enable-libtheora</em> in step 5 if you don&#8217;t plan on encoding to Theora video:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install libogg-dev
cd
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
tar xzvf libtheora-1.1.1.tar.gz
cd libtheora-1.1.1
./configure --disable-shared
make
sudo checkinstall --fstrans=no --install=yes --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install FFmpeg</span></span><br />
<span style="font-size: medium;">6.</span> Get the most current source files from the  official FFmpeg svn, compile, and install. Run &#8220;./configure &#8211;help&#8221; to  see what features you can enable/disable. If you are behind a firewall  or unable to use subversion, then <a href="http://ffmpeg.mplayerhq.hu/releases/ffmpeg-checkout-snapshot.tar.bz2" target="_blank">nightly FFmpeg snapshots</a> are also available.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion "3:0.svn`date +%Y%m%d`-12ubuntu3" --backup=no --default
hash x264 ffmpeg ffplay</pre>
</div>
<p>That&#8217;s it for installation.  You can keep the <em>~/x264</em> and <em>~/ffmpeg</em> directories if you later want to update the source files to a new  revision.  See &#8220;Updating Your Installation&#8221; on the first page of this  guide for more details.</p>
<p>That&#8217;s it! Now head back to the <a href="http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/" target="_blank">FFmpeg guide</a> for usage instructions and more.</p>
<p><span style="font-size: medium;"><span style="color: #663300;">Reverting Changes Made by This Tutorial</span></span><br />
To remove FFmpeg/x264 and any changes made from this tutorial:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove x264 ffmpeg build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev libopencore-amr libtheora libvorbis-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev</pre>
</div>
<p>Lastly, delete the <em>ffmpeg</em> and <em>x264</em> directories in your home folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ffmpeg/600-howto-install-and-use-the-latest-ffmpeg-and-x264-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install FFmpeg and x264 on Ubuntu Karmic Koala 9.10</title>
		<link>http://www.doyourself.org/ffmpeg/598-install-ffmpeg-and-x264-on-ubuntu-karmic-koala-9-10/</link>
		<comments>http://www.doyourself.org/ffmpeg/598-install-ffmpeg-and-x264-on-ubuntu-karmic-koala-9-10/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:39:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=598</guid>
		<description><![CDATA[Get the Dependencies 1. Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following: Code: sudo apt-get remove ffmpeg x264 libx264-dev 2. Next, get all of the packages you will need to install FFmpeg and x264 (you may need to enable the universe and multiverse repositories): Code: sudo [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><span style="font-size: medium;"><span style="color: #663300;">Get the Dependencies</span></span><br />
<span style="font-size: medium;">1.</span> Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg x264 libx264-dev</pre>
</div>
<p><span style="font-size: medium;">2.</span> Next, get all of the packages you will need to install FFmpeg and x264 (you may need to <a href="https://help.ubuntu.com/community/Repositories/Ubuntu#head-5bbef89639d9a7d93fe38f6356dc17847d373096" target="_blank">enable the universe and multiverse repositories</a>):</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install x264</span></span><br />
<span style="font-size: medium;">3.</span> Get the most current source files from the  official x264 git repository, compile, and install. You can run  &#8220;./configure &#8211;help&#8221; to see what features you can enable/disable. <a href="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/" target="_blank">Daily source tarballs</a> are also available, and forum member Bachstelze provides <a href="http://ftp.itsuki.fkraiem.org/pub/x264/" target="_blank">x264 Ubuntu packages</a> for anyone who doesn&#8217;t want to compile.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`+`git rev-list HEAD -n 1 | head -c 7`" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libvpx</span> (optional)</span><br />
<span style="font-size: medium;">4.</span> This is used to encode and decode VP8 video. If you skip this, remove <em>&#8211;enable-libvpx</em> from step 6.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://review.webmproject.org/libvpx.git
cd libvpx
./configure
make
sudo checkinstall --pkgname=libvpx --pkgversion="`date +%Y%m%d%H%M`-git" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libtheora</span> (optional)</span><br />
<span style="font-size: medium;">5.</span> This is used to encode to Theora, the video type usually found in OGG/OGV files.  The repository <em>libtheora</em> is too old, so it must be compiled. I recommend skipping this step and omitting <em>&#8211;enable-libtheora</em> in step 6 if you don&#8217;t plan on encoding Theora video:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install libogg-dev
cd
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
tar xzvf libtheora-1.1.1.tar.gz
cd libtheora-1.1.1
./configure --disable-shared
make
sudo checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install FFmpeg</span></span><br />
<span style="font-size: medium;">6.</span> Get the most current source files from the  official FFmpeg SVN, compile, and install. Run &#8220;./configure &#8211;help&#8221; to  see what features you can enable/disable. <a href="http://ffmpeg.mplayerhq.hu/releases/ffmpeg-checkout-snapshot.tar.bz2" target="_blank">Nightly FFmpeg snapshots</a> are also available.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion "4:0.5+svn`date +%Y%m%d`" --backup=no --default
hash x264 ffmpeg ffplay</pre>
</div>
<p>That&#8217;s it for installation.  You can keep the <em>~/x264</em> and <em>~/ffmpeg</em> directories if you later want to update the source files to a new  revision.  See &#8220;Updating Your Installation&#8221; on the first page of this  guide for more details.</p>
<p>Now head back to the <a href="http://ubuntuforums.org/showthread.php?t=786095" target="_blank">FFmpeg guide</a> for usage instructions and more.</p>
<p><span style="font-size: medium;"><span style="color: #663300;">Reverting Changes Made by This Guide</span></span><br />
To remove FFmpeg/x264 and other packages added for this guide:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove x264 ffmpeg build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libogg-dev libsdl1.2-dev libtheora libvpx libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev</pre>
</div>
<p>Lastly, delete the <em>ffmpeg</em>, <em>libtheora</em>, <em>libvpx</em>, and <em>x264</em> directories in your home folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ffmpeg/598-install-ffmpeg-and-x264-on-ubuntu-karmic-koala-9-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOWTO: Install and use the latest FFmpeg and x264</title>
		<link>http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/</link>
		<comments>http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:36:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=592</guid>
		<description><![CDATA[FFmpeg is a versatile tool to encode and decode a multitude of video and audio formats. x264 encodes high-quality video superior to other popular encoders. Although FFmpeg and x264 are available in the Ubuntu repositories, you may need to compile from source. For example, the ffmpeg-user mailing list requires that you use the latest FFmpeg [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>FFmpeg is a versatile tool to encode and decode a multitude of video and  audio formats.  x264 encodes high-quality video superior to other  popular encoders.</p>
<p>Although FFmpeg and x264 are available in the Ubuntu repositories, you may need to compile from source.  For example, the <a href="http://lists.mplayerhq.hu/pipermail/ffmpeg-user/" target="_blank">ffmpeg-user mailing list</a> requires that you use the latest FFmpeg before asking for help.  You  may also like to have the bleeding-edge for encoding videos.  Also,  FFmpeg in the Ubuntu repository may not support necessary encoders,  decoders, and formats.</p>
<p><span style="font-size: xx-small;">Note: Those who are uncomfortable compiling can still enable restricted encoders in the repository FFmpeg:<br />
<a href="http://www.doyourself.org/ubuntu/587-howto-easily-enable-mp3-mpeg4-aac-and-other-restricted-encoders-in-ffmpeg/" target="_blank">HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg</a></span></p>
<p><span style="font-size: medium;"><span style="color: #663300;">Choose your Ubuntu</span></span><br />
<span style="font-size: medium;">0.</span>The instructions on the page are for <span style="font-size: x-small;"><strong><span style="color: #3333ff;">Ubuntu Lucid Lynx 10.04</span></strong></span>. Separate instructions are also available for older releases:</p>
<ul>
<li><a href="http://www.doyourself.org/ffmpeg/598-install-ffmpeg-and-x264-on-ubuntu-karmic-koala-9-10/" target="_blank">Install FFmpeg and x264 on Ubuntu Karmic Koala 9.10</a></li>
<li><a href="http://www.doyourself.org/ffmpeg/604-install-ffmpeg-and-x264-on-ubuntu-jaunty-jackalope-9-04-ubuntu-intrepid-ibex-8-10/" target="_blank">Install FFmpeg and x264 on Ubuntu Jaunty Jackalope 9.04</a></li>
<li><a href="http://www.doyourself.org/ffmpeg/604-install-ffmpeg-and-x264-on-ubuntu-jaunty-jackalope-9-04-ubuntu-intrepid-ibex-8-10/" target="_blank">Install FFmpeg and x264 on Ubuntu Intrepid Ibex 8.10</a></li>
<li><a href="http://www.doyourself.org/uncategorized/606-install-ffmpeg-and-x264-on-ubuntu-hardy-heron-8-04-lts/" target="_blank">Install FFmpeg and x264 on Ubuntu Hardy Heron 8.04 LTS</a></li>
<li><a href="http://www.doyourself.org/ffmpeg/608-install-ffmpeg-and-x264-on-ubuntu-dapper-drake-6-06-lts/" target="_blank">Install FFmpeg and x264 on Ubuntu Dapper Drake 6.06 LTS</a> <em><span style="color: #c0c0c0;">(unsupported)</span></em></li>
</ul>
<p><span style="font-size: medium;"><span style="color: #663300;">Install the Dependencies</span></span><br />
<span style="font-size: medium;">1.</span> Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg x264 libx264-dev</pre>
</div>
<p><span style="font-size: medium;">2.</span> Next, get all of the packages you will need to install FFmpeg and x264 (you may need to <a href="https://help.ubuntu.com/community/Repositories/Ubuntu#head-5bbef89639d9a7d93fe38f6356dc17847d373096" target="_blank">enable the universe and multiverse repositories</a>):</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install x264</span></span><br />
<span style="font-size: medium;">3.</span> Get the most current source files, compile,  and install. You can run &#8220;./configure &#8211;help&#8221; to see what additional  features you can enable/disable. <a href="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/" target="_blank">Daily source tarballs</a> are also available, and forum member <a href="http://ubuntuforums.org/member.php?u=51114" target="_blank">Bachstelze</a> provides <a href="ftp://iori.fkraiem.org/pub/x264/" target="_blank">x264 Ubuntu packages</a> for anyone who doesn&#8217;t want to compile.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --pkgname=x264 --pkgversion "2:0.`grep X264_BUILD x264.h -m1 | cut -d' ' -f3`.`git rev-list HEAD | wc -l`+git`git rev-list HEAD -n 1 | head -c 7`" --backup=no --default</pre>
</div>
<p><span style="font-size: xx-small;"><strong>Note:</strong> Ubuntu Maverick Meerkat 10.10 users may have to add <em>&#8211;fstrans=no</em> to the above checkinstall line.</span></p>
<p><span style="font-size: medium;"><span style="color: #663300;">Install libvpx</span> (optional)</span><br />
<span style="font-size: medium;">5.</span> This is used to encode and decode VP8 video. If you skip this, remove <em>&#8211;enable-libvpx</em> from step 6.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
git clone git://review.webmproject.org/libvpx.git
cd libvpx
./configure
make
sudo checkinstall --pkgname=libvpx --pkgversion="`date +%Y%m%d%H%M`-git" --backup=no --default</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install FFmpeg</span></span><br />
<span style="font-size: medium;">6.</span> Get the most current source files from the  official FFmpeg SVN, compile, and install. Run &#8220;./configure &#8211;help&#8221; to  see what features you can enable/disable. <a href="http://ffmpeg.mplayerhq.hu/releases/ffmpeg-checkout-snapshot.tar.bz2" target="_blank">Nightly FFmpeg snapshots</a> are also available.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion "4:SVN-r`svn info | grep Revision | awk '{ print $NF }'`" --backup=no --default
hash x264 ffmpeg ffplay</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Install qt-faststart</span> (optional)</span><br />
<span style="font-size: medium;">7.</span> This is a useful tool included with FFmpeg that rearranges a file with H.264 video, &#8220;such that the <em>moov atom</em> is in front of the data, thus facilitating network streaming&#8221;.   Basically, it allows web movies to start playing before they are  completely downloaded.  Usage: <strong>qt-faststart input.foo output.foo</strong>.</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd ~/ffmpeg
make tools/qt-faststart
sudo checkinstall --pkgname=qt-faststart --pkgversion "4:SVN-r`svn info | grep Revision | awk '{ print $NF }'`" --backup=no --default install -D -m755 tools/qt-faststart /usr/local/bin/qt-faststart</pre>
</div>
<p>That&#8217;s it for installation.  You can keep the <em>~/x264</em> and <em>~/ffmpeg</em> directories if you later want to update the source files to a new revision.  See <strong>Updating FFmpeg and x264</strong> below for more details.</p>
<p><span style="font-size: medium;"><span style="color: #663300;">Using FFmpeg and x264</span></span><br />
The easiest method for high quality video encoding is by using the  libx264 presets that are included with FFmpeg.  I recommend reading the <a href="http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/" target="_blank">FFmpeg x264 encoding guide</a> before trying these presets so you have a better idea of what to use.  You can add options such as frame size (for example: <em>-s 640&#215;480</em>) or tweak my examples to customize your encode.  You can see a current <a href="http://git.ffmpeg.org/?p=ffmpeg;a=tree;f=ffpresets" target="_blank">list of all <em>libx264</em> presets</a> (such as ipod or lossless) or after installation look in the <em>/usr/local/share/ffmpeg</em> directory.</p>
<p><strong>One-pass CRF</strong> (Constant Rate Factor) using the <em>slow</em> preset.  One-pass CRF is good for general encoding and is what I use most often.  Adjust <em>-crf</em> to change the quality.  Lower numbers mean higher quality and a larger output file size.  A sane range is 18 to 28.</p>
<div>
<div>Code:</div>
<pre dir="ltr">ffmpeg -i input.avi -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 output.mp4</pre>
</div>
<p><strong>Two-Pass encode</strong> using the <em>fast</em> presets.  Two-pass encoding is used when you are targeting a specific bitrate and/or final output file size:</p>
<div>
<div>Code:</div>
<pre dir="ltr">ffmpeg -i input.avi -pass 1 -vcodec libx264 -vpre fast_firstpass -b 512k -bt 512k -threads 0 -f rawvideo -an -y /dev/null &amp;&amp; ffmpeg -i input.avi -pass 2 -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre fast -b 512k -bt 512k -threads 0 output.mp4</pre>
</div>
<p><strong>iPod 640&#215;480</strong> using the <em>slow</em> and <em>ipod640</em> presets:</p>
<div>
<div>Code:</div>
<pre dir="ltr">ffmpeg -i input.avi -acodec libfaac -aq 100 -ac 2 -vcodec libx264 -vpre slow -vpre ipod640 -crf 26 -map_meta_data 0:0 -vf scale=640:-1 -threads 0 output.mp4</pre>
</div>
<p><span style="font-size: medium;"><span style="color: #663300;">Updating FFmpeg and x264</span></span><br />
Development of FFmpeg and x264 is active and an occasional update can  give you new features and bug fixes.  To update FFmpeg and x264 you will  need to remove the packages, <em>make distclean</em>, update the source, recompile, and install.  To update x264:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg x264 libx264-dev
cd ~/x264
make distclean
git pull</pre>
</div>
<p>Now compile x264 as shown earlier in the guide starting with the x264 <em>./configure</em> line.  Now FFmpeg:</p>
<div>
<div>Code:</div>
<pre dir="ltr">cd ~/ffmpeg
make distclean
svn update</pre>
</div>
<p>Now continue with the installation starting with the FFmpeg <em>./configure</em> line.</p>
<p><span style="font-size: medium;"><span style="color: #663300;">Reverting Changes Made by This Guide</span></span><br />
To remove FFmpeg/x264 and other packages added for this guide:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove x264 ffmpeg qt-faststart build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev</pre>
</div>
<p>Lastly, delete the <em>ffmpeg</em> and <em>x264</em> directories in your home folder.</p>
<p><span style="font-size: medium;"><span style="color: #663300;">Additional Resources</span></span></p>
<ul>
<li><a href="http://ubuntuforums.org/showthread.php?t=1392026" target="_blank">HOWTO: Proper Screencasting on Linux</a></li>
<li><a href="http://code.google.com/p/x264-ffmpeg-up-to-date/" target="_blank">x264-ffmpeg-up-to-date</a> &#8211; bash script to update x264 and ffmpeg</li>
<li><a href="http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/" target="_blank">FFmpeg x264 encoding guide</a></li>
<li><a href="http://www.videolan.org/developers/x264.html" target="_blank">x264 &#8211; a free h264/avc encoder</a></li>
<li><a href="http://mirror01.x264.nl/x264/changelog.txt" target="_blank">x264 changelog</a></li>
<li><a href="http://ffmpeg.org/" target="_blank">FFmpeg.org</a></li>
<li><a href="http://git.ffmpeg.org/?p=ffmpeg;a=summary" target="_blank">FFmpeg revision log</a></li>
</ul>
<p><span style="font-size: medium;"><span style="color: #663300;">If You Need Help</span></span><br />
Feel free to ask your questions here and I&#8217;ll try to answer you.   Helpful information includes your Ubuntu version, names of any  third-party repositories or <a href="https://help.launchpad.net/Packaging/PPA" target="_blank">PPA</a>s you are using, FFmpeg command, and the complete FFmpeg output if applicable.</p>
<p><strong>Recent Updates</strong></p>
<blockquote><p><strong>2010-07-25:</strong> Updated the iPod example. <strong>-map_meta_data</strong> will attempt to copy any metadata such as title from the input to the output, and <strong>-vf scale=640:-1</strong> will resize the output to 640 pixels wide and then automatically  determine the proper height to preserve the aspect ratio. Replaced <strong>-ab 128k</strong> with <strong>-aq 100</strong> for VBR audio awesomeness (<strong>-ab</strong> makes CBR). <strong>Note:</strong> Values for <em>-aq</em> vary amongst encoders, so a value that works for <em>libfaac</em> won&#8217;t necessarily work for <em>libmp3lame</em>.</p>
<p><strong>2010-07-19:</strong> <span style="text-decoration: line-through;">Changed the FFmpeg pkgversion for the checkinstall command so it works for non-English languages/locales. Thanks to <a href="http://ubuntuforums.org/member.php?u=208550" target="_blank">andrew.46</a></span> (Reverted until we get it working correctly.)</p>
<p><strong>2010-07-02:</strong> Karmic guide updates: Added <em>libvpx</em>. Added <em>libogg-dev</em> to &#8220;Reverting Changes&#8230;&#8221; section.  Added <em>ffplay</em> to the <em>hash</em> command. Lucid guide: removed <em>&#8211;nodoc</em> from the <em>libvpx</em> checkinstall because it installs without that option now.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoders in FFmpeg</title>
		<link>http://www.doyourself.org/ffmpeg/587-howto-easily-enable-mp3-mpeg4-aac-and-other-restricted-encoders-in-ffmpeg/</link>
		<comments>http://www.doyourself.org/ffmpeg/587-howto-easily-enable-mp3-mpeg4-aac-and-other-restricted-encoders-in-ffmpeg/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:31:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=587</guid>
		<description><![CDATA[A common question is &#8220;why doesn&#8217;t the repository FFmpeg convert to mp3, aac, mpeg4, etc?&#8221;. Ubuntu doesn&#8217;t make it very clear to the general user as to why to repo FFmpeg is so limited or how to fix this issue. This is reflected in the number of forum questions relating to this topic. Why is [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A common question is &#8220;why doesn&#8217;t the repository FFmpeg convert to mp3,  aac, mpeg4, etc?&#8221;.  Ubuntu doesn&#8217;t make it very clear to the general  user as to why to repo FFmpeg is so limited or how to fix this issue.   This is reflected in the number of forum questions relating to this  topic.</p>
<p><span style="font-size: medium;"><span style="color: #cc6600;">Why is FFmpeg from the repository so limited?</span></span><br />
Legal reasons.  Some software is limited due to geographical differences  in software patents, legal restrictions on free speech, and  restrictions on certain technologies.  Ubuntu sidesteps these legal  restrictions by not including some restricted packages by default.   Users must install these packages on their own.  See <a href="https://help.ubuntu.com/community/RestrictedFormats" target="_blank">Restricted Formats Ubuntu Community Documentation</a> and <a href="http://ffmpeg.org/legal.html" target="_blank">FFmpeg License and Legal Considerations</a> for more details.</p>
<p><span style="font-size: medium;"><span style="color: #cc6600;">How do I fix FFmpeg?</span></span><br />
There are several options:</p>
<blockquote><p>A. Compile FFmpeg yourself<br />
B. Install the <em>unstripped</em> or <em>extra</em> libraries<br />
C. Medibuntu</p></blockquote>
<p><span style="font-size: medium;"><span style="color: #cc6600;">A. Compiling FFmpeg yourself (for all Ubuntu versions)</span></span><br />
The official FFmpeg answer is to compile it yourself, giving you the  power to get what you want with the bug-fixes, enhancements, and  benefits of the most recent FFmpeg revision.  This is an excellent  solution and is explained here:</p>
<p><a href="http://www.doyourself.org/ffmpeg/592-howto-install-and-use-the-latest-ffmpeg-and-x264/" target="_blank">HOWTO: Install and use the latest FFmpeg and x264</a></p>
<p>This is the option that I personally use, and although it is not too  hard, compiling may not be for everyone for a variety of reasons.  Off  to the other options&#8230;</p>
<p><span style="font-size: medium;"><span style="color: #cc6600;">B. Installing the <em>unstripped</em> or <em>extra</em> libraries</span></span><br />
This is the quickest option for most users.  FFmpeg from the repository  does not include many restricted encoders, formats, and codecs which may  include: H.263, aac (libfaac), mp3 (libmp3lame), H.264 (libx264), xvid  (libxvid), and mpeg4.  You can fix this by installing the <em>unstripped</em> or <em>extra</em> (Ubuntu Karmic renamed <em>unstripped</em> to <em>extra</em>) FFmpeg libraries that will enable these restricted encoders.  Open up Terminal and enter:</p>
<p><strong>Ubuntu Lucid Lynx 10.04 &amp; Ubuntu Karmic Koala 9.10</strong></p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install ffmpeg libavcodec-extra-52</pre>
</div>
<blockquote><p><strong>Note:</strong> <span style="color: #ff6600;">The <strong>libavcodec-extra-52</strong> package for Lucid and Karmic do not support AAC or AMR formats.  I recommend using <strong>libavcodec-extra-52</strong> from the Medibuntu repository.  See option <strong>C. Medibuntu</strong>.</span></p></blockquote>
<p><strong>Ubuntu Jaunty Jackalope 9.04</strong></p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install ffmpeg libavcodec-unstripped-52</pre>
</div>
<p><strong>Ubuntu Intrepid Ibex 8.10</strong></p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install ffmpeg libavcodec-unstripped-51</pre>
</div>
<p>Alternatively, you can search for these packages in the Synaptic Package Manager.</p>
<p><span style="font-size: medium;"><span style="color: #cc6600;">C. Medibuntu</span></span><br />
This option is available for <strong>Ubuntu Lucid Lynx 10.04</strong>, <strong>Ubuntu Karmic Koala 9.10</strong> and <strong>Ubuntu Hardy Heron 8.04</strong>.  <a href="http://medibuntu.org/" target="_blank">Medibuntu</a> is a third-party repository that contains packages that are unable to  be included in the official Ubuntu repositories.  To install FFmpeg from  Medibuntu open Terminal (Applications -&gt; Accessories -&gt; Terminal)  and run the following:</p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list &amp;&amp; sudo apt-get -q update &amp;&amp; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring &amp;&amp; sudo apt-get -q update</pre>
</div>
<p>This huge command (adapted from <a href="https://help.ubuntu.com/community/Medibuntu" target="_blank">Medibuntu &#8211; Community Ubuntu Documentation</a>) will install the repository information to your computer then update and authenticate the new repository.  Now install FFmpeg:</p>
<p><strong>Ubuntu Lucid Lynx 10.04 &amp; Ubuntu Karmic Koala 9.10</strong></p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install ffmpeg libavcodec-extra-52</pre>
</div>
<p><strong>Ubuntu Hardy Heron 8.04</strong></p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get install ffmpeg</pre>
</div>
<p>That&#8217;s it.  Now you have a non-crippled version of FFmpeg.  See some usage examples at the <a href="http://www.doyourself.org/ffmpeg/588-ffmpeg-x264-encoding-guide/" target="_blank">FFmpeg x264 encoding guide</a>.</p>
<p><span style="font-size: medium;"><span style="color: #cc6600;">Undoing Changes Made By This Guide</span></span><br />
<strong>B. Uninstalling the <em>unstripped</em> or <em>extra</em> libraries</strong></p>
<div>
<div>Code:</div>
<pre dir="ltr">sudo apt-get remove ffmpeg libavcodec-*-5*</pre>
</div>
<p><strong>C. Uninstalling FFmpeg and the Medibuntu Repository</strong></p>
<div>Code:</div>
<pre dir="ltr">sudo apt-get autoremove ffmpeg medibuntu-keyring &amp;&amp; sudo rm /etc/apt/sources.list.d/medibuntu.list</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ffmpeg/587-howto-easily-enable-mp3-mpeg4-aac-and-other-restricted-encoders-in-ffmpeg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Removing multiple Ubuntu boot entries</title>
		<link>http://www.doyourself.org/ubuntu/70-removing-multiple-ubuntu-boot-entries/</link>
		<comments>http://www.doyourself.org/ubuntu/70-removing-multiple-ubuntu-boot-entries/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 19:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[entries]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[Removing]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=70</guid>
		<description><![CDATA[If you are dual-booting Ubuntu with Windows you will have a bootmenu that allows you to select between the two systems. When you first install Ubuntu you only have 3 options: Ubuntu &#60;version x&#62;, Ubuntu mem test and Windows XP/Vista/whatever. Over time, when you upgrade Ubuntu, you can start to get multiple copies of the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you are dual-booting Ubuntu with Windows you will have a bootmenu that allows you to select between the two systems.</p>
<p>When you first install Ubuntu you only have 3 options: <em>Ubuntu &lt;version x&gt;</em>, <em>Ubuntu mem test</em> and <em>Windows XP/Vista/whatever</em>.</p>
<p>Over time, when you upgrade Ubuntu, you can start to get multiple copies of the <em>Ubuntu</em> and <em>Mem test</em> options. This is a pain, particularly because the default option may no longer be what you want.</p>
<p>Luckily, fixing this is easy. Follow these steps:</p>
<p>1. Press Alt+F2. This brings up the <em>Run application</em> dialog.</p>
<p>2. In the dialog, type: <em>gksudo gedit /boot/grub/menu.lst. </em>This launches an editor to let you change the menu.lst file.</p>
<p>3. If prompted, enter your administrator password.</p>
<p>4. Once the editor has loaded, press Ctrl+f to open the find dialog.</p>
<p>5. Type <em>howmany</em> in the find dialog.</p>
<p>6. Look for the line in the file that reads <em>howmany=all</em> and change it to read <em>howmany=1</em></p>
<p>7. Save the changed file and exit the editor.</p>
<p>8. That&#8217;s it. Next time you boot you will have only one <em>Ubuntu</em> option, one <em>Mem test</em> option and any<em> Windows</em> options.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ubuntu/70-removing-multiple-ubuntu-boot-entries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching out of fullscreen mode in rdesktop</title>
		<link>http://www.doyourself.org/ubuntu/84-switching-out-of-fullscreen-mode-in-rdesktop/</link>
		<comments>http://www.doyourself.org/ubuntu/84-switching-out-of-fullscreen-mode-in-rdesktop/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 19:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[of]]></category>
		<category><![CDATA[out]]></category>
		<category><![CDATA[rdesktop]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=84</guid>
		<description><![CDATA[rdesktop is a Remote Desktop Protocol client for linux &#8211; it enables you to remote desktop to a Windows machine. It was difficult to find the keyboard shortcut for switching rdesktop in and out of fullscreen mode so I&#8217;m blogging this here so that others may find it (and to remind myself as I&#8217;m bound [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>rdesktop is a Remote Desktop Protocol client for linux &#8211; it enables you to remote desktop to a Windows machine.</p>
<p>It was difficult to find the keyboard shortcut for switching rdesktop in and out of fullscreen mode so I&#8217;m blogging this here so that others may find it (and to remind myself as I&#8217;m bound to forget).</p>
<p>The keyboard shortcut to toggle full screen mode in rdesktop is CTRL-ALT-RETURN</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ubuntu/84-switching-out-of-fullscreen-mode-in-rdesktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu announces Hardy Heron release</title>
		<link>http://www.doyourself.org/ubuntu/94-ubuntu-announces-hardy-heron-release/</link>
		<comments>http://www.doyourself.org/ubuntu/94-ubuntu-announces-hardy-heron-release/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 19:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[announces]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Heron]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.doyourself.org/?p=94</guid>
		<description><![CDATA[The Ubuntu team have announced that the release to follow Gutsy Gibbon (v7.10) is Hardy Heron (v8.04). Gutsy is due for release in October 2007 and Hardy is pencilled in for April 2008. The Heron release will also include Long Term Support (LTS) &#8211; this guarantees security updates for the server version for 5 years [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The Ubuntu team have announced that the release to follow Gutsy Gibbon (v7.10) is Hardy Heron (v8.04). Gutsy is due for release in October 2007 and Hardy is pencilled in for April 2008.</p>
<p>The Heron release will also include Long Term Support (LTS) &#8211; this guarantees security updates for the server version for 5 years after release and the desktop version for 3 years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyourself.org/ubuntu/94-ubuntu-announces-hardy-heron-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

