<?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>Thursday Night &#187; Yikes!</title>
	<atom:link href="http://blog.paulbetts.org/index.php/category/programs/yikes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paulbetts.org</link>
	<description>Paul Betts's personal website / blog / what-have-you</description>
	<lastBuildDate>Tue, 27 Sep 2011 21:17:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Yikes! for nerds: how to get the code</title>
		<link>http://blog.paulbetts.org/index.php/2008/06/05/yikes-for-nerds-how-to-get-the-code/</link>
		<comments>http://blog.paulbetts.org/index.php/2008/06/05/yikes-for-nerds-how-to-get-the-code/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 03:27:31 +0000</pubDate>
		<dc:creator>Paul Betts</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Yikes!]]></category>

		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2008/06/05/yikes-for-nerds-how-to-get-the-code/</guid>
		<description><![CDATA[I ran out of time yesterday, but as promised, here&#8217;s how to build and run Yikes! Quick Start /* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */.ch_code_container {font-family: monospace;font-size: 10pxheight:100%;}.ch_code_container .imp {font-weight: bold; color: red;}.ch_code_container .kw1 {color: #b1b100;}.ch_code_container .kw3 {color: #000066;}.ch_code_container .co1 {color: #808080; font-style: italic;}.ch_code_container .es0 {color: #000099; font-weight: bold;}.ch_code_container .br0 {color: #66cc66;}.ch_code_container .st0 {color: [...]]]></description>
			<content:encoded><![CDATA[<p>
I ran out of time yesterday, but as promised, here&#8217;s how to build and run Yikes!
</p>
<h2>Quick Start</h2>
<style type="text/css">/* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */.ch_code_container  {font-family: monospace;font-size: 10pxheight:100%;}.ch_code_container .imp {font-weight: bold; color: red;}.ch_code_container .kw1 {color: #b1b100;}.ch_code_container .kw3 {color: #000066;}.ch_code_container .co1 {color: #808080; font-style: italic;}.ch_code_container .es0 {color: #000099; font-weight: bold;}.ch_code_container .br0 {color: #66cc66;}.ch_code_container .st0 {color: #ff0000;}.ch_code_container .nu0 {color: #cc66cc;}.ch_code_container .re0 {color: #0000ff;}.ch_code_container .re1 {color: #0000ff;}.ch_code_container .re2 {color: #0000ff;}</style>
<div class="ch_code_container" style="font-family: monospace;font-size: 10pxheight:100%;">git clone git://github.com/xpaulbettsx/yikes.git<br />
<span class="kw3">cd</span> yikes<br />
rake &amp;&amp; rake ffmpeg<br />
ruby lib/main.rb -l /path/to/videos -t /path/to/ipod/output -r <span class="nu0">1800</span> -b</div>
<h2>Getting the code</h2>
<p>
By far, the best way to get the code is via <a href="http://en.wikipedia.org/wiki/Git_(software)">Git</a>; this lets you view the entire commit history, as well as send me changes. If you don&#8217;t have Git, you can download precompiled source code trees for <a href="http://paulbetts.org/projects/yikes/yikes_pre0.5_linux.zip">Linux</a> or <a href="http://paulbetts.org/projects/yikes/yikes_pre0.5_osx.zip">Mac OS X 10.5</a>. The Git clone URL via <a href="http://github.com/xpaulbettsx/yikes/tree/master">Github</a> is git://github.com/xpaulbettsx/yikes.git
</p>
<h2>Building (&#8220;Huh? Building? On Ruby?&#8221;)</h2>
<p>
<i>(If you downloaded the precompiled version, skip this part!)</i> Even though the application is in Ruby, we need to build ffmpeg and its associated libraries from source, so you need to have the XCode tools installed, and you probably need MacPorts as well. While building this takes forever, it&#8217;s fairly easy:
</p>
<style type="text/css">/* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */.ch_code_container  {font-family: monospace;font-size: 10pxheight:100%;}.ch_code_container .imp {font-weight: bold; color: red;}.ch_code_container .kw1 {color: #b1b100;}.ch_code_container .kw3 {color: #000066;}.ch_code_container .co1 {color: #808080; font-style: italic;}.ch_code_container .es0 {color: #000099; font-weight: bold;}.ch_code_container .br0 {color: #66cc66;}.ch_code_container .st0 {color: #ff0000;}.ch_code_container .nu0 {color: #cc66cc;}.ch_code_container .re0 {color: #0000ff;}.ch_code_container .re1 {color: #0000ff;}.ch_code_container .re2 {color: #0000ff;}</style>
<div class="ch_code_container" style="font-family: monospace;font-size: 10pxheight:100%;">rake &amp;&amp; rake ffmpeg</div>
<h2>Running the app</h2>
<p>
Right now, you have to run Yikes! from the command line, but the syntax is pretty easy. Here&#8217;s a sample:</p>
<style type="text/css">/* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */.ch_code_container  {font-family: monospace;font-size: 10pxheight:100%;}.ch_code_container .imp {font-weight: bold; color: red;}.ch_code_container .kw1 {color: #b1b100;}.ch_code_container .kw3 {color: #000066;}.ch_code_container .co1 {color: #808080; font-style: italic;}.ch_code_container .es0 {color: #000099; font-weight: bold;}.ch_code_container .br0 {color: #66cc66;}.ch_code_container .st0 {color: #ff0000;}.ch_code_container .nu0 {color: #cc66cc;}.ch_code_container .re0 {color: #0000ff;}.ch_code_container .re1 {color: #0000ff;}.ch_code_container .re2 {color: #0000ff;}</style>
<div class="ch_code_container" style="font-family: monospace;font-size: 10pxheight:100%;"><span class="kw3">cd</span> yikes_public</p>
<p><span class="co1"># The long version</span><br />
ruby lib/main.rb &#8211;library /path/to/videos &#8211;target /path/to/ipod/output &#8211;rate <span class="nu0">1800</span> &#8211;background</p>
<p><span class="co1"># or if you want the short version</span><br />
ruby lib/main.rb -l /path/to/videos -t /path/to/ipod/output -r <span class="nu0">1800</span> -b</p>
<p><span class="co1"># If you want to run it on the sample files for development, there&#8217;s an easier way</span><br />
rake run</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.paulbetts.org/index.php/2008/06/05/yikes-for-nerds-how-to-get-the-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yikes! It&#8217;s your videos on your iPod!</title>
		<link>http://blog.paulbetts.org/index.php/2008/06/04/yikes-its-your-videos-on-your-ipod/</link>
		<comments>http://blog.paulbetts.org/index.php/2008/06/04/yikes-its-your-videos-on-your-ipod/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 17:14:30 +0000</pubDate>
		<dc:creator>Paul Betts</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Yikes!]]></category>

		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2008/06/04/yikes-its-your-videos-on-your-ipod/</guid>
		<description><![CDATA[For awhile, I&#8217;ve been working on a project that is pretty cool, and I&#8217;m finally getting near the &#8220;first 90% done&#8221; software development mark; now I&#8217;ve got the 2nd 90% to get it to production-quality, and the 3rd 90% will make it actually good. Here&#8217;s the screenshot: Yes, the UI is rough-draft, I&#8217;ve got to [...]]]></description>
			<content:encoded><![CDATA[<p>
For awhile, I&#8217;ve been working on a project that is pretty cool, and I&#8217;m finally getting near the &#8220;first 90% done&#8221; software development mark; now I&#8217;ve got the 2nd 90% to get it to production-quality, and the 3rd 90% will make it actually <i>good</i>. Here&#8217;s the screenshot:
</p>
<p align="center">
<img src="http://blog.paulbetts.org/wp-photos/yikes_screenshot.png" /><br />
<i>Yes, the UI is rough-draft, I&#8217;ve got to go to town on it in CSSEdit</i>
</p>
<h2>What&#8217;s it do?</h2>
<p>
In its simple mode, Yikes! will take a directory and convert all the movies to iPod/iPhone format (H.264 MPEG-4&#8242;s, so compatible with most players), and it will skip files it&#8217;s already converted. This isn&#8217;t too far off from what you could do with Handbrake and some clever bash scripts.
</p>
<p>
However, you can also run the program in background mode, and this is where it gets really useful. You give the program a folder of videos, and a place to put the iPod videos, and it will start a web site that you can go to on another computer, where you can see the converted videos, download them, or <i>(and here&#8217;s the clever part)</i>, add it to iTunes as a video podcast, which will copy all the videos to your iPod automagically.
</p>
<h2>Where&#8217;s the code?</h2>
<p>
Github! <a href="http://github.com/xpaulbettsx/yikes">http://github.com/xpaulbettsx/yikes</a><br />
<b>Update:</b> Changed URL from earlier, merged webif-ramaze into master
</p>
<p>
Later today once I&#8217;m back at home I&#8217;ll put up a &#8220;how to get/build the code&#8221;, as it&#8217;s a little tricky. I&#8217;m working on official releases for Mac and Linux, and a Windows port is in the future; while I haven&#8217;t been coding towards it, I also have made sure to not choose anything that&#8217;s <i>completely</i> impossible for Win32.
</p>
<h2>Thoughts? Ideas? Comments? Want to help?</h2>
<p>
Since I&#8217;m always busy with work, it&#8217;s taken me quite a while to get to this point, and I&#8217;m definitely open to accepting contributions and making this a real open-source project; so far, I&#8217;ve set up Github and a <a href="http://xpaulbettsx.lighthouseapp.com/projects/11154-yikes/">bug tracker</a> (but no mailing list, forums, documentation, etc).  If you&#8217;re not handy with coding, websites, or art/design, I would even just appreciate suggestions or ideas for cool features. My Email address is paul at paulbetts dot org, let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.paulbetts.org/index.php/2008/06/04/yikes-its-your-videos-on-your-ipod/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

