<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.llaumgui.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Le blog de llaumgui - Balise - Media tomb</title>
  <link>http://www.llaumgui.com/</link>
  <atom:link href="http://www.llaumgui.com/feed/tag/Media%20tomb/rss2" rel="self" type="application/rss+xml"/>
  <description>Linux en général, Fedora en particulier...</description>
  <language>fr</language>
  <pubDate>Wed, 03 Dec 2008 15:54:44 +0100</pubDate>
  <copyright>http://creativecommons.org/licenses/by-nc-nd/2.5/</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Media Tomb, la PlayStation 3 et les serveurs multimédia sous Linux</title>
    <link>http://www.llaumgui.com/post/Media-Tomb-la-PlayStation-3-et-les-serveurs-multimedia-sous-Linux</link>
    <guid isPermaLink="false">urn:md5:42ff1ee0f70576b18e0f553cfc25a240</guid>
    <pubDate>Thu, 28 Feb 2008 10:37:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>Media tomb</category><category>PlayStation 3</category><category>Yellow Dog Linux</category>    
    <description>&lt;p&gt;La &lt;a href=&quot;http://fr.playstation.com/ps3/&quot; hreflang=&quot;fr&quot;&gt;PlayStation 3&lt;/a&gt; possède une option intéressante lui permettant de se connecter à des serveurs multimédia. Cela lui permet de lire du contenu multimédia à partir d'une source sur le réseau.&lt;br /&gt;
Bien sur, j'aurais préféré un bon client &lt;a href=&quot;http://www.samba.org&quot; hreflang=&quot;en&quot; title=&quot;Opening windows to a wider world&quot;&gt;samba&lt;/a&gt;, mais bon, on fait avec...&lt;/p&gt;


&lt;p&gt;Il existe un bon paquet de tutoriels expliquant &lt;a href=&quot;http://www.ultimateps3.fr/tutoriaux/12--180-connecter-la-ps3-a-windows.html&quot; hreflang=&quot;fr&quot; title=&quot;Connecter la PS3 à Windows&quot;&gt;comment transformer Windows Media Player 11 en serveur multimédia&lt;/a&gt; et ainsi faire communiquer Windows et sa PlayStation 3. Heureusement, je ne possède pas WMP11 ;-), j'ai donc dus trouver une alternative... C'est au cours d'&lt;a href=&quot;http://community.eu.playstation.com/showthread.php?t=220502&quot; hreflang=&quot;fr&quot; title=&quot; Serveur multimédia sous Linux&quot;&gt;une discution&lt;/a&gt; sur &lt;a href=&quot;http://community.eu.playstation.com&quot; hreflang=&quot;fr&quot; title=&quot;Official PlayStation Community&quot;&gt;les forums de la communauté PlayStation&lt;/a&gt; que j'ai découverts et adopté &lt;a href=&quot;http://mediatomb.cc/&quot; hreflang=&quot;en&quot; title=&quot;Free UPnP MediaServer&quot;&gt;Media Tomb&lt;/a&gt;.&lt;/p&gt;    &lt;h2&gt;Installation de Media Tomb&lt;/h2&gt;

&lt;p&gt;Ce dernier est présent dans les dépôts de &lt;a href=&quot;http://fedoraproject.org&quot; hreflang=&quot;fr&quot; title=&quot;Projet Fedora&quot;&gt;Fedora&lt;/a&gt; et installable en 30 secondes :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;yum &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; mediatomb&lt;/code&gt;


&lt;h2&gt;Configuration de Media Tomb&lt;/h2&gt;

&lt;p&gt;Fedora offre la possibilité de le lancer en temps que service, grâce à un script init.d. Ce n'est pas cette solution que j'ai retenu. J'ai préféré le déclarer au lancement de ma session utilisateur et l'exécuter en temps qu'utilisateur llaumgui. La configuration se trouve alors dans : &lt;em&gt;/home/llaumgui/.mediatomb/&lt;/em&gt;.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/linux/mediatomb_-_sessions.png&quot;&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/linux/.mediatomb_-_sessions_m.jpg&quot; alt=&quot;Démarrer Media Tomb avec la session utilisateur&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;La PS3 demande quelques petits aménagements dans le fichier de configuration (~/.mediatomb/config.xml) :&lt;/p&gt;


&lt;h3&gt;Section &amp;lt;server&amp;gt;&lt;/h3&gt;

&lt;p&gt;La PS3 demande de rajouter cette ligne :&lt;/p&gt;
&lt;code class=&quot;xml&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;&amp;lt;protocolInfo&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;extend&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;yes&amp;quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;

&lt;p&gt;Par défaut le port est attribué au premier port libre supérieur ou égal à 49152. J'ai préféré le forcer en rajoutant :&lt;/p&gt;
&lt;code class=&quot;xml&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;&amp;lt;port&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;49152&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;&amp;lt;/port&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;


&lt;h2&gt;Section &amp;lt;extension-mimetype&amp;gt;&lt;/h2&gt;

&lt;p&gt;Là, j'ai juste eu à rajouter une ligne :&lt;/p&gt;
&lt;code class=&quot;xml&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;&amp;lt;map&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;from&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;avi&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;to&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;video/divx&amp;quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: black;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;


&lt;h2&gt;Réglage du firewall :&lt;/h2&gt;

&lt;p&gt;Pour utiliser Media Tomb il faudra ouvrir le port SSDP (UDP 1900) ainsi que le port sélectionné plus haut en TCP et UDP. Pour ouvrir des ports, rien de plus simple avec Fedora et &lt;a href=&quot;http://blog.titax.fr/post/Fedora-8-et-system-config-firewall.html&quot; hreflang=&quot;fr&quot; title=&quot;Fedora 8 et system-config-firewall&quot;&gt;system-config-firewall&lt;/a&gt;.&lt;/p&gt;


&lt;h2&gt;Configuration via l'interface Web&lt;/h2&gt;


&lt;p&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/linux/mediatomb_-_interface_web.png&quot;&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/linux/.mediatomb_-_interface_web_m.jpg&quot; alt=&quot;L'interface web de Media Tomb&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;Pour finir, il suffit de lancer le programme et se rendre à l'adresse de l'interface web (http://localhost:49152) afin d'ajouter les répertoires à partager. &lt;a href=&quot;http://mediatomb.cc/pages/userinterface&quot; hreflang=&quot;fr&quot; title=&quot;MediaTomb UI Documentation&quot;&gt;La documentation officielle&lt;/a&gt; est assez bien faite.&lt;/p&gt;



&lt;p&gt;A partir de là, j'ai accès à tout les fichiers partagés que je ne peux lire que si la PlayStation les comprend... Pour les fichiers plus exotiques, faudra donc passer par &lt;a href=&quot;http://www.terrasoftsolutions.com/products/ydl/&quot; hreflang=&quot;en&quot; title=&quot;Linux for Cell&quot;&gt;Yellow Dog Linux&lt;/a&gt;...&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Media-Tomb-la-PlayStation-3-et-les-serveurs-multimedia-sous-Linux#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Media-Tomb-la-PlayStation-3-et-les-serveurs-multimedia-sous-Linux#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/atom/comments/398</wfw:commentRss>
      </item>
    
</channel>
</rss>