<?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>Danny Tsang &#187; myth</title> <atom:link href="http://www.dannytsang.co.uk/index.php/tag/myth/feed/" rel="self" type="application/rss+xml" /><link>http://www.dannytsang.co.uk</link> <description>Eats and spits code by day</description> <lastBuildDate>Tue, 31 Jan 2012 22:47:19 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>MediaTomb DLNA To Playstation 3</title><link>http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/</link> <comments>http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/#comments</comments> <pubDate>Mon, 08 Feb 2010 00:01:19 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[divx]]></category> <category><![CDATA[DLNA]]></category> <category><![CDATA[MediaTomb]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[myth]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[Playstation]]></category> <category><![CDATA[Sony]]></category> <category><![CDATA[sony playstation]]></category> <category><![CDATA[sony playstation 3]]></category> <category><![CDATA[SQLite]]></category> <category><![CDATA[UPNP]]></category> <category><![CDATA[upnp server]]></category> <category><![CDATA[XML]]></category> <category><![CDATA[XviD]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2566</guid> <description><![CDATA[Overview I found the Video plugin for MythTV 0.21 to be inadequate for streaming to the Sony Playstation 3. It didn&#8217;t update fast enough when you dropped a video into the UPnP directory and also there was no external way &#8230; <a
href="http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/full-disk-mediatomb-hog/' rel='bookmark' title='Full Disk &#8211; MediaTomb Hog'>Full Disk &#8211; MediaTomb Hog</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-music-streaming-server-ampache/' rel='bookmark' title='Ubuntu Music Streaming Server &#8211; Ampache'>Ubuntu Music Streaming Server &#8211; Ampache</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/all-things-digital-interview/' rel='bookmark' title='All Things Digital Interview'>All Things Digital Interview</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I found the Video plugin for MythTV 0.21 to be inadequate for streaming to the <a
href="http://www.dannytsang.co.uk/index.php/tag/sony-playstation/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sony playstation">Sony Playstation</a> 3. It didn&#8217;t update fast enough when you dropped a video into the UPnP directory and also there was no external way of telling it to refresh it&#8217;s list of files without starting up <a
href="http://www.dannytsang.co.uk/index.php/tag/myth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with myth">Myth</a> Frontend.</p><h3><a
href="http://www.dannytsang.co.uk/index.php/tag/mediatomb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MediaTomb">MediaTomb</a></h3><p>MediaTomb is a UPnP server which can run as a standalone or as a daemon. It uses an XML configuration file for it&#8217;s settings (pretty neat stuff) and is pretty small in size. The software comes with it&#8217;s own <a
href="http://www.dannytsang.co.uk/index.php/tag/web/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Web">web</a> server so you don&#8217;t have to install a full apache install to get to the control panel and it uses <a
href="http://www.dannytsang.co.uk/index.php/tag/sqlite/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SQLite">SQLite</a> by default so no big database backend to be installed.</p><h3>Install &#038; Configure MediaTomb</h3><p>Install MediaTomb and ffmeg thumbnailer<br
/> <code>sudo apt-get install mediatomb ffmpegthumbnailer</code><br
/> That&#8217;s it for the install!</p><p>edit the file config file in <strong>/etc/mediatomb/config.xml</strong> and change the following settings:</p><p>Enable PS3 support change this:</p><blockquote><p>&lt;protocolInfo extend=&#8221;no&#8221;/&gt;&lt;!&#8211; For PS3 support change to &#8220;yes&#8221; &#8211;&gt;</p></blockquote><p>to</p><blockquote><p>&lt;protocolInfo extend=&#8221;yes&#8221;/>&lt;!&#8211; For PS3 support change to &#8220;yes&#8221; &#8211;&gt;</p></blockquote><p>and also</p><blockquote><p>&lt;!&#8211; &lt;map from=&#8221;avi&#8221; to=&#8221;video/<a
href="http://www.dannytsang.co.uk/index.php/tag/divx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with divx">divx</a>&#8221;/&gt; &#8211;&gt;</p></blockquote><p>to</p><blockquote><p>&lt;map from=&#8221;avi&#8221; to=&#8221;video/divx&#8221;/&gt;</p></blockquote><p>Add the line<br
/> <code>&lt;pc-directory upnp-hide="yes"/&gt;</code><br
/> below<br
/> <code>&lt;webroot&gt;/usr/share/mediatomb/web&lt;/webroot&gt;</code><br
/> so that it looks like this<br
/> <code>&lt;webroot&gt;/usr/share/mediatomb/web&lt;/webroot&gt;<br
/> &lt;pc-directory upnp-hide="yes"/&gt;</code><br
/> This hides the full directory path from the <a
href="http://www.dannytsang.co.uk/index.php/tag/playstation/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Playstation">Playstation</a> so it can only view the directories added and not the full system.</p><p>Add the following to enable thumbnail previews. I have found this does not work 100% of the time.</p><p>Enable transcoding<br
/> <code>&lt;transcoding enabled="no"&gt;</code><br
/> to<br
/> <code>&lt;transcoding enabled="yes"&gt;</code></p><p>Add the following transcode mappings under <strong>&lt;mimetype-profile-mappings&gt;</strong> tag:</p><blockquote><p>&lt;transcode mimetype=&#8221;video/divx&#8221; using=&#8221;video-thumbnail&#8221;/&gt;<br
/> &lt;transcode mimetype=&#8221;video/mpeg&#8221; using=&#8221;video-thumbnail&#8221;/&gt;<br
/> &lt;transcode mimetype=&#8221;video/mp4&#8243; using=&#8221;video-thumbnail&#8221;/&gt;<br
/> &lt;transcode mimetype=&#8221;video/x-ms-wmv&#8221; using=&#8221;video-thumbnail&#8221;/&gt;</p></blockquote><p>Add the following settings between the <strong>&lt;profiles&gt;&lt;/profiles&gt;</strong> elements. Not the parent is plural and each profile is singular.</p><blockquote><p>&lt;profile name=&#8221;video-thumbnail&#8221; enabled=&#8221;yes&#8221; type=&#8221;external&#8221;&gt;<br
/> &lt;mimetype&gt;image/jpeg&lt;/mimetype&gt;<br
/> &lt;accept-url&gt;yes&lt;/accept-url&gt;<br
/> &lt;thumbnail&gt;yes&lt;/thumbnail&gt;<br
/> &lt;resolution&gt;128&#215;128&lt;/resolution&gt;<br
/> &lt;agent command=&#8221;/usr/bin/ffmpegthumbnailer&#8221; arguments=&#8221;-i %in -o %out -s 128&#8243;/&gt;<br
/> &lt;buffer size=&#8221;524288&#8243; chunk-size=&#8221;512&#8243; fill-size=&#8221;1024&#8243;/&gt;<br
/> &lt;/profile&gt;</p></blockquote><p>Restart MediaTomb service <code>sudo /etc/init.d/mediatomb restart</code> If it fails to restart then double check the config file for errors.</p><p>Go to the machine in a web browser on port 49152 e.g http://localhost:49152</p><div
align="center"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Adding-directory.png" rel="lightbox[2566]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Adding-directory-150x150.png" alt="" title="MediaTomb Adding directories" width="150" height="150" class="aligncenter size-thumbnail wp-image-2588" /></a></div><p>On this web page configures the directories available over UPnP. The Database section shows what directories are visible / registered to MediaTomb and Filesystem shows the computer directories that can be added for DLNA / UPnP visibility. When a directory is added MediaTomb scans the directory and register them so they show up on the Playstation. These can include music, videos and pictures.</p><div
align="center"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Update-Frequency.png" rel="lightbox[2566]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Update-Frequency-150x150.png" alt="" title="MediaTomb Update Frequency" width="150" height="150" class="aligncenter size-thumbnail wp-image-2663" /></a></div><p>In the top right hand corner there is a plus &#8220;+&#8221; with two arrows around it. Clicking on it loads a new page in the main window, replacing the file lists in the directory. This is the page for setting how often it scans for changes.</p><p>Go to the Playstation, turn it on and go to the relevant category e.g photo in the menu. There should be a MediaTomb server in the list. If it does not appear go towards the top and scan for more media servers to look for MediaTomb.</p><h3>Summary</h3><p>The software is pretty self contained but I would have liked the option to use Apache and <a
href="http://www.dannytsang.co.uk/index.php/tag/mysql/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mysql">MySQL</a> because those are already installed on my system.</p><p>MediaTomb does the job for now and whilst I cannot get the thumbnails to work on all the media it still does a brillant job of streaming the media to the Playstation. Unfortunately it&#8217;s not integrated into MythTV so records will still have to be done via MythTV but this is not a problem because all recorded TV shows are registered in the database.</p><p>A problem I did encounter was that I added multiple directories but reguardless of where they reside on the computer, all videos appear in one directory on the Playstation. I&#8217;m not  sure if this is a bug or how it&#8217;s suppose to work.</p><p><a
href="http://ubuntuforums.org/showthread.php?t=650020&#038;page=5" target="_blank">[HOWTO]:Stream DivX/XviD to a PS3 with firmware 2.10 using MediaTomb and Ubuntu 7</a></p> <a
href='http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/mediatomb-adding-directory/' title='MediaTomb Adding directories'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Adding-directory-150x150.png" class="attachment-thumbnail" alt="MediaTomb Adding directories" title="MediaTomb Adding directories" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/mediatomb-update-frequency/' title='MediaTomb Update Frequency'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Update-Frequency-150x150.png" class="attachment-thumbnail" alt="MediaTomb Update Frequency" title="MediaTomb Update Frequency" /></a><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/full-disk-mediatomb-hog/' rel='bookmark' title='Full Disk &#8211; MediaTomb Hog'>Full Disk &#8211; MediaTomb Hog</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-music-streaming-server-ampache/' rel='bookmark' title='Ubuntu Music Streaming Server &#8211; Ampache'>Ubuntu Music Streaming Server &#8211; Ampache</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/all-things-digital-interview/' rel='bookmark' title='All Things Digital Interview'>All Things Digital Interview</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>MythTV Capture Card Requirements With Multiple Front Ends</title><link>http://www.dannytsang.co.uk/index.php/mythtv-capture-card-requirements-with-multiple-front-ends/</link> <comments>http://www.dannytsang.co.uk/index.php/mythtv-capture-card-requirements-with-multiple-front-ends/#comments</comments> <pubDate>Sun, 22 Feb 2009 00:01:37 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[capture card]]></category> <category><![CDATA[front ends]]></category> <category><![CDATA[home entertainment]]></category> <category><![CDATA[myth]]></category> <category><![CDATA[pvr350]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=1843</guid> <description><![CDATA[I have start to live the dream of time shifting commercial skipping T.V programs and it&#8217;s all done in MythTV. Today I have discovered why someone mentioned they had 4 T.V capture cards in their system was not so ridiculous &#8230; <a
href="http://www.dannytsang.co.uk/index.php/mythtv-capture-card-requirements-with-multiple-front-ends/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/hauppauge-wintv-nova-td-500-on-mythtv/' rel='bookmark' title='Hauppauge WinTV Nova TD-500 On MythTV'>Hauppauge WinTV Nova TD-500 On MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/broken-mythtv/' rel='bookmark' title='Broken MythTV'>Broken MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/formatting-a-floppy-disk-in-linux/' rel='bookmark' title='Formatting A Floppy Disk In Linux'>Formatting A Floppy Disk In Linux</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I have start to live the dream of time shifting commercial skipping T.V programs and it&#8217;s all done in <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythTV">MythTV</a>. Today I have discovered why someone mentioned they had 4 T.V capture cards in their <a
href="http://www.dannytsang.co.uk/index.php/tag/system/" class="st_tag internal_tag" rel="tag" title="Posts tagged with system">system</a> was not so ridiculous any more.</p><p>The situation was my girlfriend was watching live T.V on the <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> box running both <a
href="http://www.dannytsang.co.uk/index.php/tag/myth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with myth">Myth</a> front and back end. I then tried to access live T.V using the eeePC which only has the front end install. I thought at least with one tuner I could watch the same channel as what was on the <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> box but I was wrong.</p><p>For every front end wanting to watch live T.V at the same time you need a separate tuner for each whether the <a
href="http://www.dannytsang.co.uk/index.php/tag/front-ends/" class="st_tag internal_tag" rel="tag" title="Posts tagged with front ends">front ends</a> were accessing the same or different live channel. This sucks. Although MythTV can cater for this situation very easily with the support of multiple cards in one machine or having a cluster of slave machines it still means extra cost for expanding the system as the centre of <a
href="http://www.dannytsang.co.uk/index.php/tag/home-entertainment/" class="st_tag internal_tag" rel="tag" title="Posts tagged with home entertainment">home entertainment</a>. This implication also means for every turner you have needs a T.V ariel / cable / dish cable. Assuming the man had 4 analogue capture cards he would have had to split the cable 4 times into each card in theory. How much does the quality degrades when this happens?</p><p>I am glad to hear that one system can watch live T.V and others can access the recorded stuff still but the discovery of this situation means it can get very messy very quickly.</p><p>On a lighter note, I wish Hauppauge was still selling the <a
href="http://www.dannytsang.co.uk/index.php/tag/pvr350/" class="st_tag internal_tag" rel="tag" title="Posts tagged with pvr350">PVR350</a> so I can add just one more tuner to my current set up.</p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/hauppauge-wintv-nova-td-500-on-mythtv/' rel='bookmark' title='Hauppauge WinTV Nova TD-500 On MythTV'>Hauppauge WinTV Nova TD-500 On MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/broken-mythtv/' rel='bookmark' title='Broken MythTV'>Broken MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/formatting-a-floppy-disk-in-linux/' rel='bookmark' title='Formatting A Floppy Disk In Linux'>Formatting A Floppy Disk In Linux</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/mythtv-capture-card-requirements-with-multiple-front-ends/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
