DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-05-31 18:24:37

cipo80
Member
From: Vicenza - Italy
Registered: 2007-12-18
Posts: 13

Mediatomb and PS3 divx problem..

Hi guys, i've just configured mediatomb (the version inside ffp 0.5) to work with my PS3.
Now i can see .jpg .mpg...but not .avi (divx etc...).
I've edit the /ffp/var/mediatomb/config.xml with the line <map from="avi" to="video/divx"/> but i've always the same error message ("unsupported data" ) when i try to play a divx, xvid.


Help me!

Thanks!

Offline

 

#2 2008-05-31 18:43:14

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Mediatomb and PS3 divx problem..

This is my working config file:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w                                                                                                                               3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1                                                                                                                                http://mediatomb.cc/config/1.xsd">
  <server>
    <ui enabled="yes">
      <accounts enabled="yes" session-timeout="120">
      <account user="Christian" password="xxx"/>
      <account user="admin" password="xxx"/>
      </accounts>
    </ui>
    <name>OXYGEN-NAS DLNA</name>
    <udn>uuid:a1090b14-ec61-4b0e-b805-d2e3dece318b</udn>
    <home>/ffp/var/mediatomb</home>
    <webroot>/ffp/share/mediatomb/web</webroot>
    <storage>
      <sqlite3 enabled="yes">
        <database-file>mediatomb.db</database-file>
      </sqlite3>
    </storage>
    <protocolInfo extend="yes"/>
    <pc-directory upnp-hide="yes"/>
    <tmpdir>/mnt/HD_b2/tmp/</tmpdir>
  </server>

    <import hidden-files="no">

    <scripting script-charset="UTF-8">
      <virtual-layout type="js" />
      <import-script>/ffp/share/mediatomb/js/import.js</import-script>
      <common-script>/ffp/share/mediatomb/js/common.js</common-script>
      <playlist-script>/ffp/share/mediatomb/js/playlists.js</playlist-script>
    </scripting>

    <mappings>
      <extension-mimetype ignore-unknown="no">
        <map from="mp3" to="audio/mpeg"/>
        <map from="ogg" to="application/ogg"/>
        <map from="asf" to="video/x-ms-asf"/>
        <map from="asx" to="video/x-ms-asf"/>
        <map from="wma" to="audio/x-ms-wma"/>
        <map from="wax" to="audio/x-ms-wax"/>
        <map from="wmv" to="video/x-ms-wmv"/>
        <map from="wvx" to="video/x-ms-wvx"/>
        <map from="wm" to="video/x-ms-wm"/>
        <map from="wmx" to="video/x-ms-wmx"/>
        <map from="m3u" to="audio/x-mpegurl"/>
        <map from="pls" to="audio/x-scpls"/>
        <map from="flv" to="video/x-flv"/>
        <map from="avi" to="video/divx"/>
        <map from="mpg" to="video/mpeg"/>
        <map from="mpeg" to="video/mpeg"/>
        <map from="gif" to="image/gif"/>
        <map from="jpg" to="image/jpeg"/>
        <map from="png" to="image/png"/>
        <map from="mp4" to="video/mp4"/>
        <map from="mp4a" to="audio/mp4a"/>
        <map from="m4v" to="video/mp4"/>
        <map from="3gp" to="video/3gpp"/>
      </extension-mimetype>

      <mimetype-upnpclass>
        <map from="application/ogg" to="object.item.audioItem.musicTrack"/>
        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
        <map from="video/*" to="object.item.videoItem"/>
        <map from="image/*" to="object.item.imageItem"/>
      </mimetype-upnpclass>

      <mimetype-contenttype>
        <treat mimetype="audio/mpeg" as="mp3"/>
        <treat mimetype="application/ogg" as="ogg"/>
        <treat mimetype="audio/x-flac" as="flac"/>
        <treat mimetype="image/jpeg" as="jpg"/>
        <treat mimetype="audio/x-mpegurl" as="playlist"/>
        <treat mimetype="audio/x-scpls" as="playlist"/>
        <treat mimetype="audio/x-wav" as="pcm"/>
        <treat mimetype="video/x-msvideo" as="avi"/>
      </mimetype-contenttype>
    </mappings>

  </import>

Offline

 

#3 2008-06-01 09:17:11

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

Re: Mediatomb and PS3 divx problem..

Could it be a PS3 issue rather than Mediatomb ?

I rename my files from .divx to .avi and don't have any problems.

RAP

Offline

 

#4 2008-06-01 09:44:17

hastings69
Member
Registered: 2008-01-04
Posts: 56

Re: Mediatomb and PS3 divx problem..

May or may not be relevant - but this weekend I have just gotten my ps3 to work with mediatomb - FW 1.05 FFP 0.5 PS3 2.3



Have you also changed the <protocolInfo extend="yes"/>    (originally no, change to yes as comments in the file suggest for PS3)



The only issue I had was that it struggled with large music library, and had to add folders manually (I added not scanned) as it stalled otherwise (130gig). Divx movies work fine, jpeg, avi ok, there are a few files it just didnt like and won't support, and they apepar like and avi, but it is a rarity.

But it is working well, streaming as we sit here now with music in the background and photos slidehowing across the TV. Not bad for a free program (pity the PS3 wasn't free!).

Of course I still have the DLNA protocol errors due to the other media streamer.

Twonky works too, but I think mediatomb is better now I have it installed.
h69

Last edited by hastings69 (2008-06-01 09:45:43)

Offline

 

#5 2008-06-04 07:38:31

cipo80
Member
From: Vicenza - Italy
Registered: 2007-12-18
Posts: 13

Re: Mediatomb and PS3 divx problem..

oxygen wrote:

This is my working config file:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w                                                                                                                               3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1                                                                                                                                http://mediatomb.cc/config/1.xsd">
  <server>
    <ui enabled="yes">
      <accounts enabled="yes" session-timeout="120">
      <account user="Christian" password="xxx"/>
      <account user="admin" password="xxx"/>
      </accounts>
    </ui>
    <name>OXYGEN-NAS DLNA</name>
    <udn>uuid:a1090b14-ec61-4b0e-b805-d2e3dece318b</udn>
    <home>/ffp/var/mediatomb</home>
    <webroot>/ffp/share/mediatomb/web</webroot>
    <storage>
      <sqlite3 enabled="yes">
        <database-file>mediatomb.db</database-file>
      </sqlite3>
    </storage>
    <protocolInfo extend="yes"/>
    <pc-directory upnp-hide="yes"/>
    <tmpdir>/mnt/HD_b2/tmp/</tmpdir>
  </server>

    <import hidden-files="no">

    <scripting script-charset="UTF-8">
      <virtual-layout type="js" />
      <import-script>/ffp/share/mediatomb/js/import.js</import-script>
      <common-script>/ffp/share/mediatomb/js/common.js</common-script>
      <playlist-script>/ffp/share/mediatomb/js/playlists.js</playlist-script>
    </scripting>

    <mappings>
      <extension-mimetype ignore-unknown="no">
        <map from="mp3" to="audio/mpeg"/>
        <map from="ogg" to="application/ogg"/>
        <map from="asf" to="video/x-ms-asf"/>
        <map from="asx" to="video/x-ms-asf"/>
        <map from="wma" to="audio/x-ms-wma"/>
        <map from="wax" to="audio/x-ms-wax"/>
        <map from="wmv" to="video/x-ms-wmv"/>
        <map from="wvx" to="video/x-ms-wvx"/>
        <map from="wm" to="video/x-ms-wm"/>
        <map from="wmx" to="video/x-ms-wmx"/>
        <map from="m3u" to="audio/x-mpegurl"/>
        <map from="pls" to="audio/x-scpls"/>
        <map from="flv" to="video/x-flv"/>
        <map from="avi" to="video/divx"/>
        <map from="mpg" to="video/mpeg"/>
        <map from="mpeg" to="video/mpeg"/>
        <map from="gif" to="image/gif"/>
        <map from="jpg" to="image/jpeg"/>
        <map from="png" to="image/png"/>
        <map from="mp4" to="video/mp4"/>
        <map from="mp4a" to="audio/mp4a"/>
        <map from="m4v" to="video/mp4"/>
        <map from="3gp" to="video/3gpp"/>
      </extension-mimetype>

      <mimetype-upnpclass>
        <map from="application/ogg" to="object.item.audioItem.musicTrack"/>
        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
        <map from="video/*" to="object.item.videoItem"/>
        <map from="image/*" to="object.item.imageItem"/>
      </mimetype-upnpclass>

      <mimetype-contenttype>
        <treat mimetype="audio/mpeg" as="mp3"/>
        <treat mimetype="application/ogg" as="ogg"/>
        <treat mimetype="audio/x-flac" as="flac"/>
        <treat mimetype="image/jpeg" as="jpg"/>
        <treat mimetype="audio/x-mpegurl" as="playlist"/>
        <treat mimetype="audio/x-scpls" as="playlist"/>
        <treat mimetype="audio/x-wav" as="pcm"/>
        <treat mimetype="video/x-msvideo" as="avi"/>
      </mimetype-contenttype>
    </mappings>

  </import>

Thanks Oxygen, i've try with your config, but i've the same error..

Wich version of mediatomb do u have?

Offline

 

#6 2008-06-04 07:40:26

cipo80
Member
From: Vicenza - Italy
Registered: 2007-12-18
Posts: 13

Re: Mediatomb and PS3 divx problem..

rap wrote:

Could it be a PS3 issue rather than Mediatomb ?

I rename my files from .divx to .avi and don't have any problems.

RAP

Stange, my PS3 works near-good with embedded UPnp (sometimes i can't see the finish of the movie), i don't have the error like mediatomb..
I don't have .divx files, i've only .avi...

Offline

 

#7 2008-06-04 07:43:22

cipo80
Member
From: Vicenza - Italy
Registered: 2007-12-18
Posts: 13

Re: Mediatomb and PS3 divx problem..

hastings69 wrote:

May or may not be relevant - but this weekend I have just gotten my ps3 to work with mediatomb - FW 1.05 FFP 0.5 PS3 2.3



Have you also changed the <protocolInfo extend="yes"/>    (originally no, change to yes as comments in the file suggest for PS3)



The only issue I had was that it struggled with large music library, and had to add folders manually (I added not scanned) as it stalled otherwise (130gig). Divx movies work fine, jpeg, avi ok, there are a few files it just didnt like and won't support, and they apepar like and avi, but it is a rarity.

But it is working well, streaming as we sit here now with music in the background and photos slidehowing across the TV. Not bad for a free program (pity the PS3 wasn't free!).

Of course I still have the DLNA protocol errors due to the other media streamer.

Twonky works too, but I think mediatomb is better now I have it installed.
h69

Damn it!

I've your exact configuration...i've checked and i've <protocolInfo extend="yes"/>..but for me always "unknow data" with .avi..

Damn it!

Offline

 

#8 2008-06-04 09:25:35

hastings69
Member
Registered: 2008-01-04
Posts: 56

Re: Mediatomb and PS3 divx problem..

Hey cipo,
Feel for you, that normally happens to me.
I can only explain the simple processes I have done, and appologise if this is REALLY simple, but maybe it could be an answer.

Installed Ffp0.5.
Enabled mediatomb.
Added files via directory in the mediatomb web page, folder by folder (stalled on adding whole "media" folder with vids, photos and music.)
Scanned ps3 for media servers, found 7, 1 was mediatomb.
select mediatomb, mnt,hd_a2,media(renamed via mediatomb web), folder, folder folder.

I had a few messages like - no images, or data no supported, when I tried adding the root to sacn, rather than individual folder by folder, and also thought  that it may have been too many folders deep (7 or 8 from memory from the root.

Once I changed the above settings in mediatomb, I also added folder by folder, and also reduced the number of "navigations" it just worked.

I can play, mp3, whilst viewing photos, and play Dvix, WMA, mpeg (not sure if mpeg2 or4).

So maybe try reducing the navigations?

Again, just trying to help, this may be way to simple, but this is just what I did, and as you said, we have the same setup.

HTH
H69

Offline

 

#9 2008-06-10 10:09:40

mwfu
New member
Registered: 2008-06-10
Posts: 1

Re: Mediatomb and PS3 divx problem..

cipo,

I had the same exact problem as you did.  This is what I did to make mine work:

Chage the <map from "avi" to="video/divx"/> to <map from "avi" to="video/x-divx"/>
After that, restart your DNS323 (or restart Mediatomb).  Then go in to the web interface, delete all the folders from the database, then add them back in.  VOILA! (heh... hopefully voila... but it worked for me).

Let me know what you think.

mwfu

Offline

 

#10 2008-06-10 11:06:46

cipo80
Member
From: Vicenza - Italy
Registered: 2007-12-18
Posts: 13

Re: Mediatomb and PS3 divx problem..

mwfu wrote:

cipo,

I had the same exact problem as you did.  This is what I did to make mine work:

Chage the <map from "avi" to="video/divx"/> to <map from "avi" to="video/x-divx"/>
After that, restart your DNS323 (or restart Mediatomb).  Then go in to the web interface, delete all the folders from the database, then add them back in.  VOILA! (heh... hopefully voila... but it worked for me).

Let me know what you think.

mwfu

mwfu, you are the one!smile  Now working! thanks, thanks,thanks,thanks...and thanks!

I've also fixed the dlna problem with embedded UpNp server (the problem come with 1.05 firmware, with 1.04 no problem), i've reduced the numbers of navigations folders, thanks hastings69 for that..


Very thanks all in this topic for the support smile

Offline

 

#11 2008-06-10 17:18:05

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Mediatomb and PS3 divx problem..

cipo80 wrote:

Thanks Oxygen, i've try with your config, but i've the same error..

Wich version of mediatomb do u have?

i use a quite recent svn version. most avi's work.

Offline

 

#12 2009-08-27 08:54:27

Strater
New member
Registered: 2009-08-26
Posts: 1

Re: Mediatomb and PS3 divx problem..

I'm using ffp 0.5 and the MediaTomb server is working great. I browse using the "PC directory" method only as I find the default method too slow for all the files. It works great and it's what I'm used to except that I can't get past 8 directories deep. It shows the directory but won't allow me to view contents or go any deeper. This only happens when browsing on the PS3 and works fine from the Mediatomb web UI. I'm assuming it's a limitation on the PS3 then.

My question is if there is anyway to shorten the path. Can I set the 'root' somewhere further up the tree? I have to click through: PC Directory -> mnt -> HD_a2 -> Media folder -> etc... everytime.

Any suggestions? I don't want to turn on js scripting or anything. I tried that already and want to keep this simple...

Update: I fixed it for now by using a hardlink on the root to my Media folder. Shortened the path by 2 folders allows me to view all my files. I still think it would be nice to further shorten the path.

Last edited by Strater (2009-08-27 09:03:55)

Offline

 

#13 2009-11-11 19:21:51

usky
Member
Registered: 2009-11-07
Posts: 10

Re: Mediatomb and PS3 divx problem..

Strater, you can create a link on the root floder and share this link with mediatomb.

Something like that : ln -s /mnt/HD_a2/Media /Media

It will create a /Media folder link normaly available on mediatomb (did not test but I saw a comment about it on the ubuntu french forum).

Offline

 

#14 2010-10-23 15:21:20

Wickerman
New member
Registered: 2010-10-23
Posts: 1

Re: Mediatomb and PS3 divx problem..

Sorry to ressurect an old post but just thought I'd extend some thanks to usky for that last tip - After several hours buggering about with Mediatomb that snippet of information got my installation working perfectly (hacked LG NAS with Mediatomb+PS3).

Thanks!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB