<?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>scienceoss.com &#187; convert</title>
	<atom:link href="http://scienceoss.com/tags/convert/feed/" rel="self" type="application/rss+xml" />
	<link>http://scienceoss.com</link>
	<description>useful tidbits for using open source software in science</description>
	<lastBuildDate>Wed, 26 May 2010 03:34:19 +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>Record screencasts, convert to Flash, and embed on your site</title>
		<link>http://scienceoss.com/record-screencasts-convert-to-flash-and-embed-on-your-site/</link>
		<comments>http://scienceoss.com/record-screencasts-convert-to-flash-and-embed-on-your-site/#comments</comments>
		<pubDate>Sat, 03 May 2008 18:30:41 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[utilities]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://scienceoss.com/?p=124</guid>
		<description><![CDATA[Here&#8217;s a step-by-step tutorial of creating a screencast, converting it into an .flv file, and uploading it to your site with an embedded Flash player. The tools ffmpeg (On Ubuntu: sudo apt-get install ffmpeg) gtk-recordmydesktop (On Ubuntu: sudo apt-get install gtk-recordmydesktop) Jeroen Wijering&#8217;s embedded Flash player wizard (brilliant!) The process 1. Record a screencast Fire [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a step-by-step tutorial of creating a screencast, converting it into an .flv file, and uploading it to your site with an embedded Flash player.<span id="more-124"></span></p>
<h3>The tools</h3>
<ul>
<li><a href="http://ffmpeg.mplayerhq.hu/">ffmpeg</a>
<p>    (On Ubuntu: <span class="c">sudo apt-get install ffmpeg</span>)</li>
<li><a href="http://recordmydesktop.iovar.org/about.php">gtk-recordmydesktop</a>
<p>    (On Ubuntu: <span class="c">sudo apt-get install gtk-recordmydesktop</span>)</li>
<li>Jeroen Wijering&#8217;s <a href="http://www.jeroenwijering.com/?page=wizard">embedded Flash player wizard</a> (brilliant!)</li>
</ul>
<h3>The process</h3>
<h4>1. Record a screencast</h4>
<p>Fire up gtk-recordmydesktop.  The screen looks like this:<br />
<a href='http://scienceoss.com/wp-content/uploads/2008/04/screenshot-recordmydesktop.png'><img src="http://scienceoss.com/wp-content/uploads/2008/04/screenshot-recordmydesktop-300x137.png" alt="" title="gtk-recordmydesktop screenshot" width="300" height="137" class="alignnone size-medium wp-image-125" /></a></p>
<p>Optionally press &#8220;Select Window&#8221; and click on a window to select it for recording.</p>
<p>Press record, and do your thing.</p>
<p>By default, it saves the file as <span class="c">out.ogg</span> in your home directory.  (more info on the <a href="http://en.wikipedia.org/wiki/Ogg">Ogg</a> format).  </p>
<h4>2. Convert the <span class="c">.ogg</span> to <span class="c">.flv</span></h4>
<p>You need to convert this into a Flash <span class="c">.flv</span> format.  Easiest way is to use <span class="c">ffmpeg</span>:</p>
<pre class="prettyprint"><code class="code">ffmpeg -i out.ogg out.flv</code></pre>
<p>or, optionally resize so that the output file will be 320&#215;250:</p>
<pre class="prettyprint"><code class="code">ffmpeg -i out.ogg -s 320x250 out.flv</code></pre>
<h4>3. Upload the .flv to your site</h4>
<p>Upload the new <span class="c">.flv</span> to your site (and remember where you put it).</p>
<h4>4. Use the embedded Flash player wizard</h4>
<p>Then go to Jeroen Wijering&#8217;s <a href="http://www.jeroenwijering.com/?page=wizard">embedded Flash player wizard</a>.  Paste the link to your newly uploaded <span class="c">.flv</span>.</p>
<p>Double check that the file shows up in the preview of the wizard.  When you&#8217;re happy with it, copy the source code shown in the wizard and paste it in your site.</p>
<h4>A note on embedding in WordPress</h4>
<p>Copying and pasting the code into the edit window for a post did not work properly at first in WordPress (even in the non-visual editor).  The source code showed up as plain text.  To fix this, I had to delete all the newlines so that the <code>embed</code> tag was all on one line.</p>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/record-screencasts-convert-to-flash-and-embed-on-your-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash script: convert images</title>
		<link>http://scienceoss.com/bash-script-convert-images/</link>
		<comments>http://scienceoss.com/bash-script-convert-images/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 03:12:29 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://scienceoss.com/bash-script-convert-images/</guid>
		<description><![CDATA[Convert all eps files into jpeg copies in current directory and lower. #!/usr/bin/bash for f in $(find -type f -iname '*.eps') do dest=`echo ${f%.*}` echo "${f} to ${dest}.jpg" convert "${f}" "${dest}.jpg" done]]></description>
			<content:encoded><![CDATA[<p>Convert all eps files into jpeg copies in current directory and lower.</p>
<pre class="prettyprint"><code class="code">#!/usr/bin/bash
for f in $(find -type f -iname '*.eps')
do
     dest=`echo ${f%.*}`
     echo "${f} to ${dest}.jpg"
     convert "${f}" "${dest}.jpg"
done</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/bash-script-convert-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

