<?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>Red Yellow &#187; project balti</title>
	<atom:link href="http://redyellow.co.uk/tag/project-balti/feed/" rel="self" type="application/rss+xml" />
	<link>http://redyellow.co.uk</link>
	<description>Sport, Mobiles, Development and did I mention Sport?</description>
	<lastBuildDate>Thu, 29 Jul 2010 12:57:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Video transcoding, Darwin and the iPhone</title>
		<link>http://redyellow.co.uk/video-transcoding-darwin-and-the-iphone/</link>
		<comments>http://redyellow.co.uk/video-transcoding-darwin-and-the-iphone/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 19:53:58 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[DSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wapple]]></category>
		<category><![CDATA[Wapple Canvas]]></category>
		<category><![CDATA[Darwin Streaming Server]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[perl script]]></category>
		<category><![CDATA[project balti]]></category>
		<category><![CDATA[Video Transcoding]]></category>
		<category><![CDATA[Wapple HQ]]></category>

		<guid isPermaLink="false">http://redyellow.co.uk/?p=179</guid>
		<description><![CDATA[Project Balti. That name won&#8217;t mean a great deal to anyone outside of Wapple HQ, but to those few in the know, it means just one thing &#8211; a video transcoding and streaming media solution. The first part of the project brief was to be able to give Wapple Canvas users the ability to upload [...]


Related posts:<ol><li><a href='http://redyellow.co.uk/darwin-streaming-server/' rel='bookmark' title='Permanent Link: Darwin Streaming Server'>Darwin Streaming Server</a></li>
<li><a href='http://redyellow.co.uk/wordpress-mobile-plugin-1-2-1/' rel='bookmark' title='Permanent Link: WordPress Mobile Plugin 1.2.1'>WordPress Mobile Plugin 1.2.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://">Project Balti</a>. That name won&#8217;t mean a great deal to anyone outside of Wapple HQ, but to those few in the know, it means just one thing &#8211;  a video transcoding and streaming media solution.</p>
<p><span id="more-179"></span><img class="alignleft size-full wp-image-229" title="video" src="http://redyellow.co.uk/wp-content/uploads/2009/07/video.jpg" alt="video" width="93" height="93" />The first part of the project brief was to be able to give Wapple Canvas users the ability to upload a single source video, be that in MP4, 3GP, AVI or whatever, and transcode it into multiple formats. Those formats should be configurable as should resolutions and bitrates &#8211; the ability to auto generate thumbnails and place assets into categories and content sets was also a requirement.</p>
<p>On it&#8217;s own it&#8217;s an enormous project, but in addition to this, all those videos have to be streamable! Aye Carumba!</p>
<p><!--more--></p>
<h3>64-bit install = nightmare!</h3>
<p>I&#8217;d made a few comments in my article about <a href="/2009/06/darwin-streaming-server/">setting up a Darwin Streaming Server</a> &#8211; about how easy it was to install and how you can get up and running in no time, but I may have been a little bit hasty. Configuring DSS on a 64-bit linux machine means you have to apply a number of patches to the source code and compile it rather than go through the handy install file for 32-bit.</p>
<p>Pretty hardcore I&#8217;m sure you&#8217;ll agree, but I found this awesome tutorial on how to do it &#8211; have a read of it <a href="http://cwshep.blogspot.com/2008/08/darwin-streaming-server-603-on-linux.html">here</a>, it&#8217;ll explain it a lot better than I can.</p>
<p>As for <a href="http://www.ffmpeg.org/">ffmpeg</a> &#8211; to get it running with a decent set of video and audio codecs, you have to install a load of packages (or windows libraries if you&#8217;re that way inclined), but get those installed and you&#8217;re set and ready to go.</p>
<h3>Ffmpeg, perl and crons</h3>
<p>If you&#8217;ve got a perl script to run ffmpeg transcoding and need to run it in the background, you&#8217;ll need a few extra options when starting off your script otherwise it&#8217;ll hang at the ffmpeg command and not actually do anything! Your kick-off command should look a bit like this:</p>
<p><span class="code">$ perl transcode.pl &lt;/dev/null &gt;/dev/null &amp;</span></p>
<p>And if you put it in a cron don&#8217;t forget to include the full paths to both perl and your video transcode script.</p>
<p>Streaming now works perfectly to every handset that supports it as well as a few that don&#8217;t &#8211; we&#8217;ve even got embedded iPhone videos with a little play button on top of the video thumbnail! Rock on!</p>
<p><img class="alignleft size-full wp-image-232" title="canvas" src="http://redyellow.co.uk/wp-content/uploads/2009/07/canvas.png" alt="canvas" width="51" height="51" />If you&#8217;re a budding Steven Spielberg and fancy creating a load of different videos in a multitude of formats and bitrates, sign up for a <a href="http://wapple.net/mobile-web-site-builder-and-mobile-marketing-tools.htm">free Wapple Canvas</a> account and get to it!</p>
<img src="http://redyellow.co.uk/?ak_action=api_record_view&id=179&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://redyellow.co.uk/darwin-streaming-server/' rel='bookmark' title='Permanent Link: Darwin Streaming Server'>Darwin Streaming Server</a></li>
<li><a href='http://redyellow.co.uk/wordpress-mobile-plugin-1-2-1/' rel='bookmark' title='Permanent Link: WordPress Mobile Plugin 1.2.1'>WordPress Mobile Plugin 1.2.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://redyellow.co.uk/video-transcoding-darwin-and-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
	</channel>
</rss>
