<?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>Endikos &#187; Cyphon</title>
	<atom:link href="http://www.endikos.com/category/video/cyphon/feed" rel="self" type="application/rss+xml" />
	<link>http://www.endikos.com</link>
	<description>Journeying through the art and science of digital media.</description>
	<lastBuildDate>Sun, 11 Jul 2010 23:53:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cyphon: Purpose-Driven Video Transcoding</title>
		<link>http://www.endikos.com/video/cyphon-purpose-driven-video-transcoding.html</link>
		<comments>http://www.endikos.com/video/cyphon-purpose-driven-video-transcoding.html#comments</comments>
		<pubDate>Mon, 22 Jun 2009 19:08:12 +0000</pubDate>
		<dc:creator>Endikos</dc:creator>
				<category><![CDATA[Cyphon]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.endikos.com/?p=124</guid>
		<description><![CDATA[In my last article on video transcoding I made mention of a little utility I&#8217;d assembled called &#8220;Cyphon&#8221;.  After I discovered the awesomeness of Handbrake&#8217;s command line interface, I decided I wanted to build something that would allow all the video guys at my employer to encode videos for various target platforms simply.   Leave the [...]]]></description>
			<content:encoded><![CDATA[<p>In my<a rel="external" href="http://www.endikos.com/video/adventures-in-video-transcoding.html"> last article on video transcoding</a> I made mention of a little utility I&#8217;d assembled called &#8220;Cyphon&#8221;.  After I discovered the awesomeness of Handbrake&#8217;s command line interface, I decided I wanted to build something that would allow all the video guys at my employer to encode videos for various target platforms simply.   Leave the gazillion-encode-variables-degree-in-transcoding-required stuff to me.  Not everyone should have to worry about that.  Of course <a rel="external" href="http://handbrake.fr/">Handbrake</a> does an excellent job at taking most of that away anyway, but I still found myself tweaking options to get the best output I could.  I also wanted to encode something Windows users could watch with a default install of windows.  This meant I&#8217;d also have to bring in either ffmpeg or mencoder, and <a rel="external" href="http://www.mplayerhq.hu/">mencoder</a> seemed to do the best job at encoding WMV files.</p>
<p>So now to wrap everything into something all my video guys can use, including myself.  I have several options, and they boil down to variations on two major themes:  1) Build some sort of intranet web service where the end user uploads something and gets transcoded video to download a short while later; 2) Build a distributable application that each person can use natively.</p>
<p>For various reasons, I chose to build a little distributable application.  Now while I am a programmer, I&#8217;m not really a systems programmer.  I prefer web development and scripting languages, although I do know Java and enough C to build working apps if I have to.  And as lovely as Cocoa and Objective C are, I haven&#8217;t learned them (yet &#8211; I&#8217;m in the process of learning them). Fortunately, I dont necessarily need to know Cocoa or Objective C to write a simple and effective app for OSX (Sorry Windows and Linux Guys, all the video folks here run Macs ;-).  Enter the dynamic duo of <a rel="external" href="http://www.sveinbjorn.org/platypus">Platypus</a> and <a rel="external" href="http://cocoadialog.sourceforge.net/">CocoaDialog</a>.</p>
<p>Platypus lets me  use ruby to write the logic of my app, and CocoaDialog lets me present windows with user-selectable options or notifications to the user.  So now I can knit together a ruby script, handbrake, and mencoder together using platypus and cocoadialog to make video transcoding an effortless task for my video guys.  Platypus even lets me make the icon droppable, so I could make my script do video transcoding in batches or one-at-a-time.</p>
<p>My employer has been kind enough to let me release Cyphon to the world licensed under the GPL, v2.  I&#8217;m releasing the bundled app as well as all the original source files I used, including the platypus profile, so you can see what options I used, and how I stiched everything together (the Platypus profile wont work for you right out of the box, as it will have my home directory&#8217;s path hardcoded, you&#8217;ll need to tweak that to reflect your source paths before it will work). If you just want to make tweaks to the running app, right-click or alt-click the app, choose &#8220;Show Package Contents&#8221;, go to Contents, then Resources, and look at the &#8220;script&#8221; file.  You&#8217;re probably most interested in &#8220;@@encoding_options&#8221; beginning at line 22.  There are a few of things you&#8217;ll want to keep in mind: 1) I know this will work on OSX 1.5 on an Intel platform, other platforms are questionable.  2)  If you throw a source video at it that doesnt have an audio track, it will barf.   This will be a future fix.  3)  It&#8217;s made to be able to accept quicktime MOV files.  I don&#8217;t know if anything else will work, because I havent tested it.  4) Keep in mind we have a very specific set of needs, and it meets those needs well. It may not meet your needs without significant work ;-)</p>
<p>All that said, here are the downloads you&#8217;ve been itching for:</p>
<ol>
<li><a href="http://www.endikos.com/downloads/Cyphon1.4.dmg">Cyphon v1.4 for OSX 10.5, Intel Platforms</a></li>
<li><a href="http://www.endikos.com/downloads/CyphonSources.zip">Sources for Cyphon 1.4</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.endikos.com/video/cyphon-purpose-driven-video-transcoding.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
