<?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>Blog of Anders Rune Jensen &#187; n810</title>
	<atom:link href="http://people.iola.dk/arj/tag/n810/feed/" rel="self" type="application/rss+xml" />
	<link>http://people.iola.dk/arj</link>
	<description>metalinguistic musings and other related ramblings</description>
	<lastBuildDate>Fri, 18 Nov 2011 19:13:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Streaming media between two linux boxes</title>
		<link>http://people.iola.dk/arj/2009/04/03/streaming-media-between-two-linux-boxes/</link>
		<comments>http://people.iola.dk/arj/2009/04/03/streaming-media-between-two-linux-boxes/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 22:30:39 +0000</pubDate>
		<dc:creator>Anders Rune Jensen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[n770]]></category>
		<category><![CDATA[n800]]></category>
		<category><![CDATA[n810]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://people.iola.dk/arj/?p=307</guid>
		<description><![CDATA[<p><a href="http://www.flickr.com/photos/chris_gin/2197585153/"><img class="alignleft" style="border: 10px solid white;" src="http://farm3.static.flickr.com/2373/2197585153_9669fec4ed.jpg?v=1201313037" alt="" width="284" height="193" /></a>I was wondering why it wasn&#8217;t possible to playback a movie over a ssh connection using remote X11 forwarding and mplayer. It seems that the latency is simply just too high. I&#8217;m not exactly sure if it&#8217;s a ssh or a X problem. This was on a wireless link, which might be part of the problem. While researching the problem I found this pretty <a href="http://www.psc.edu/networking/projects/hpn-ssh/">cool patch</a> for openssh that should give better transfer speeds. It&#8217;s in gentoo as the hpn use flag (even a patch for openssh 5.2). Sadly it did not seem to solve the problem. The movie was still very laggy. Then I tried adding a -C to add compression. This help a bit, but it was still painfully slow and uses quite a bit more cpu on the server side. Also the sounds will come out on the server end, so this might not work very well if you&#8217;re not in the same machine as the server <img src='http://people.iola.dk/arj/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Back to the drawing board it seems&#8230; I found this <a href="http://hartvig.de/n800/">excellent post</a> on how to stream movies from a server to a Nokia 800 tablet with size conversion done on the fly at the server end. This script is pretty clever and truly UNIX style. It uses netcat to pipe the data from the server to the client, and just sticks a ffmpeg in front to scale the movie first. What is perfect about this solution is that it uses very little cpu (very good for small devices like the Nokia tablets) and it streams the sound to the client. The only downside seems to be that the data is not encrypted. But of course there are ways around that too if you really care.</p>
<p>On the client (mine is 192.168.0.2) do this:</p>
<p>nc -l -p 5000 | mplayer -</p>
<p>And on the server side to this:</p>
<p>cat /movies/nice-movie.avi | nc 192.168.0.2 5000</p>
]]></description>
		<wfw:commentRss>http://people.iola.dk/arj/2009/04/03/streaming-media-between-two-linux-boxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Location aware web applications</title>
		<link>http://people.iola.dk/arj/2008/10/20/location-aware-web-applications/</link>
		<comments>http://people.iola.dk/arj/2008/10/20/location-aware-web-applications/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 00:36:06 +0000</pubDate>
		<dc:creator>Anders Rune Jensen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[n810]]></category>

		<guid isPermaLink="false">http://people.iola.dk/arj/?p=204</guid>
		<description><![CDATA[<p>Firefox 3.1 will have <a href="http://labs.mozilla.com/2008/10/introducing-geode/">geolocation</a> support, allowing some interesting new web applications to come to the web platform. I really like what this will do for devices like the n810. They also announced alpha1 of their mobile brower version, <a href="https://wiki.mozilla.org/Mobile/Fennec">fennec</a>. Sadly its incredibly slow, something that hopefully  will be fixed as the browser matures for the first real release.</p>
]]></description>
		<wfw:commentRss>http://people.iola.dk/arj/2008/10/20/location-aware-web-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

