<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>John Beales</title>
	
	<link>http://johnbeales.com</link>
	<description>Summer Fun</description>
	<pubDate>Mon, 17 Nov 2008 16:20:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/JohnBeales" type="application/rss+xml" /><item>
		<title>BonzoBox</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/456134749/</link>
		<comments>http://johnbeales.com/20081117/bonzobox/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 16:17:28 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[bonzobox]]></category>

		<category><![CDATA[domassistant]]></category>

		<category><![CDATA[homepage]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=176</guid>
		<description><![CDATA[Create a social homepage based around bookmarks.


About a year ago I was contracted to build a homepage that used screenshots of websites to link to the sites, had drag &#38; drop to move the sites around, and was easy to use.  Marcos Cantoni of Visual Dreams Interactive did the great design work, and I [...]]]></description>
			<content:encoded><![CDATA[<p>Create a social homepage based around bookmarks.</p>
<div class="portfolio-screenshots">
<div id="attachment_177" class="wp-caption alignleft" style="width: 340px"><a href="http://johnbeales.com/wp-content/uploads/2008/11/bbox-1.png"><img class="size-full wp-image-177" title="BonzoBox Home Screen" src="http://johnbeales.com/wp-content/uploads/2008/11/bbox-1.png" alt="My BonzoBox homepage." width="330" height="201" /></a><p class="wp-caption-text">My BonzoBox homepage.</p></div><div id="attachment_185" class="wp-caption alignright" style="width: 310px"><a href="http://johnbeales.com/wp-content/uploads/2008/11/bbox-2.png"><img class="size-full wp-image-185 " title="BonzoBox Site Detail" src="http://johnbeales.com/wp-content/uploads/2008/11/bbox-2.png" alt="You can store a custom title, description, and tags for every site you save." width="300" height="201" /></a><p class="wp-caption-text">You can store a custom title, description, and tags for every site you save.</p></div></p>
</div>
<p>About a year ago I was contracted to build a homepage that used screenshots of websites to link to the sites, had drag &amp; drop to move the sites around, and was easy to use.  Marcos Cantoni of <a href="http://www.visualdreamsinc.com">Visual Dreams Interactive</a> did the great design work, and I did the coding.  Fast forward a year and BonzoBox has come a long way - it is a social website built around the sharing of websites.  I am now a partner in the site, (and the CTO), and we are making it even greater!</p>
<p>BonzoBox brought my AJAX skills to a whole new level.  It features drag &amp; drop, ajax forms, tagging, dragging items out of flash movies, inbox widgets, and more, with more in the pipe.  I also used a Javascript Library for the first time - I chose <a href="http://www.domassistant.com">DOMAssistant</a> because of its light weight and modular structure, and am extremely happy with it.</p>
<p>BonzoBox is currently in public beta and I encourage you to go <a href="http://bonzobox.com">Sign Up</a> and try it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20081117/bonzobox/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20081117/bonzobox/</feedburner:origLink></item>
		<item>
		<title>Re-Design!</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/450294604/</link>
		<comments>http://johnbeales.com/20081111/re-design/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 04:46:48 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[This Site]]></category>

		<category><![CDATA[re-design]]></category>

		<category><![CDATA[summer-fun]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=168</guid>
		<description><![CDATA[
After over two years it is time to say goodbye to the old &#8220;Summer Fun&#8221; theme.
This new theme has been created in my spare time over the past couple of months.  It is designed to highlight what I post.  The sidebar, footer, and metadata all fade away unless they&#8217;re moused over, there is [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_169" class="wp-caption alignleft" style="width: 167px"><a href="http://johnbeales.com/wp-content/uploads/2008/11/summer-skin.png"><img class="size-full wp-image-169   " title="Summer Fun theme" src="http://johnbeales.com/wp-content/uploads/2008/11/summer-skin.png" alt="Goodbye to the old Summer Fun theme!" width="157" height="193" /></a><p class="wp-caption-text">Goodbye to the old Summer Fun theme!</p></div>
<p>After over two years it is time to say goodbye to the old &#8220;Summer Fun&#8221; theme.</p>
<p>This new theme has been created in my spare time over the past couple of months.  It is designed to highlight what I post.  The sidebar, footer, and metadata all fade away unless they&#8217;re moused over, there is lots of white space, and with the introduction of ClearType  I have updated the fonts to be more like a printed book.  The new theme also uses no images!</p>
<p>There will, of course, be some tweaks to be made over the next while as I get some <a href="/get-in-touch/">feedback</a>, but for now, enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20081111/re-design/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20081111/re-design/</feedburner:origLink></item>
		<item>
		<title>4RoadService.com</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/450279869/</link>
		<comments>http://johnbeales.com/20081111/4roadservicecom/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 04:20:38 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[4roadservice.com]]></category>

		<category><![CDATA[re-design]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=164</guid>
		<description><![CDATA[Re-design the 4RoadService.com breakdown directory.


Quite some time ago I was engaged to update some information in a database and increase the speed when searching the database.  This small job bloomed into a lasting business relationship and a full re-design and modernization of the breakdown directory 4RoadService.com.
The redesign brought 4RoadService.com from a legacy-style table-based layout [...]]]></description>
			<content:encoded><![CDATA[<p>Re-design the 4RoadService.com breakdown directory.</p>
<div class="portfolio-screenshots">
<div id="attachment_165" class="wp-caption alignleft" style="width: 340px"><a href="http://johnbeales.com/wp-content/uploads/2008/11/4rs-1.png"><img class="size-full wp-image-165" title="4RoadService.com" src="http://johnbeales.com/wp-content/uploads/2008/11/4rs-1.png" alt="4RoadService.com home page after the re-design." width="330" height="201" /></a><p class="wp-caption-text">4RoadService.com home page after the re-design.</p></div></p>
<p><div id="attachment_166" class="wp-caption alignright" style="width: 310px"><a href="http://johnbeales.com/wp-content/uploads/2008/11/4rs-2.png"><img class="size-full wp-image-166" title="4RoadService.com Detail" src="http://johnbeales.com/wp-content/uploads/2008/11/4rs-2.png" alt="New search results on 4RoadService.com" width="300" height="201" /></a><p class="wp-caption-text">New search results on 4RoadService.com</p></div>
</div>
<p>Quite some time ago I was engaged to update some information in a database and increase the speed when searching the database.  This small job bloomed into a lasting business relationship and a full re-design and modernization of the breakdown directory <a href="http://www.4roadservice.com" title="Visit 4RoadService.com (External Link)" rel="external">4RoadService.com</a>.</p>
<p>The redesign brought 4RoadService.com from a legacy-style table-based layout to a modern, semantic, layout using the latest web standards.  At the same time I updated the data structure to further improve the site performance, updated the account system and more.  To top it off, I added some AJAX scripting to make everything feel snappy.</p>
<p>A year after the launch of the new design 4RoadService.com continues to grow, and even more features are planned for the next weeks and months.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20081111/4roadservicecom/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20081111/4roadservicecom/</feedburner:origLink></item>
		<item>
		<title>National Punctuation Day</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/401935183/</link>
		<comments>http://johnbeales.com/20080924/national-punctuation-day/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 16:25:24 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<category><![CDATA[grammar]]></category>

		<category><![CDATA[national punctuation day]]></category>

		<category><![CDATA[punctuation]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=140</guid>
		<description><![CDATA[I was reading the in-flight magazine on Monday, and found something great.  Today is National Punctuation Day.  Check out the website and brush up on your punctuation.  Hopefully we can reduce the number of misplaced apostrophes and maybe even increase the number of serial commas.
]]></description>
			<content:encoded><![CDATA[<p>I was reading the in-flight magazine on Monday, and found something great.  Today is <a href="http://www.nationalpunctuationday.com/">National Punctuation Day</a>.  Check out the <a href="http://www.nationalpunctuationday.com/">website</a> and brush up on your punctuation.  Hopefully we can reduce the number of misplaced <a href="http://johnbeales.com/20060925/apostrophe/">apostrophes</a> and maybe even increase the number of <a href="http://www.nationalpunctuationday.com/serialcomma.html">serial commas</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080924/national-punctuation-day/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080924/national-punctuation-day/</feedburner:origLink></item>
		<item>
		<title>Congratulations to Dropbox &amp; Akoha!</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/387076875/</link>
		<comments>http://johnbeales.com/20080908/congratulations-to-dropbox-akoha/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 22:38:19 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Web Business]]></category>

		<category><![CDATA[akoha]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[dropbox]]></category>

		<category><![CDATA[startup]]></category>

		<category><![CDATA[techcrunch]]></category>

		<category><![CDATA[techcrunch 50]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=138</guid>
		<description><![CDATA[Dropbox and Akoha, which I have been using and enjoying, have both been selected as finalists at TechCrunch50 Conference.  
I wrote about Akoha about a week and a half ago after I went to their party.  I&#8217;ve been trying it out since then and I&#8217;m impressed.  I still can&#8217;t really say much more though.
DropBox is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.getdropbox.com">Dropbox</a> and <a href="http://community.akoha.com/blog/">Akoha</a>, which <a href="/20080829/akoha-is-seems-really-cool/">I have been using</a> and enjoying, have both been selected as finalists at <a href="http://www.techcrunch50.com">TechCrunch50 Conference</a>.  </p>
<p>I wrote about Akoha about a week and a half ago after I went to their party.  I&#8217;ve been trying it out since then and I&#8217;m impressed.  I still can&#8217;t really say much more though.</p>
<p>DropBox is a dead-simple file synchronization service.  There&#8217;s a small client program that runs in the background and keeps your &#8220;Dropbox&#8221; - a folder you designate, synced with other computers linked to your account.  You can also share synced folders within your Dropbox with other people, making a super easy way for everyone in a team to have the latest version of everything.</p>
<p>I highly recommend checking out the presentations by both Akoha and DropBox this week.  DropBox is tomorrow, sometime between 3:45 and 5:00 PM, (I think they&#8217;re last in the session), and Akoha is Wednesday, sometime between 10:30 and 11:45 AM, (it looks like they&#8217;re second).  All times Pacific.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080908/congratulations-to-dropbox-akoha/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080908/congratulations-to-dropbox-akoha/</feedburner:origLink></item>
		<item>
		<title>Akoha seems really cool</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/378295076/</link>
		<comments>http://johnbeales.com/20080829/akoha-is-seems-really-cool/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 18:22:46 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Web Business]]></category>

		<category><![CDATA[akoha]]></category>

		<category><![CDATA[event]]></category>

		<category><![CDATA[montreal]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=133</guid>
		<description><![CDATA[Last night I was lucky enough to attend the Akoha sneak preview event here in Montréal.  I can&#8217;t say much now, but Akoha seems pretty cool, and is something I want to use.
The Akoha folks really know how to put on a party and get a group of people excited about their product.  I&#8217;m excited.
I [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I was lucky enough to attend the <a href="http://www.akoha.org/">Akoha</a> sneak preview event here in Montréal.  I can&#8217;t say much now, but Akoha seems pretty cool, and is something I want to use.</p>
<p>The Akoha folks really know how to put on a party and get a group of people excited about their product.  I&#8217;m excited.</p>
<p>I will write more later, when I&#8217;m allowed, and have used it for a while.  For now, pay attention, and if you have the opportunity to try it out for yourself then give it a shot.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080829/akoha-is-seems-really-cool/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080829/akoha-is-seems-really-cool/</feedburner:origLink></item>
		<item>
		<title>Banned iPhone advertisement highlights regulators’ (mis)understanding of the internet</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/376299208/</link>
		<comments>http://johnbeales.com/20080827/banned-iphone-advertisement-highlights-regulators-misunderstanding-of-the-internet/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 15:52:54 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Web Business]]></category>

		<category><![CDATA[advertisement]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[asa]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[regulation]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=131</guid>
		<description><![CDATA[If you haven&#8217;t heard, the Advertising Standards Authority, (the UK&#8217;s advertising watchdog), has banned this ad in response to 2 viewer complaints:

The judgement states the ad was banned because the statement that &#8220;all the parts of the internet are on the iPhone&#8221; was deemed misleading because the iPhone does &#8220;not support Flash or Java, both [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard, the Advertising Standards Authority, (the UK&#8217;s advertising watchdog), <a href="http://news.bbc.co.uk/2/hi/technology/7582197.stm">has</a> <a href="http://www.washingtonpost.com/wp-dyn/content/article/2008/08/26/AR2008082604032.html">banned</a> <a href="http://www.itwire.com/content/view/20255/1103/1/0/">this</a> <a href="http://www.macworld.com/article/135237/2008/08/iphonead.html?lsrc=rss_main">ad</a> in response to 2 viewer complaints:</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/sVbkT5YiHIo&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/sVbkT5YiHIo&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" allowfullscreen="true"></embed></object></p>
<p>The <a href="http://www.asa.org.uk/asa/adjudications/Public/TF_ADJ_44891.htm">judgement states</a> the ad was banned because the statement that &#8220;all the parts of the internet are on the iPhone&#8221; was deemed misleading because the iPhone does &#8220;not support Flash or Java, both integral to many web pages.&#8221;</p>
<p>This judgement hightlights the fact that regulators don&#8217;t often truly understand the internet, even if they are sometimes required to regulate it.  If we take the <abbr title="Advertising Standards Authority">ASA</abbr>&#8217;s ruling at face value then nobody can advertise any computer as being able to access &#8220;all the parts of the internet&#8221; since most computers ship without Flash or Java plugins installed.   To take that arguement even further, since most computers that are sold run Windows, and windows comes with Internet Explorer, and <abbr title="Internet Explorer">IE</abbr>, in it&#8217;s current form, is not 100% standards-compliant, so all of the Internet is not available computers either, at least not out of the box.</p>
<p>Granted, the iPhone is much more difficult to add a Flash or Java plugin to, (I believe it is impossible right now), but governments and regulators seem to pass strange, <a href="http://www.techcrunch.com/2006/07/27/us-house-resolution-targeting-myspace-web20-passes-410-15/">mis-informed judgements</a> sometimes.  On the other hand, we&#8217;re really wanting some regulation when it comes to <a href="http://en.wikipedia.org/wiki/Net_neutrality">net neutrality</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080827/banned-iphone-advertisement-highlights-regulators-misunderstanding-of-the-internet/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080827/banned-iphone-advertisement-highlights-regulators-misunderstanding-of-the-internet/</feedburner:origLink></item>
		<item>
		<title>Le Dernier Continent</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/371243757/</link>
		<comments>http://johnbeales.com/20080821/le-dernier-continent/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 20:13:10 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Cool]]></category>

		<category><![CDATA[antarctica]]></category>

		<category><![CDATA[climate change]]></category>

		<category><![CDATA[film]]></category>

		<category><![CDATA[le dernier continent]]></category>

		<category><![CDATA[movie]]></category>

		<category><![CDATA[the last continent]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=129</guid>
		<description><![CDATA[
LeDernierContinentLeFilm.com
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/CTXE8Xf1k4A&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/CTXE8Xf1k4A&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.lederniercontinentlefilm.com/index_fr.html">LeDernierContinentLeFilm.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080821/le-dernier-continent/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080821/le-dernier-continent/</feedburner:origLink></item>
		<item>
		<title>Using VLC to transcode an Axis Camera’s video stream, and stream it out again</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/370015583/</link>
		<comments>http://johnbeales.com/20080820/using-vlc-to-transcode-an-axis-cameras-video-stream-and-stream-it-out-again/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 14:28:18 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Hints, Techniques &amp; More]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[axis]]></category>

		<category><![CDATA[camera]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[h.264]]></category>

		<category><![CDATA[ip camera]]></category>

		<category><![CDATA[live streaming]]></category>

		<category><![CDATA[live video]]></category>

		<category><![CDATA[streaming]]></category>

		<category><![CDATA[transcode]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[vlc]]></category>

		<category><![CDATA[wowza]]></category>

		<category><![CDATA[wowza media server pro]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=123</guid>
		<description><![CDATA[VLC likes to die when transcoding an rtsp stream from an Axis camera then re-streaming it.  However, by using a named pipe and two instances of VLC it is possible to make this work.]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been working on streaming live video from IP cameras to a Flash player on a website.  It sounds simple, but not so much, (if you&#8217;re in a hurry, <a href="#vlc-transcode-solution">skip to the solution</a>).</p>
<p>The problem is that most IP cameras are not made for streaming live, full-motion, events to the web.  They&#8217;re made for surveillance at 11 <abbr title="Frames Per Second">FPS</abbr> in Motion JPEG format, (that&#8217;s just a bunch of JPEG images coming one after another).  This is obviously not ideal from a bandwidth perspective at all.  The cameras that our project uses are <a href="http://www.axis.com">Axis</a> 207 and 210 cameras.  These cameras are capable of streaming MPEG-4 video, and when you look at the video in a web browser it looks pretty good.  When I first saw that, I was excited - I could just stream into a Flash media server, (We&#8217;re using <a href="http://www.wowzamedia.com/">Wowza Media Server Pro</a> at the moment), and that would send everything off to the player, right?  Wrong.</p>
<p>It turns out that most, if not all, Axis products stream in MPEG4-ES, which flash cannot understand, and therefore our server rejects.  I had to find a way to change MP4V-ES to h.264.</p>
<p>The obvious solution to transcoding the video stream from MP4V-ES to h.264 is <a href="http://www.videolan.org">VLC</a>.  While it looks like a media player that can handle a lot of formats, under the surface lies a powerful, command-line based, transcoding and streaming program.  I discovered that, in theory, I should be able to issue one command to VLC and have it receive the MPEG4-ES stream from the camera, transcode it to h.264, and stream it to the Wowza, which would handle the rest.</p>
<p>I started by opening a file, transcoding it to h.264, and streaming it to Wowza:</p>
<p><code>vlc -vvv /path/to/file/Extremists.m4v --sout "#transcode{venc=x264,vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22100}:rtp{dst=SERVER-IP-ADDRESS,sdp=file:///path/to/wowza/content/myStream.sdp}"</code></p>
<p>It was a little rough, as the testing server doesn&#8217;t have a lot of processing power, but it worked.  Awesome.  Now I just have to hook it up to the stream from the camera, right?</p>
<p>I added the camera as the source and removed the sound:</p>
<p><code>vlc -vvv rtsp://camera-ip-address:554/mpeg4/1/media.amp --no-sout-audio --sout "#transcode{venc=x264,vcodec=x264,vb=200,scale=1}:rtp{dst=SERVER-IP-ADDRESS,sdp=file:///absolute/path/to/wowza/content/myStream.sdp}"</code></p>
<p>With Wowza already running on the server, I typed that in to terminal, and it started to look good.  Then PAF! I get this error:</p>
<p><code>[00000385] access_output_udp private debug: mmh, hole (147841635484807 &gt; 2s) -&gt; drop</code></p>
<p>VLC seems to think that a frame, or some piece of information has been delayed 147841635484807 seconds.  I highly doubt that, but VLC is convinced.  Try as I might, I was not able to get VLC to realize that the frame, (or whatever bit of info), was simply missing a timestamp or something.</p>
<p>So, I figured I would debug just the connection to the camera.  I opened a VNC session, and ran this:</p>
<p><code>vlc -vvv rtsp://camera-ip-address:554/mpeg4/1/media.amp</code></p>
<p>To see if I could view the video.  I could, so I tried saving it to a file:</p>
<p><code>vlc -vvv rtsp://CAMERA-IP-ADDRESS:554/mpeg4/media.amp --no-drop-late-frames --no-sout-audio --sout "#std{mux=ts,access=file,dst=/tmp/camstream.m4v}"</code></p>
<p>This worked also.  It appears that the problem only occurs when I am trying to open, transcode, and send out the stream all at once.</p>
<p id="vlc-transcode-solution">I realized, if I can transcode from a file and stream, and if I can capture a stream and save it to a file, I should be able to do both at the same time.  It works!  The steps are, make the pipe:</p>
<p><code>mkpipe /tmp/vpipe</code></p>
<p>Then capture the stream and save it to the pipe:</p>
<p><code>vlc -vvv rtsp://CAMERA-IP-ADDRESS:554/mpeg4/media.amp --no-drop-late-frames --no-sout-audio --sout "#std{mux=ts,access=file,dst=/tmp/vpipe}"</code></p>
<p>And finally read from the pipe, transcode, and stream to the flash server:</p>
<p><code>vlc -vvv /tmp/vpipe --no-sout-audio --sout "#transcode{venc=x264,vcodec=x264,vb=500,scale=1}:rtp{dst=SERVER-IP-ADDRESS,sdp=file:///path/to/wowza/content/myStream.sdp}"</code></p>
<p>Shazam!</p>
<p>There are a couple of caveats, though:</p>
<ul>
<li>This sucks major processing horsepower.  Make sure you&#8217;ve got enough</li>
<li>To make a stream work this way you have to have 2 copies of VLC running, plus your flash server.  That&#8217;s a lot of parts that could have a problem</li>
</ul>
<p>Because of these caveats, I am still looking for an alternate solution, and may stream MPEG-4 to browsers until Axis has its h.264 products ready later this year.</p>
<p>Yesterday, I did find a second possible solution.  Instead of using the first instance of VLC to capture the stream, it is sometimes possible to use Darwin Streaming Server to capture the stream, then use 1 instance of VLC to transcode it. This seems to use much less processing power, but is not 100% reliable either.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080820/using-vlc-to-transcode-an-axis-cameras-video-stream-and-stream-it-out-again/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080820/using-vlc-to-transcode-an-axis-cameras-video-stream-and-stream-it-out-again/</feedburner:origLink></item>
		<item>
		<title>Flickr 888</title>
		<link>http://feeds.feedburner.com/~r/JohnBeales/~3/360039295/</link>
		<comments>http://johnbeales.com/20080808/flickr-888/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 04:20:38 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[The Camera]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[flickr 888]]></category>

		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://johnbeales.com/?p=116</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a title="Untitled by John Beales, on Flickr" href="http://www.flickr.com/photos/johnbeales/2745088251/"><img class="aligncenter" src="http://farm4.static.flickr.com/3234/2745088251_c6fd388e2f.jpg" alt="" width="500" height="375" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://johnbeales.com/20080808/flickr-888/feed/</wfw:commentRss>
		<feedburner:origLink>http://johnbeales.com/20080808/flickr-888/</feedburner:origLink></item>
	</channel>
</rss>
