<?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; Playstation</title> <atom:link href="http://www.dannytsang.co.uk/index.php/tag/playstation/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/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sony">Sony</a> <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> 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>MediaTomb</h3><p>MediaTomb is a UPnP <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> which can run as a standalone or as a daemon. It uses an <a
href="http://www.dannytsang.co.uk/index.php/tag/xml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">XML</a> 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 <a
href="http://www.dannytsang.co.uk/index.php/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache">apache</a> 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 Playstation 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 <a
href="http://www.dannytsang.co.uk/index.php/tag/dlna/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DLNA">DLNA</a> / 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 MySQL 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> </channel> </rss>
