<?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>Die Klapsmühle &#187; vdr</title>
	<atom:link href="http://die-klapsmuehle.org/tag/vdr/feed/" rel="self" type="application/rss+xml" />
	<link>http://die-klapsmuehle.org</link>
	<description>Ambitious. But rubbish!</description>
	<lastBuildDate>Wed, 04 Apr 2012 11:24:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>yaVDR 0.2</title>
		<link>http://die-klapsmuehle.org/2010/06/02/yavdr-0-2/</link>
		<comments>http://die-klapsmuehle.org/2010/06/02/yavdr-0-2/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 05:34:13 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Technik]]></category>
		<category><![CDATA[homeserver]]></category>
		<category><![CDATA[vdr]]></category>

		<guid isPermaLink="false">http://die-klapsmuehle.org/?p=2348</guid>
		<description><![CDATA[Die neue Version 0.2 von yaVDR (einer speziell als Home Theater Betriebssystem zusammenkonfigurierten Ubuntu Distri) wurde gestern veröffentlicht &#8211; genau einen Tag nachdem ich die alte Version 0.1.1 auf meinem HTPC installiert habe. (Danke auch!) yaVDR 0.1 war noch sehr &#8230; <a href="http://die-klapsmuehle.org/2010/06/02/yavdr-0-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Die neue Version 0.2 von <a href="http://www.yavdr.org/">yaVDR</a> (einer speziell als Home Theater Betriebssystem zusammenkonfigurierten Ubuntu Distri) wurde <a href="http://www.yavdr.org/blog/blog-post/2010/06/01/announcing-yavdr-02/">gestern veröffentlicht</a> &#8211; genau einen Tag nachdem ich die alte Version 0.1.1 auf meinem HTPC installiert habe. (Danke auch!)</p>
<p>yaVDR 0.1 war noch sehr gewöhnungsbedürftig und funktionierte in vielen Punkten nicht so, wie ich mir das gewünscht habe. Das Update auf 0.1.1 brachte schon große Verbesserungen mit wie ich gestern festgestellt habe, daher freue ich mich auf 0.2.</p>
]]></content:encoded>
			<wfw:commentRss>http://die-klapsmuehle.org/2010/06/02/yavdr-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: X10 OR22V and VDR</title>
		<link>http://die-klapsmuehle.org/2010/03/03/howto-x10-or22v-and-vdr/</link>
		<comments>http://die-klapsmuehle.org/2010/03/03/howto-x10-or22v-and-vdr/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 18:20:15 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Technik]]></category>
		<category><![CDATA[homeserver]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vdr]]></category>

		<guid isPermaLink="false">http://die-klapsmuehle.org/?p=2284</guid>
		<description><![CDATA[Some days ago I explained how to set up basically the X10 OR22V remote control on a ubuntu system.That post also contains the required hardware.conf and lirdc.conf files! The thing that still didn&#8217;t work on my system was the ability &#8230; <a href="http://die-klapsmuehle.org/2010/03/03/howto-x10-or22v-and-vdr/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some days ago I explained <a href="/2010/02/25/how-to-x10-or22v-and-xbmc/">how to set up basically the X10 OR22V</a> remote control on a ubuntu system.That post also contains the required hardware.conf and lirdc.conf files! The thing that still didn&#8217;t work on my system was the ability to control my VDR.</p>
<p>The missing link to get things to work is a mapping from the &#8220;lirc-codes&#8221; to functions of VDR. In /etc/vdr there is a symlink &#8220;remote.conf&#8221; to a missing(!)  file located in /var/lib/vdr/remote.conf. That file will contain the required mapping. For me it was enough (sometimes) just to create the missing file (touch /var/lib/vdr/remote.conf &#8211; take care that vdr owns the file), restart vdr( /etc/init.d/vdr restart) and start the video output (for my setup: xinit -e vdr-sxfe -f). Now some teaching dialogue will (most likely) appear that tells you to press buttons in some sequence (press 1, press 2, &#8230;) and that remembers the received &#8220;lirc-codes&#8221;. If you went through this and later edit the mapping file you&#8217;ll have something like this:</p>
<p><code>LIRC.Up         Up<br />
LIRC.Down       Down<br />
LIRC.Menu       Home<br />
LIRC.Ok         OK<br />
LIRC.Back       Back<br />
LIRC.Left       Left<br />
LIRC.Right      Right<br />
LIRC.Red        Red<br />
LIRC.Green      Green<br />
LIRC.Yellow     Yellow<br />
LIRC.Blue       Blue<br />
LIRC.0          Zero<br />
LIRC.1          One<br />
LIRC.2          Two<br />
LIRC.3          Three<br />
LIRC.4          Four<br />
LIRC.5          Five<br />
LIRC.6          Six<br />
LIRC.7          Seven<br />
LIRC.8          Eight<br />
LIRC.9          Nine<br />
LIRC.Info       More<br />
LIRC.Play       Play<br />
LIRC.Pause      Pause<br />
LIRC.Stop       Stop<br />
LIRC.Record     Record<br />
LIRC.FastFwd    Forward<br />
LIRC.FastRew    Rewind<br />
LIRC.Next       Skip<br />
LIRC.Prev       Replay<br />
LIRC.Power      Power<br />
LIRC.Channel+   ChanUp<br />
LIRC.Channel-   ChanDown<br />
LIRC.Volume+    VolUp<br />
LIRC.Volume-    VolDown<br />
LIRC.Mute       Mute<br />
LIRC.Schedule   KEY_TIMESHIFTING<br />
LIRC.Channels   DVD<br />
LIRC.Timers     LiveTV<br />
LIRC.Recordings Guide</code></p>
<p>It is also possible, just to copy and paste the listing above to the mapping file. Just restart vdr and be happy that the remote will work now for VDR.</p>
]]></content:encoded>
			<wfw:commentRss>http://die-klapsmuehle.org/2010/03/03/howto-x10-or22v-and-vdr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: X10 OR22V and XBMC</title>
		<link>http://die-klapsmuehle.org/2010/02/25/how-to-x10-or22v-and-xbmc/</link>
		<comments>http://die-klapsmuehle.org/2010/02/25/how-to-x10-or22v-and-xbmc/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 07:20:22 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Technik]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[remote control]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vdr]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://die-klapsmuehle.org/?p=2279</guid>
		<description><![CDATA[I bought a cheap media center remote control that I want to use at my home theater pc to control xbmc and vdr. Unfortunately the remote doesn&#8217;t work out of the box. Googling for a howto took me to this &#8230; <a href="http://die-klapsmuehle.org/2010/02/25/how-to-x10-or22v-and-xbmc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I bought a cheap media center remote control that I want to use at my home theater pc to control xbmc and vdr. Unfortunately the remote doesn&#8217;t work out of the box. Googling for a howto took me to <a href="http://forum.xbmc.org/showthread.php?t=57628">this thread</a> which helped a lot but took quite a lot of time to read and find the useful hints in tons of posts. Now here&#8217;s the solution in brief:</p>
<p>First you need to blacklist (disable) some modules. Add the following lines to /etc/modprobe.d/blacklist.conf:</p>
<blockquote><p>blacklist ati_remote<br />
blacklist lirc_atiusb</p></blockquote>
<p>Now add the following to /etc/lirc/hardware.conf:</p>
<blockquote><p>#Chosen Remote Control<br />
REMOTE=&#8221;mceusb&#8221;<br />
REMOTE_MODULES=&#8221;"<br />
REMOTE_DRIVER=&#8221;atilibusb&#8221;<br />
REMOTE_DEVICE=&#8221;/dev/lirc0&#8243;<br />
REMOTE_LIRCD_CONF=&#8221;/etc/lirc/lircd.conf&#8221;<br />
REMOTE_LIRCD_ARGS=&#8221;"</p>
<p>#Chosen IR Transmitter<br />
TRANSMITTER=&#8221;None&#8221;<br />
TRANSMITTER_MODULES=&#8221;"<br />
TRANSMITTER_DRIVER=&#8221;"<br />
TRANSMITTER_DEVICE=&#8221;"<br />
TRANSMITTER_LIRCD_CONF=&#8221;"<br />
TRANSMITTER_LIRCD_ARGS=&#8221;"</p>
<p>#Enable lircd<br />
START_LIRCD=&#8221;true&#8221;</p>
<p>#Don&#8217;t start lircmd even if there seems to be a good config file<br />
#START_LIRCMD=&#8221;false&#8221;</p>
<p>#Try to load appropriate kernel modules<br />
LOAD_MODULES=&#8221;true&#8221;</p>
<p># Default configuration files for your hardware if any<br />
LIRCMD_CONF=&#8221;"</p>
<p>#Forcing noninteractive reconfiguration<br />
#If lirc is to be reconfigured by an external application<br />
#that doesn&#8217;t have a debconf frontend available, the noninteractive<br />
#frontend can be invoked and set to parse REMOTE and TRANSMITTER<br />
#It will then populate all other variables without any user input<br />
#If you would like to configure lirc via standard methods, be sure<br />
#to leave this set to &#8220;false&#8221;<br />
FORCE_NONINTERACTIVE_RECONFIGURATION=&#8221;false&#8221;<br />
START_LIRCMD=&#8221;"</p></blockquote>
<p>Now add the following to /etc/lirc/lircd.conf. This will translate the codes sent by the remote control to some (well known, standard) keyname:</p>
<blockquote><p># Please make this file available to others<br />
# by sending it to &lt;lirc@bartelmus.de&gt;<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.8.4a(atilibusb) on Tue Sep  8 23:54:34 2009<br />
#<br />
# contributed by funnybox2006, modified by nebu<br />
#<br />
# brand:  X10<br />
# model no. of remote control: OR22V with RF USB Dongle<br />
# devices being controlled by this remote:<br />
# note: use atilibusb driver for this remote and set device in hardware.conf to /dev$</p>
<p>begin remote</p>
<p>name        mceusb<br />
bits           16<br />
eps            30<br />
aeps          100</p>
<p>one             0     0<br />
zero            0     0<br />
pre_data_bits   8<br />
pre_data       0&#215;14<br />
post_data_bits  16<br />
post_data      0&#215;0<br />
gap          139982<br />
min_repeat      2<br />
toggle_bit_mask 0&#215;80800000</p>
<p>begin codes<br />
Power                    0xD702<br />
Red                      0x87B2<br />
Yellow                0&#215;0934<br />
Green                0x88B3<br />
Teletext             0x6B96<br />
Blue                    0x0A35<br />
Back                 0xF520<br />
More              0x84AF<br />
Up                   0xEF1A<br />
Left                     0x729D<br />
OK                   0xF31E<br />
Right                0xF41F<br />
Down                 0x77A2<br />
KEY_TIMESHIFTING     0x6D98<br />
Guide                0&#215;0631<br />
DVD                  0xD904<br />
LiveTV               0x719C<br />
VolUp                0xDE09<br />
Home                 0x709B<br />
ChanUp               0xE00B<br />
VolDown              0x5D88<br />
ChanUp               0x618C<br />
Mute                 0xD500<br />
Replay               0x76A1<br />
Skip                 0xF823<br />
Rewind               0x79A4<br />
Play                 0xFA25<br />
Forward              0x7BA6<br />
Record               0xFC27<br />
Stop                 0x7DA8<br />
Pause                0xFE29<br />
One                  0x628D<br />
Two                  0xE30E<br />
Three                0x648F<br />
Four                 0xE510<br />
Five                 0&#215;6691<br />
Six                  0xE712<br />
Seven                    0&#215;6893<br />
Eight                0xE914<br />
Nine                 0x6A95<br />
Star                 0x8CB7<br />
Zero                 0xEC17<br />
Hash                 0x0D38<br />
Clear                0x85B0<br />
Enter                0x0B36<br />
end codes</p>
<p>end remote</p></blockquote>
<p>Now restart Lirc: /etc/lirc/lircd restart and type irw. You should get some output when you press buttons on the remote and see that the mapping created above will work. The remote will now work with xbmc <em>without changing anything</em> at xbmc&#8217;s keymaps or other files. The lircd.conf uses standard keynames which are already mapped by the standard xbmc configuration files to xbmc actions.</p>
<p>Now start xbmc and have fun!</p>
<p>Update:<a href="/2010/03/03/howto-x10-or22v-and-vdr/"> Here</a> is a explanation how to get the remote to work with vdr.</p>
]]></content:encoded>
			<wfw:commentRss>http://die-klapsmuehle.org/2010/02/25/how-to-x10-or22v-and-xbmc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TV-Browser + VDR</title>
		<link>http://die-klapsmuehle.org/2009/08/19/tv-browser-vdr/</link>
		<comments>http://die-klapsmuehle.org/2009/08/19/tv-browser-vdr/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:20:56 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Technik]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Unterhaltung]]></category>
		<category><![CDATA[vdr]]></category>

		<guid isPermaLink="false">http://die-klapsmuehle.org/?p=2084</guid>
		<description><![CDATA[Ich habe vor Wochen kurz auf TV-Browser hingewiesen. Das ist ein Programm für Mac, Windows und ich glaube Linux mit dem das TV-Programm inspiziert und gefällige Sendungen selektiert werden können. Es gibt ein cooles Plugin, welches TV-Browser mit dem VDR &#8230; <a href="http://die-klapsmuehle.org/2009/08/19/tv-browser-vdr/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ich habe vor Wochen kurz auf <a href="/2008/12/31/tv-browser/">TV-Browser</a> hingewiesen. Das ist ein Programm für Mac, Windows und ich glaube Linux mit dem das TV-Programm inspiziert und gefällige Sendungen selektiert werden können. Es gibt ein cooles Plugin, welches TV-Browser mit dem VDR verbindet: <a href="http://developer.berlios.de/projects/lazybones/">Lazy Bones</a></p>
<p>Mit LazyBones lassen sich Aufnahmen programmieren und v.a. Livestreams von VDR zum lokalen VLC sehr komfortabel starten.</p>
<p>Die Installation geht mittlerweile über das Plugin-Interface von TV-Browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://die-klapsmuehle.org/2009/08/19/tv-browser-vdr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Homeserver: Der eeePC 4G als Video-Recorder</title>
		<link>http://die-klapsmuehle.org/2009/07/22/homeserver-der-eeepc-4g-als-video-recorder/</link>
		<comments>http://die-klapsmuehle.org/2009/07/22/homeserver-der-eeepc-4g-als-video-recorder/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 20:04:46 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Technik]]></category>
		<category><![CDATA[homeserver]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vdr]]></category>

		<guid isPermaLink="false">http://die-klapsmuehle.org/?p=1988</guid>
		<description><![CDATA[Vor einiger Zeit habe ich mir eine DVB-T Karte bei Saturn für gewaltige 20 Euro geholt, um Fernsehen auf meinem eeePC ansehen zu können. Idee: so hat man einen 2. Fernseher im Haus. Interessanterweise hielt sich aber die Häufigkeit des &#8230; <a href="http://die-klapsmuehle.org/2009/07/22/homeserver-der-eeepc-4g-als-video-recorder/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vor einiger Zeit habe ich mir eine DVB-T Karte bei Saturn für gewaltige 20 Euro geholt, um Fernsehen auf meinem eeePC ansehen zu können. Idee: so hat man einen 2. Fernseher im Haus. Interessanterweise hielt sich aber die Häufigkeit des Gebrauchs dieses &#8220;Fernsehers&#8221; stark in Grenzen&#8230; <img src='http://die-klapsmuehle.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Daher wollte ich den eeePC für eine neue Aufgabe rüsten: das Dasein als Video-Server.</p>
<p><strong>Basis-Software</strong></p>
<p>Ich habe zunächst mit ein paar Softwares herumgetestet (mytube, mythTV, &#8230;) und fand das alles aber schrecklich kompliziert (MythTV), nur wenig nützlich (mytube), völlig überladen (MythTV) oder, oder oder&#8230; Von den Kollegen habe ich schließlich den Tipp bekommen VDR anzusehen und siehe da: diese Software ist tatsächlich klasse.</p>
<p>Mein Video-Recorder basiert jetzt also auf der Software VDR (Video Disk Recorder) und einigen VDR-Plugins. VDR ist ein Open Source Projekt von einem Menschen namens Klaus Schmidinger und wird von einer großeren Community gepflegt bzw. mit neuen Plugins ausgerüstet.</p>
<p><strong>Welche Distribution?</strong></p>
<p>Ich verwende Ubuntu 9.04 Server. Ubuntu deswegen, weil es die gesamten benötigten Pakete verfügbar hat und Server, weil ich keine graphische Oberfläche haben wollte.</p>
<p><strong>Installation und Konfiguration</strong></p>
<p>(als Root)</p>
<p>apt-get install vdr vdr-plugin-streamdev-server</p>
<p>Nun hat man die grundlegende Software für den VDR. Man benötigt jetzt die Konfigurationsdatei für die Sender. Google hilft hier, wenn man z.B. nach <a href="http://www.google.com/search?client=safari&amp;rls=de-de&amp;q=channels.conf+münchen&amp;ie=UTF-8&amp;oe=UTF-8">channels.conf München</a> (Ersetze München durch Stuttgart, Bitterfeld, &#8230;) sucht. Die so festgestellten Sender werden in die /etc/vdr/channels.conf eingetragen (die bereits in der Datei eingetragenen Sender kann man auch getrost rauswerfen). In /etc/default/vdr setzt man nun noch Enabled = 1 und fügt den Pfad in das gewünschte Aufnahmeverzeichnis hinzu: VIDEO_DIR=/media/disk/vdr. In meinem Fall liegt dieser Pfad auf einer externen Festplatte. Jetzt könnte man den VDR starten, bedienen kann man ihn so aber noch nicht. Schön wäre es doch z.B. eine Webseite zu haben, mit der man den VDR programmieren könnte, eh voila:</p>
<p>apt-get install vdr-plugin-live</p>
<p>Nach ein paar Sekunden wäre auch diese Installation abgeschlossen und man kann sich nun mit dem Webbrowser seiner Wahl zum VDR bzw. seiner Administrationsoberfläche verbinden: http://ip-des-vdr:8008</p>
<p><a rel="attachment wp-att-1990" href="http://die-klapsmuehle.org/2009/07/22/homeserver-der-eeepc-4g-als-video-recorder/vdr-2/"><img class="size-full wp-image-1990 alignnone" title="vdr" src="http://die-klapsmuehle.org/uploads/2009/07/vdr1.jpg" alt="vdr" width="500" height="351" /></a></p>
<p>Wie man so ein wenig auf dem Bild erkennen kann, beinhaltet dies diverse Übersichten, z.B. was läuft jetzt, was läuft nachher bzw. was läuft den Tag über auf einem bestimmten Sender. Durch einen Klick auf den roten Knopf vor einer Sendung, wird diese programmiert und auch aufgenommen. Eine wirklich feine Sache.</p>
<p>Ein ziemlich tolles Plugin für VDR Live, die Weboberfläche des VDR, ist epgsearch. Mit</p>
<p>apt-get install vdr-plugin-epgsearch</p>
<p>bekommt man die Möglichkeit geliefert die über DVB ausgestrahleten elektronischen Programminfos nach Sendungsnamen, etc zu durchsuchen. So dürfte also niemand mehr seine Lieblingssendung verpassen</p>
<p>Über VDR Live kann man aber nicht nur Aufnahmen programmieren, sondern auch einen Video Stream des aktuellen Programms zu seinem Rechner pumpen lassen. Hierzu muss man aber erst in /etc/vdr/plugins/streamdevhosts.conf den Rechner an bzw. das Netz in das gestreamed werden darf eintragen: z.B.: 192.168.178.1/8</p>
<p><strong>Aufgenommene Videos ansehen:</strong></p>
<p>VDR Live sollte theoretisch auch Streams der aufgenommenen Sendungen auslösen können. Das klappt bei mir aber komischerweies überhaupt nicht. Ich war daher so frei und habe auf dem eeePC einen Apache Webserver installiert und in /var/www einen Link auf das Video-Verzeichnis der externen Festplatte gesetzt. So kann ich nun per Browser durch den Folder Tree navigieren, die URL der Videos kopieren und in VLC (Video Lan Client) öffnen. Das klappt übrigens hervorragend und sogar die 54MBit WLAN Leitung ist ausreichend schnell, um die Daten zu schaufeln.</p>
<p>VDR hat allerdings eine etwas seltsame Eigenheit: es splittet einen aufgenommenen Film in maximal 2GB große Blöcke. D.h. ein Film von gut zwei Std. Länge erstreckt sich immer über zwei Dateien. Ich vermutete zunächst, dass man irgendwelche komplizierte Software braucht, um die Filmfragmente zusammenzufügen und suchte mehrere Stunden nach der betreffenden Info. Irgendwann kam ich auf die Idee kam mal ein cat teil1.vdr teil2.vdr &gt;&gt; video.mpeg zu versuchen. Eh voila: es hat funktioniert -man muss also nur die Dateien konkatenieren (zusammenhängen). Für einen überlangen Film (mit mehr als 2 Fragmenten) kann man auch einfach</p>
<p>cat ???.vdr &gt;&gt; video.mpeg</p>
<p>eingeben und erhält das komplette Video. Dieses kann dann natürlich wieder wie oben beschrieben durch den Apache gestreamed werden&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://die-klapsmuehle.org/2009/07/22/homeserver-der-eeepc-4g-als-video-recorder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

