<?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>The eflow blog &#187; linux</title>
	<atom:link href="http://blog.eflow.org/archives/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.eflow.org</link>
	<description>Insert some amazingly witty tagline here</description>
	<lastBuildDate>Fri, 23 Apr 2010 03:19:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Screencasting in Ubuntu</title>
		<link>http://blog.eflow.org/archives/46</link>
		<comments>http://blog.eflow.org/archives/46#comments</comments>
		<pubDate>Sun, 31 Jan 2010 16:22:33 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=46</guid>
		<description><![CDATA[After futile searches and a lot of old pages, I finally found a linux screencast tool: recordmydesktop.
Using the synaptic package manager, I installed recordmydesktop.  Eventually I discovered that this was not the gui part of the program and installed gtk-recordmydesktop.
I&#8217;ve been very happy with the results.
 ]]></description>
			<content:encoded><![CDATA[<p>After futile searches and a lot of old pages, I finally found a <a href="http://en.wikipedia.org/wiki/RecordMyDesktop">linux screencast</a> tool: recordmydesktop.</p>
<p>Using the synaptic package manager, I installed recordmydesktop.  Eventually I discovered that this was not the gui part of the program and installed <b>gtk-recordmydesktop</b>.</p>
<p>I&#8217;ve been very happy with the results.</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=46" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/46/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting Everio MOV Files to FLV Using FFMPEG</title>
		<link>http://blog.eflow.org/archives/267</link>
		<comments>http://blog.eflow.org/archives/267#comments</comments>
		<pubDate>Fri, 15 Jan 2010 01:07:12 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[everio]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[jvc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mov]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=267</guid>
		<description><![CDATA[I struggled with getting the mpeg2 movies from my JVC Everio HD camera into a smaller file and up onto a video sharing site with high quality.
My first attempt was with Handbrake.  That converted the MOV to an MP4 very nicely.  However, I wasn&#8217;t able to upload those to Blip.tv and have them [...]]]></description>
			<content:encoded><![CDATA[<p>I struggled with getting the mpeg2 movies from my JVC Everio HD camera into a smaller file and up onto a video sharing site with high quality.</p>
<p>My first attempt was with <a href="http://handbrake.fr/">Handbrake</a>.  That converted the MOV to an MP4 very nicely.  However, I wasn&#8217;t able to upload those to <a href="http://blip.tv">Blip.tv</a> and have them convert successfully every time to an flv.  Blip was timing out on the longer videos and poorly converting the smaller ones.</p>
<p>I then decided to try the command line ffmpeg.  There weren&#8217;t any gui tools around it that I found in the repo&#8217;s, so I just tried the standard </p>
<blockquote><p>
ffmpeg -i inputfilename.mov outputfilename.flv
</p></blockquote>
<p>but that <strong>did not work</strong>.  Apparently JVC doesn&#8217;t put all the right properties into the mpg2 for ffmpeg to automatically pick up the properties because I kept getting a Floating point exception. </p>
<p>I assumed I needed to just manually set the full command with all the different video and audio settings, but I didn&#8217;t know what those should be.</p>
<p>After a bit more googling I found <a href="http://winff.org">winff</a>.  From that app I copied the command line arguments over, tweaked them a bit, and came out with this:</p>
<blockquote><p>
ffmpeg -i INPUTFILENAME.mov -vcodec libx264 -deinterlace -vpre hq -crf 22 -r 29.97 -s 960&#215;540 -aspect 16:9 -bf 2 -b 2000kb -ac 1 -ar 22050 -ab 96k OUTPUTFILENAME.flv
</p></blockquote>
<p>The trick is to use the libx264 codec instead of the flv one.  After uploading these converted movies to <a href="http://blip.tv">Blip.tv</a> I was pleased with the results.</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=267" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/267/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grep Across Multiple Lines</title>
		<link>http://blog.eflow.org/archives/76</link>
		<comments>http://blog.eflow.org/archives/76#comments</comments>
		<pubDate>Sat, 20 Sep 2008 13:28:57 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=76</guid>
		<description><![CDATA[I struggled for a long while to get the unix &#8220;grep&#8221; program to do a true multi word search.  However, grep merely searches within lines, so only files that had all words in the phrase on the same line would be returned.  I wanted to know which files in the current folder contained the words [...]]]></description>
			<content:encoded><![CDATA[<p>I struggled for a long while to get the unix &#8220;grep&#8221; program to do a true multi word search.  However, grep merely searches within lines, so only files that had <span style="text-decoration: underline;">all</span> words in the phrase on the <span style="text-decoration: underline;">same</span> line would be returned.  I wanted to know which files in the current folder contained the words &#8220;Reuben&#8221;, &#8220;Onida&#8221; and &#8220;Cornelius&#8221; anywhere (and in any order) within them.</p>
<p>The solution turned out to be to grep three times and pipe each result into the next:</p>
<blockquote><p>grep -l Reuben * | xargs grep -l Onida | xargs grep -l Cornelius</p></blockquote>
<p>The first <code>grep -l Reuben *</code> returns all file names that contain the word &#8220;Reuben&#8221;.  Piping that to xargs makes the second argument essentially <code>grep -l Onida file1 file2 file3 file4</code> etc.  This chaining can go on for as many search phrases as you have.  The final output is a list of files that contain every word in your search phrase.</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=76" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/76/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
