<?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>Misadventures of a Celtic Geek &#187; Ubuntu</title>
	<atom:link href="http://blog.guesny.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.guesny.net</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 03 Jun 2012 19:25:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>I Hate downtime</title>
		<link>http://blog.guesny.net/2008/07/09/i-hate-downtime/</link>
		<comments>http://blog.guesny.net/2008/07/09/i-hate-downtime/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 12:04:17 +0000</pubDate>
		<dc:creator>welsh_dwarf</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.guesny.net/index.php/2008/07/09/i-hate-downtime/</guid>
		<description><![CDATA[Yesterday evening, I agreed to turn my Home Server &#8482; off too help some people sleep. Unfortunatly my servers sleep turned out to be the big sleep, and this morning it refused to start. A few hours and a HD &#8230; <a href="http://blog.guesny.net/2008/07/09/i-hate-downtime/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday evening, I agreed to turn my Home Server &#8482; off too help some people sleep.</p>
<p>Unfortunatly my servers sleep turned out to be the big sleep, and this morning it refused to start.</p>
<p>A few hours and a HD transplant later, evrything is back on line, now running on a Semperon 2600 and 1Go of ram <img src='http://blog.guesny.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guesny.net/2008/07/09/i-hate-downtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu vs AAC (round 1)</title>
		<link>http://blog.guesny.net/2008/06/07/ubuntu-vs-aac-round-1/</link>
		<comments>http://blog.guesny.net/2008/06/07/ubuntu-vs-aac-round-1/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 08:56:15 +0000</pubDate>
		<dc:creator>welsh_dwarf</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.guesny.net/index.php/2008/06/07/ubuntu-vs-aac-round-1/</guid>
		<description><![CDATA[For better or for worse, (generally for worse) a lot of multimedia systems seem to like making peoples lives difficult. This is painfully obvious with AAC and the formats that use it (think mp4). Luckally, playback can be assured by &#8230; <a href="http://blog.guesny.net/2008/06/07/ubuntu-vs-aac-round-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For better or for worse, (generally for worse) a lot of multimedia systems seem to like making peoples lives difficult.</p>
<p>This is painfully obvious with AAC and the formats that use it (think mp4).</p>
<p>Luckally, playback can be assured by using a nice arrangement of plugins that are downloaded just in time to play the offending file on your computer (thanks ubuntu).</p>
<p>This help doesn&#8217;t extend to re-encoding though, so for those of you lucky enough to have an mp4 capable phone (like the sony erricsons), you can find that putting the latest Bleach on your phone to be an exercise in frustration.</p>
<p>The reasons for this are numerous and complexe but come down to the simple fact that if cannonicle put aac encoders in Ubuntu they&#8217;d be sued to kingdom come in the states (thank god I don&#8217;t live there <img src='http://blog.guesny.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p>
<p>Help is at hand though, since even if the versions of the enncoding tools included with Ubuntu don&#8217;t come equiped, you can re-compile them so that they work as intended.</p>
<p>First up: ffmpeg</p>
<p>FFmpeg is one of the many swiss army knives used for video encoding available with Linux. It&#8217;s probably the easiest to use, and like it&#8217;s cousins, the ubuntu version comes cripled.</p>
<p>What to do?</p>
<p>First of all, make sure we have what&#8217;s needed to re-build it</p>
<blockquote><p>sudo apt-get build-dep ffmpeg</p></blockquote>
<p>Then add a few libraries (that add the magic support)</p>
<blockquote><p>sudo apt-get install libfaac-dev libfaac0 libfaad-dev libfaad2-0 libfaad0</p></blockquote>
<p>Finally, get the  source code to ffmpeg</p>
<blockquote><p>mkdir ffmpeg<br />
cd ffmpeg<br />
apt-get source ffmpeg</p></blockquote>
<p>Now the fun starts, you should have 3 files and a directory before you.</p>
<p>Cd into the directory.</p>
<p>Now let&#8217;s move this thing arround a bit:</p>
<p>Open: debian/rules</p>
<p>This file tells dpkg how to build ffmpeg, we want to add a config flag so go to the lines that start with &#8220;confflags&#8221; and add on to one of them:</p>
<blockquote><p>&#8211;enable-libfaad &#8211;enable-libfaac</p></blockquote>
<p>Save, and quit, now all you have to do is re-build the package</p>
<blockquote><p>dpkg-buildpackage</p></blockquote>
<p>go have a coffee while it builds, and then install the result:</p>
<blockquote><p>cd ..<br />
dpkg -i ffmpeg*</p></blockquote>
<p>To use, something like this is needed:</p>
<blockquote><p>ffmpeg  -i Source.avi -vcodec h263 -b 400 -s 352&#215;288 -acodec aac -ab 64  -ar 48000 -ac 2 -f mp4 Dest.mp4</p></blockquote>
<p>Update:</p>
<p>For eugenia (and anyone else who also wants AMR support), here are the debs with it (supported in the &#8216;if it breaks you get to keep both pieces&#8217; way since I haven&#8217;t got the means to test them atm:</p>
<p>Update :</p>
<p>I&#8217;ve removed the download links for now since the files aren&#8217;t available on my server any longer. If anyone needs them, let me know</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guesny.net/2008/06/07/ubuntu-vs-aac-round-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bye bye Dapper, Welcome Hardy</title>
		<link>http://blog.guesny.net/2008/04/27/bye-bye-dapper-welcome-hardy/</link>
		<comments>http://blog.guesny.net/2008/04/27/bye-bye-dapper-welcome-hardy/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 13:50:25 +0000</pubDate>
		<dc:creator>welsh_dwarf</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Dapper]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.guesny.net/index.php/2008/04/27/bye-bye-dapper-welcome-hardy/</guid>
		<description><![CDATA[I&#8217;ve just finished upgrading my server to Ubuntu Hardy, with virtual no trouble. The only problem came from the kernel, which now callsÂ  ide drives &#8216;sd&#8230;&#8217; instead of &#8216;hd&#8230;&#8217; so hda1 becomes sda1. Update grub or face the consequances.You have &#8230; <a href="http://blog.guesny.net/2008/04/27/bye-bye-dapper-welcome-hardy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished upgrading my server to Ubuntu Hardy, with virtual no trouble.</p>
<p>The only problem came from the kernel, which now callsÂ  ide drives &#8216;sd&#8230;&#8217; instead of &#8216;hd&#8230;&#8217; so hda1 becomes sda1.</p>
<p>Update grub or face the consequances.You have been warned!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.guesny.net/2008/04/27/bye-bye-dapper-welcome-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

