<?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>Lenfis bLog</title>
	<atom:link href="http://blog.jl42.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jl42.de</link>
	<description>Computer, Coffee &#38; Co</description>
	<lastBuildDate>Thu, 17 Jun 2010 07:04:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ubuntu, Apparmor and moved home dirs</title>
		<link>http://blog.jl42.de/2010/06/ubuntu-apparmor-and-moved-home-dirs/</link>
		<comments>http://blog.jl42.de/2010/06/ubuntu-apparmor-and-moved-home-dirs/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 07:04:42 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[apparmor]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=806</guid>
		<description><![CDATA[I got a new HDD recently and linked /home to a new partition mounted on /data/, /data/home/. Just like I did a dozen times before. Now a realized, that my pdf viewer evince (and surely some other programs) aren&#8217;t working anymore. Evince crashes with this error message: (evince:22792): EggSMClient-WARNING **: Failed to connect to the]]></description>
			<content:encoded><![CDATA[<p>I got a new HDD recently and linked /home to a new partition mounted on /data/, /data/home/. Just like I did a dozen times before. Now a realized, that my pdf viewer evince (and surely some other programs) aren&#8217;t working anymore. Evince crashes with this error message:</p>
<pre>(evince:22792): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
(evince:22792): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/lenfers/.recently-used.xbel', but the parser failed: Datei »/home/lenfers/.recently-used.xbel« konnte nicht geöffnet werden: Permission denied.
** (evince:22792): WARNING **: Error creating last_settings file: Fehler beim Öffnen der Datei »/home/lenfers/.gnome2/evince/last_settings«: No such file or directory
</pre>
<p>As I found out, that is caused by AppArmor, a surely useful innovation to secure your computer, but new enough that I haven&#8217;t took the time to get to know it. AppArmor is activated by default on Ubunut 10.04 (and IIRC 9.10 and maybe 9.04 as well) and restricts access of programs on certain files. Due to the change of my home directory, evince tried to access files which for AppArmor are in /data/home/lenfers/ and consequently disallowed access to them.</p>
<p>The solution to this is easy, after <a href="https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/447292">I found it</a>: Make your new location for home directories known to AppArmor: Add the path of your home direcories to the HOMEDIRs var in  /etc/apparmor.d/tunables/home. Now the line looks like that for me:</p>
<pre>@{HOMEDIRS}=/home/ /data/home/</pre>
<p>Now back to work. <img src='http://blog.jl42.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/06/ubuntu-apparmor-and-moved-home-dirs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reaction Buttons and WordPress 3</title>
		<link>http://blog.jl42.de/2010/06/reaction-buttons-and-wordpress-3/</link>
		<comments>http://blog.jl42.de/2010/06/reaction-buttons-and-wordpress-3/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 07:37:14 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[reaction buttons]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=802</guid>
		<description><![CDATA[Just made small changes to Reaction Buttons and tested them on a WordPress3 rc3 blog. New features will be in version 1.1. Download the current version directly through the plugins menu or from wordpress.org. Feel free to Flattr this post at flattr.com, if you like it.]]></description>
			<content:encoded><![CDATA[<p>Just made small changes to Reaction Buttons and tested them on a WordPress3 rc3 blog. New features will be in version 1.1.</p>
<p>Download the current version directly through the plugins menu or from <a href="http://wordpress.org/extend/plugins/reaction-buttons/">wordpress.org</a>.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/06/reaction-buttons-and-wordpress-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VDR hack: Stream video with synced audio</title>
		<link>http://blog.jl42.de/2010/06/vdr-hack-stream-video-with-synced-audio/</link>
		<comments>http://blog.jl42.de/2010/06/vdr-hack-stream-video-with-synced-audio/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 07:07:19 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vdr]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[wc2010]]></category>
		<category><![CDATA[wm2010]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=793</guid>
		<description><![CDATA[VDR streams very well with the streamdev-plugin, but only unicast http streams. That is usually no problem, because even 3 streams aren&#8217;t nearly too much for a normal 100Mbit home network and I wouldn&#8217;t need any more at home. But with the world cup starting tomorrow me and Karin are going to watch some games]]></description>
			<content:encoded><![CDATA[<p>VDR streams very well with the <a href="http://www.vdr-wiki.de/wiki/index.php/Streamdev-plugin">streamdev-plugin</a>, but only unicast http streams. That is usually no problem, because  even 3 streams aren&#8217;t nearly too much for a normal 100Mbit home network and I  wouldn&#8217;t need any more at home. But with the world cup starting tomorrow  me and Karin are going to watch some games that aren&#8217;t that interesting  to us at the computer while doing other stuff. We did this before, but  the downside is that we never got the http stream really synchronized  and nothing is more annoying than the same audio stream with a one second delay in one  room. (Our solution was to mute one stream, but thats not a real  solution because one of us always has to have a asynchronous audio to the video signal.)</p>
<p>My hack I will be using for the world cup the next four  weeks is the following: I described how to <a href="http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/">stream  the world cup at your office for all your colleagues</a> a few days ago.  I will do that at home too, and then just play that stream, in which  the video and the audio are really in sync, at least for my ear. I have  to play the stream, because the VDR still has control over the DVB  devices and VLC couldn&#8217;t open them. And the VLC on my VDR is quite  ancient, since I&#8217;m using an older version of c&#8217;t-vdr.</p>
<p>So, on one  computer I start VLC with the following options (all in one line):</p>
<pre>cvlc  http://vdr:3000/S19.2E-1-1101-28106  ":sout=#rtp{dst=226.42.42.42,port=5004,mux=ts}"</pre>
<p>You can get the URL for each channel from your vdr at http://vdr:3000/channels.html.</p>
<p>And on all the computers that are supposed to view the stream, VLC has to be started with the following command:</p>
<pre>vlc rtp://@226.42.42.42:5004/</pre>
<p>Sure there is now a slightly higher delay (two streams), but I don&#8217;t mind those three seconds when we can watch the games with synced audio. You can get a bit more information about streaming in my <a href="http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/">world cup streaming post</a> and a lot more in the <a href="http://wiki.videolan.org/Documentation:Streaming_HowTo">VLC streaming documentation</a>.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/06/vdr-hack-stream-video-with-synced-audio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Maps Navigation nun auch in Deutschland</title>
		<link>http://blog.jl42.de/2010/06/google-maps-navigation-nun-auch-in-deutschland/</link>
		<comments>http://blog.jl42.de/2010/06/google-maps-navigation-nun-auch-in-deutschland/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 14:47:18 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[german]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=787</guid>
		<description><![CDATA[Seit heute ist es möglich ein Android Mobiltelefon mit Google Maps als Navigationssystem mit &#8220;Turn-by-Turn-Navigation&#8221; und Sprachausgabe zu benutzen. In den USA gibt es das Feature nun schon einige Monate, nun dürfen wir in Deutschland auch. Ich habe die Funktion eben auf dem Rückweg von der Arbeit getestet und muss sagen, dass es ziemlich gut]]></description>
			<content:encoded><![CDATA[<p>Seit heute ist es möglich ein Android Mobiltelefon mit Google Maps als Navigationssystem mit &#8220;Turn-by-Turn-Navigation&#8221; und Sprachausgabe zu benutzen. In den USA gibt es das Feature nun schon einige Monate, nun dürfen wir in Deutschland auch. Ich habe die Funktion eben auf dem Rückweg von der Arbeit getestet und muss sagen, dass es ziemlich gut aussieht für eine Beta-Version. Ich hatte mir zwar für rund 30€ <a href="http://www.alk.eu.com/de/">CoPilot Live 8</a> gekauft, was auch immer gut funktioniert hat, aber Google präsentiert sich als leichtere und schnellere Alternative für mich. Hätte es Googles Lösung vor einem Jahr schon gegeben, hätte ich sicherlich kein Geld für CoPilot ausgegeben, da ich es auch selten nutze. Bei meinem 15km Test eben wäre Google zwar eine andere Strecke als ich gefahren, aber das machen die anderen Navigationssysteme, die ich bisher gesehen habe auch. Ansonsten war die deutsche Sprachausgabe gut verständlich, auch wenn ich mit der Zeit auf eine natürlichere Stimme hoffe. Da es kostenlos ist, möchte ich nicht zu viel drüber schreiben, es kann sich schließlich jeder selbst ein Bild davon machen. Und wer kein Android Mobiltelefon hat, kann sich das durchaus beeindruckende Video mit den Funktionen aus den USA anschauen, wie z.B. Verkehrsdichte:</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/tGXK4jKN_jY?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/tGXK4jKN_jY?fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Mehr Infos und Bilder auf <a href="http://www.google.com/mobile/navigation/">Googles Seite zur Google Maps Navigation</a>.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/06/google-maps-navigation-nun-auch-in-deutschland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flattr: Flatrate für Blog-Bezahlung</title>
		<link>http://blog.jl42.de/2010/06/flattr-flatrate-fur-blog-bezahlung/</link>
		<comments>http://blog.jl42.de/2010/06/flattr-flatrate-fur-blog-bezahlung/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 14:31:34 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[flattr]]></category>
		<category><![CDATA[german]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=777</guid>
		<description><![CDATA[Ich habe letztens von flattr erfahren und heute meinen Beta-Invite bekommen. Falls ihr Interesse habt, verlose ich hier einige Invites. Für die, die noch nicht wissen was flattr ist, empfehle ich das unten eingebundene YouTube-Video. Flattr ist ein Micropayment-Dienst, bei dem man einen monatlichen selbst gewählten Beitrag zahlt. Dann kannst Du verschiedene Inhalte im Netz]]></description>
			<content:encoded><![CDATA[<p>Ich habe letztens von <a href="https://flattr.com/">flattr</a> erfahren und heute meinen Beta-Invite bekommen. Falls ihr Interesse habt, verlose ich hier einige Invites. Für die, die noch nicht wissen was flattr ist, empfehle ich das unten eingebundene YouTube-Video. Flattr ist ein Micropayment-Dienst, bei dem man einen monatlichen selbst gewählten Beitrag zahlt. Dann kannst Du verschiedene Inhalte im Netz <em>flattrn</em>, womit Du zeigst, dass Du den Text, das Video oder ähnliches gut findest. Zahlst Du z.B. 3€ im Monat und flattrst 20 Seiten, bekommt jede Seite über Flattr 0,15€. Das ist nicht viel, aber man möchte ja auch nicht gleich 5-10€ über Paypal spenden, nur weil einem ein Beitrag gut gefallen hat. Und der Vorteil ist, durch den festen Betrag hat man volle Kontrolle und man muss sich keine Gedanken machen, dass man zu oft klickt und am Ende eine große Rechnung hat.</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/_ZGwaq96mhU?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_ZGwaq96mhU?fs=1" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Um bei der Verlosung mitzumachen, hinterlasst doch einfach einen Kommentar. (Mit richtiger E-Mail-Adresse, wird nicht angezeigt, aber ich brauche sie zum Verschicken des Invites.)</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/06/flattr-flatrate-fur-blog-bezahlung/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stream of the World Cup 2010</title>
		<link>http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/</link>
		<comments>http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 14:23:33 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[german]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[wc2010]]></category>
		<category><![CDATA[wm2010]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=756</guid>
		<description><![CDATA[This year I wanted to stream the FIFA World Cup 2010 (or Weltmeisterschaft 2010 here in Germany ) to a few computers at my work. I chose VLC to do this because of its build in excellent streaming capabilities. There are also more flexible or powerful streaming solutions from VLC like VLM or DVBlast, but]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.videolan.org/"><img class="alignright size-full wp-image-769" title="http://www.videolan.org/" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-vlc.png" alt="" width="77" height="100" /></a>This year I wanted to stream the FIFA World Cup 2010 (or Weltmeisterschaft 2010 here in Germany <img src='http://blog.jl42.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) to a few computers at my work. I chose <a href="http://www.videolan.org/">VLC</a> to do this because of its build in excellent streaming capabilities. There are also more flexible or powerful streaming solutions from VLC like VLM or DVBlast, but I wanted to keep it simple. If you know a good and simple setup guide for one of those systems, I would love a link in the comments to it.</p>
<p>Behold, there might be restrictions in your country, that prohibit even this personal use, please check before deploying this somewhere!</p>
<h2>Prerequisite</h2>
<ul>
<li>A spare computer with Linux,Windows or I presume OSX. It doesn&#8217;t even need to be spare one: Since we don&#8217;t want to transcode, it  uses virtually no resources.</li>
<li>a DVB card supported by your operating system (I&#8217;m using DVB-T in my example)</li>
<li><a href="http://www.videolan.org/">VLC</a></li>
</ul>
<h2>Setting up the stream</h2>
<p>Setting up the stream consists of two parts: You need the source and the stream settings. For the source settings with DVB-T you&#8217;ll need to know the frequency of the channel you want to stream. Here in Bremen, Germany for example the frequency for ARD is 482000Khz. You can use the tool <em>scan</em> to generate a channels.conf when running linux (found in the package dvb-apps in Ubuntu) and probably OSX. I don&#8217;t know how to get a channels.con or the frequencies on a windows box, but maybe you can find a <a href="http://www.vdr-wiki.de/wiki/index.php/Kategorie:Channels.conf_DVBT">channels.conf for your region in the VDR Wiki</a>. An entry in the channels.conf looks like that:</p>
<pre>Das Erste:<strong><span style="color: #ff0000;">482000</span></strong>:I999B8C23D12M16T8G4Y0:T:27500:261:262:267:0:<strong><span style="color: #339966;">160</span></strong>:8468:3329:0
</pre>
<p>The red number in the second field is the frequency we need, here 482000Khz. You can try it out by opening VLC and choosing <em>Media</em>=&gt;<em>Open Capture Device</em> (or Ctrl+C). The capture mode has to be set to <em>DVB </em>(<em>DVB Directshow</em> on Windows), you need to fill in your frequency, ignore the advanced options and hit <em>Play</em>. You should be able to see <strong>a</strong> channel, but not necessarily the one you wanted. There are usually three to four channels on one frequency, so you might need to tune manually to the channel you wanted in <em>Playback</em>=&gt;<em>Program</em>. (The SID of the channel (160) is marked in green in the example above, we&#8217;ll use it later to tune to that channel automaticly.)</p>
<p><a href="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-checking_channels.png" rel="lightbox[756]"><img class="aligncenter size-full wp-image-768" title="worldcup_stream-checking_channels" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-checking_channels.png" alt="" width="526" height="435" /></a></p>
<p>When that worked we can start setting up the stream. VLC can stream anything it can play, you could stream video files, webcams and a lot of other media. We&#8217;ll set the stream up as a <a href="http://en.wikipedia.org/wiki/Multicast">multicast</a> stream for a local network with <a href="http://en.wikipedia.org/wiki/Real-time_Transport_Protocol">RTP</a>, so it will not work through internet connections. If you want to set a stream over the internet  up, please refer to the <a href="http://wiki.videolan.org/Documentation:Streaming_HowTo">VLC streaming documentation</a>, but don&#8217;t forget that you might need a lot of bandwidth for multiple clients. The advantage of multicast over unicast streaming is that we need to send the data only once into the network and not to every client. The client either ignores the traffic or subscribes to it and receives it.</p>
<p>We need a multicast address to identify our stream and we can chose in the range from 224.0.0.0 to 239.255.255.255, e.g. 226.42.42.42. To set the stream up, chose <em>Media</em>=&gt;<em>Streaming</em> (or Ctrl+S) and select <em>Capture Device</em>. Set the DVB settings up like you tried out above and select <em>Stream</em>. Your settings are copied into the <em>Source</em> field in the next dialog, so you could simply click next. But you might want to copy the settings into a text file for the automation later. Next you will have the possibility to set the stream settings up: As destination chose <em>RTP</em> and click <em>Add</em>. You should get something like the following, where you should put in your multicast address, uncheck the transcoding option and leave the other options on default settings:</p>
<p><a href="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-stream_settings1.png" rel="lightbox[756]"><img class="aligncenter size-full wp-image-766" title="worldcup_stream-stream_settings1" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-stream_settings1.png" alt="" width="522" height="529" /></a></p>
<p>After a click on next you get a few options you can leave alone and, like with the source before, a string for the stream. We should copy that one too to the text file and click on stream. We are now streaming a channel to the network, even though you cannot see anything.</p>
<p><a href="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-stream_settings2.png" rel="lightbox[756]"><img class="aligncenter size-full wp-image-767" title="worldcup_stream-stream_settings2" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-stream_settings2.png" alt="" width="522" height="529" /></a></p>
<h2>Connecting with a client</h2>
<p>To see the stream, you need to connect to it. You can do that locally on your own computer too, just open a new VLC and choose <em>Media</em>=&gt;<em>Open Network Stream</em>. Check RTP as protocol and put in your multicast address:</p>
<p><a href="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-open_stream.png" rel="lightbox[756]"><img class="aligncenter size-full wp-image-765" title="worldcup_stream-open_stream" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-open_stream.png" alt="" width="526" height="435" /></a></p>
<p>You can now already save a playlist file to send to your clients later on. Make sure your playlist is empty besides that stream (Ctrl+L opens it) and then save it <em>Media</em>=&gt;<em>Save Playlist to File</em> (or Ctrl+Y).</p>
<h2>Automating the Server</h2>
<p>This is supposed to be a quick and dirty solution, we won&#8217;t create start scripts for this or run it as a NT service. But if you don&#8217;t want to set the server settings up every time you start the stream, you can create a batch file under windows or run it completely from the command line on linux. (Preferably in a <a href="http://en.wikipedia.org/wiki/GNU_Screen">GNU screen</a> session.)</p>
<p>Linux users can run cvlc without an interface, but can also use vlc if they want the interface. You can run the following line after replacing your my settings with the ones you gathered directly in a shell (or a shell with screen) or you can put it into a .sh file and run it as a script.</p>
<pre>cvlc dvb-t://frequency=<span style="color: #ff0000;">482000</span>000 --ts-es-id-pid --program <span style="color: #339966;">160</span> ":sout=#rtp{dst=226.42.42.42,port=5004,mux=ts}"</pre>
<p>In windows create a .bat file with a simple text editor and replace my example with your settings (all in one line). Of course you can configure a lot more settings with the GUI and get very complex settings in the first step for this. (On 64bit Windows, you might have to replace %ProgramFiles% with &#8220;%ProgramFiles(x86)%.) Then you can just run the .bat file instead of setting the stream up every time.</p>
<pre>"%ProgramFiles%\Videolan\vlc\vlc.exe" dvb-t://frequency=<span style="color: #ff0000;">482000</span>000 --ts-es-id-pid --program <span style="color: #339966;">160</span> :sout=#rtp{dst=226.42.42.42,port=5004,mux=ts}
</pre>
<p>The frequency is here given in Hz, not Khz, so you need to add three more zeros.</p>
<h2>Conclusion</h2>
<p>I hope this simple tutorial about streaming helped you to stream the word cup wherever you wanted. I wrote it, because I had some problems in the beginning, since the VLC documentation is being revised for the current 1.0 series and didn&#8217;t reflect always the current status.</p>
<p>I found it very impressing that I could stream a channel to three different computers in the same room and the audio was in sync, at least for my ears. I would love to see something like this to find it&#8217;s way into VDR or some other solution to stream audio (or even video!) at home&#8230;</p>

<a href='http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/worldcup_stream-vlc/' title='worldcup_stream-vlc'><img width="77" height="100" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-vlc.png" class="attachment-thumbnail" alt="worldcup_stream-vlc" title="worldcup_stream-vlc" /></a>
<a href='http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/worldcup_stream-checking_channels/' title='worldcup_stream-checking_channels'><img width="150" height="150" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-checking_channels-150x150.png" class="attachment-thumbnail" alt="worldcup_stream-checking_channels" title="worldcup_stream-checking_channels" /></a>
<a href='http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/worldcup_stream-stream_settings1/' title='worldcup_stream-stream_settings1'><img width="150" height="150" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-stream_settings1-150x150.png" class="attachment-thumbnail" alt="worldcup_stream-stream_settings1" title="worldcup_stream-stream_settings1" /></a>
<a href='http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/worldcup_stream-stream_settings2/' title='worldcup_stream-stream_settings2'><img width="150" height="150" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-stream_settings2-150x150.png" class="attachment-thumbnail" alt="worldcup_stream-stream_settings2" title="worldcup_stream-stream_settings2" /></a>
<a href='http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/worldcup_stream-open_stream/' title='worldcup_stream-open_stream'><img width="150" height="150" src="http://blog.jl42.de/wp-content/uploads/2010/06/worldcup_stream-open_stream-150x150.png" class="attachment-thumbnail" alt="worldcup_stream-open_stream" title="worldcup_stream-open_stream" /></a>

<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/06/stream-of-the-world-cup-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just read: Wil Wheatons «Dancing Barefoot»</title>
		<link>http://blog.jl42.de/2010/05/just-read-wil-wheatons-%c2%abdancing-barefoot%c2%bb/</link>
		<comments>http://blog.jl42.de/2010/05/just-read-wil-wheatons-%c2%abdancing-barefoot%c2%bb/#comments</comments>
		<pubDate>Sat, 15 May 2010 17:58:08 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[just read]]></category>
		<category><![CDATA[star trek]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=750</guid>
		<description><![CDATA[After having read Wil Wheatons «Just a geek» (about which I wrote a week ago), I thought I&#8217;ll also read Wils first book «Dancing Barefoot». If you liked Just a geek, I bet you won&#8217;t be disappointed by its predecessor. But to be honest I liked Just a geek more, it felt more personal and]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.de/exec/obidos/ASIN/0596006748/lenfisblog-21/"><img class="alignright size-full wp-image-753" title="Dancing Barefoot" src="http://blog.jl42.de/wp-content/uploads/2010/05/21SRTC4230L._SL160_.jpg" alt="" width="103" height="160" /></a>After having read <a href="http://www.amazon.de/exec/obidos/ASIN/0596806310/lenfisblog-21/">Wil  Wheatons «Just a geek»</a> (about which <a href="http://blog.jl42.de/2010/05/just-read-wil-wheatons-just-a-geek/">I wrote a week ago</a>), I thought I&#8217;ll also read Wils first book «<a href="http://www.amazon.de/exec/obidos/ASIN/0596006748/lenfisblog-21/">Dancing Barefoot</a>». If you liked Just a geek, I bet you won&#8217;t be disappointed by its predecessor. But to be honest I liked Just a geek more, it felt more personal and told Wils story. Also there are a few (two?) stories told in both books. But I found especially the story about &#8220;WILLIAM FUCKING SHATNER&#8221; interesting, because I couldn&#8217;t understand in Just a geek why Wil is calling him that. Dancing Barefoot tells the associated story.</p>
<p>Oh and from a geeks point of view I found the license quite curious: <a href="http://creativecommons.org/licenses/by-nd-nc/1.0/">Creative Commons &#8211; Deed Attribution-Noncommercial-No Derivative Works</a> Kudos to that! <img src='http://blog.jl42.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://creativecommons.org/licenses/by-nd-nc/1.0/http://creativecommons.org/licenses/by-nd-nc/1.0/</div>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/05/just-read-wil-wheatons-%c2%abdancing-barefoot%c2%bb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude categories in Reaction Buttons</title>
		<link>http://blog.jl42.de/2010/05/exclude-categories-in-reaction-buttons/</link>
		<comments>http://blog.jl42.de/2010/05/exclude-categories-in-reaction-buttons/#comments</comments>
		<pubDate>Mon, 10 May 2010 19:03:57 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[reaction buttons]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=745</guid>
		<description><![CDATA[I found some time to check my todo list for reaction buttons and found an old entry about the possibility to exclude posts from a certain category from displaying the Reaction Buttons. Well, now that entry is gone. Grab the new version through the plugin interface within wordpress or download it from wordpress.org. Feel free]]></description>
			<content:encoded><![CDATA[<p>I found some time to check my todo list for reaction buttons and found an old entry about the possibility to exclude posts from a certain category from displaying the Reaction Buttons. Well, now that entry is gone. <img src='http://blog.jl42.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Grab the new version through the plugin interface within wordpress or <a href="http://wordpress.org/extend/plugins/reaction-buttons/">download it from wordpress.org</a>.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/05/exclude-categories-in-reaction-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just read: Wil Wheatons «Just a geek»</title>
		<link>http://blog.jl42.de/2010/05/just-read-wil-wheatons-just-a-geek/</link>
		<comments>http://blog.jl42.de/2010/05/just-read-wil-wheatons-just-a-geek/#comments</comments>
		<pubDate>Mon, 10 May 2010 19:00:30 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[just read]]></category>
		<category><![CDATA[star trek]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=739</guid>
		<description><![CDATA[Last weekend I finished Just a geek by Wil Wheaton. As a Star Trek fan I always enjoy reading literature about the backgrounds and the people behind Star Trek, but this book wasn&#8217;t just interesting, I found it also quite educational about life, the universe and everything. Wil wrote a very open book about his]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.de/exec/obidos/ASIN/0596806310/lenfisblog-21/"><img class="alignright size-full wp-image-742" title="Just a geek" src="http://blog.jl42.de/wp-content/uploads/2010/05/41pmKw6MSVL._SL160_.jpg" alt="Wil Wheaton: Just a geek" width="104" height="160" /></a>Last weekend I finished <a href="http://www.amazon.de/exec/obidos/ASIN/0596806310/lenfisblog-21/">Just a geek by Wil Wheaton</a>. As a Star Trek fan I always enjoy reading literature about the backgrounds and the people behind Star Trek, but this book wasn&#8217;t just interesting, I found it also quite educational about life, the universe and everything. Wil wrote a very open book about his life journey after leaving Star Trek &#8211; The Next Generation (TNG) and his search for happiness. It seems he didn&#8217;t skip the bad parts and decisions he made, but on the other hand is quite entertaining about it.</p>
<p>What I for example didn&#8217;t knew before, is that he left Star Trek on his own to pursue his movie career. Since there was a big Anti Wesley Crusher Campaign during TNG, I always assumed that he was written out of the show. I have to admit, I wasn&#8217;t a Wesley fan either and wasn&#8217;t that unhappy that he left the show, even though I never would have written him a fan hate letter or something like that. But I never really thought about the fact, that it wasn&#8217;t his fault: A 16 year old boy has not that much influence with writers/directors/whatever, he had to do what the script told him.</p>
<p>If you are interested in a bit Star Trek history from a unique point of view or perhaps follow <a href="http://wilwheaton.typepad.com/">Wils blog</a>, this book is surely a good read, I enjoyed it very much.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/05/just-read-wil-wheatons-just-a-geek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus M4N78-VM and wakeup under linux</title>
		<link>http://blog.jl42.de/2010/04/asus-m4n78-vm-and-wakeup-under-linux/</link>
		<comments>http://blog.jl42.de/2010/04/asus-m4n78-vm-and-wakeup-under-linux/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 07:35:37 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vdr]]></category>

		<guid isPermaLink="false">http://blog.jl42.de/?p=734</guid>
		<description><![CDATA[I guess if I wait until I&#8217;ve completed something, I&#8217;ll never blog about stuff like this. So I&#8217;ll try to have this here in smaller bites: My new mainboard for the vdr (Asus M4N78-VM) runs great so far with linux, especially at the moment yavdr: HDTV on the DVI worked out of the box. And]]></description>
			<content:encoded><![CDATA[<p>I guess if I wait until I&#8217;ve completed something, I&#8217;ll never blog about stuff like this. So I&#8217;ll try to have this here in smaller bites:</p>
<p><a href="http://blog.jl42.de/wp-content/uploads/2010/04/LC11M-S.jpg" rel="lightbox[734]"><img class="alignright size-medium wp-image-735" title="LC11M-S" src="http://blog.jl42.de/wp-content/uploads/2010/04/LC11M-S-e1271748850327-300x91.jpg" alt="" width="300" height="91" /></a>My new mainboard for the vdr (Asus M4N78-VM) runs great so far with linux, especially at the moment <a href="http://www.yavdr.org/">yavdr</a>: HDTV on the DVI worked out of the box. And my biggest fear that I&#8217;ll get problems with the wakeup are completely wiped out: The board woke up after setting a time with acpi-wakeup. (Well, it didn&#8217;t boot up, because there are some problems with the standby mode, but I don&#8217;t need that too bad.)</p>
<p>Only real bummer: The board doesn&#8217;t fit in my gorgeous Silverstone LaScala SST – LC 11M. Don&#8217;t know what to do yet, the case is really nice, but quite small. I would like to buy something where I can fit pci cards without a riser card, but that on the other hand doesn&#8217;t fit in my living room anymore.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.13';
var flattr_uid = '18315';
var flattr_url = 'http://blog.jl42.de';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Lenfis bLog';
var flattr_dsc = 'Computer, Coffee &amp; Co';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://blog.jl42.de/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://blog.jl42.de/2010/04/asus-m4n78-vm-and-wakeup-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
