DLNA compliance compability in XBMC's UPnP Media Server?
#1
Question 
Flipit, a MediaPortal developer discovered while working on their "mpTino" UPnP MediaServer that the PlayStation 3 (PS3) will recognise their UPnP MediaServer but will not play the media (reporting it as unsupported media) because the MediaServer is not DLNA compliant.

http://forum.team-mediaportal.com/mptino...989p3.html
Quote:I spent some time trying to figure this out myself using the Platinum C++ SDK (was actually trying to figure out how to get the PS3 to recognise album covers... haven't cracked tha yet.)

For the PS3 to play the content from mpTino the http-get needs to contain the DLNA references. As far as I can tell the PS3 control point is using this to filter out non DLNA content. I belive this is part of the spec for DLNA devices using http-get requests. UPnP spec staes its an optional ( i think from recollection)

Example:
Code:
mpTino:
http-get:*:audio/mpeg:*"

nero Home Media:
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0
You could change this is the mpTino code to add this to the http-get string pretty easily. Should work, and any other UPnP v1.0 renderer should ignore this part anyway. ( in theory)
Note! I read that uShare (open source UPnP MediaServer for Linux) is now DLNA compliant and support the PS3 (and Xbox360)

DLNA is becomming a bigger standard for every month that passes as more and more devices uses it, see:
http://www.dlna.org/en/consumer/home
http://www.dlna.org/en/industry/about/roster
http://product.dlna.org/eng/
Quote:Right now, there are two classes of DLNA CERTIFIED™ devices: Digital Media Servers (DMS) and Digital Media Players (DMP). Player devices (DMP) can find and play or display the content that is shared on your network by server devices (DMS). Some examples of DMP products are TV monitors, stereo systems, home theaters, printers, personal digital assistants, multimedia mobile phones, wireless monitors and game consoles.

Server devices (DMS) can record and store media content, and share this on the network - where this is allowed by content protection rules. Some examples of DMS products are advanced set-top boxes, digital video recorders, PCs and laptops, stereo and home theaters with hard disk drives (for example, music servers), broadcast tuners, video and imaging capture devices such as cameras and camcorders, and multimedia mobile phones.

But the DLNA guidelines are very flexible. Some devices offer rich user interfaces and some do not. With some server devices you can also manage your media collection or manage other devices on the network. Some server devices can also be player devices: a laptop can share, but also play its content.

PS! I requested DLNA from c0diq before but he never replied, see http://sourceforge.net/tracker/index.php...tid=839250
Reply
#2
Question 
OFF-TOPIC, how is the UPnP MediaRenderer coming along for XBMC?

...maybe you could talk to Flipit about working together?
http://forum.team-mediaportal.com/mptino...l?p=181241
Quote:I started on a UPnPMediaRender using the same Intel Stack, hit some big problems in getting LastChange events to work....de-serializing objects into the defined XML DOM and comparing XML strings, not my stongest point, but then neither is C#, I think I've craked that.. with a bit of a hack...for now, so I will as time allows continue.

Anyone who want to help is more then welcome.

So far I have a basic MediaRenderer class with a working RenderingControlService I plan on exposing all the attributes like "Volume" to MP through public Properties. It will need a Control Point as well.. I'm using a seperate one ( Intel Device Spy) for now for testing.

Once I get into the mp code though I'm really going to slow down.... I have no idea how to buffer an MP3 using g_player and work out whether it's still in the process buffering or is able to be played ...
Reply
#3
i suppose we could add those tags, wish I had some proper dlna specs thou.

mediarenderer works quite okey. not tested it that much, but basic functionality works.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
elupus Wrote:i suppose we could add those tags, wish I had some proper dlna specs thou
We could buy the full guidelines (including protocol specifications, etc.) but they are $500 without becoming a DNLA member. There are some overviews here of what those guidelines cover:
http://www.dlna.org/en/industry/guidelines/
http://www.dlna.org/en/industry/about/

Intel does however provide a free tool called Intel® Digital Home Device Code Wizard, that "generates reference source code for use in building products based on the DLNA expanded guidelines. Includes reference source code for all DLNA expanded device classes and capabilities! For anyone building digital home products based on the expanded DLNA guidelines, there is no quicker way to a functional product than to start with the Intel® Digital Home Device Code Wizard!"
http://www.intel.com/cd/ids/developer/as.../index.htm

Also, I found this free tool that could help:
QualityLogic Digital Home NetAnalyzer DL, that allows for an "efficient way to analyze Ethereal® traces of DLNA® sessions":
http://www.qualitylogic.com/genoa_test_t...er_dl.html
http://www.qualitylogic.com/forms/free_download.html
Reply
#5
Thumbs Up 
Quote:2007-09-15 10232 changed: upnp server now returns more proper content types and dlna tags in protocolinfo
I assume you meant DLNA is now supported(?), thank you elupus! ...now lets hope it don't break anything else.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
Question 
Would it be better to use this new open source library for DLNA support in XBMC?

libdlna (DLNA library)

libdlna aims at being a reference implementation of DLNA (Digital Living Network Alliance) standards. Its primary goal is to provide DLNA support to uShare, an embedded DLNA and UPnP A/V media server, but it will be used to build both DLNA servers and players in the long term.

libdlna is written in C and relies on FFMPEG librairies (libavformat and libavcodec) to handle and demux A/V streams.

libdlna is based on official DLNA specifications and aims at a providing a complete respect of the defined standards. Right now, libdlna can be used to build compliant DLNA Media Servers.

libdlna is free software - it is licensed under the terms of the GNU Lesser General Public License (LGPL).

http://libdlna.geexbox.org
http://freshmeat.net/projects/libdlna/

CVS tree (cvsweb):
http://hg.geexbox.org/libdlna/
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
I would like to see DLNA support possable using libdlna

http://libdlna.geexbox.org/
Reply
#8
http://www.xbmc.org/wiki/?title=UPnP_Sha...ce_in_XBMC

DLNA compliance in XBMC
XBMC built-in UPnP-server and UPnP-client are (since the 25th of September 2007) compatible with DLNA CERTIFIED™ devices. DLNA certificate guidelines are goverened by the DIGITAL LIVING NETWORK ALLIANCE. Right now, there are two classes of DLNA CERTIFIED™ devices: Digital Media Servers (DMS) and Digital Media Players (DMP). Player devices (DMP) can find and play or display the content that is shared on your network by server devices (DMS). Some examples of DMP products are TV monitors, stereo systems, home theaters, printers, personal digital assistants, multimedia mobile phones, wireless monitors and game consoles. Server devices (DMS) can record and store media content, and share this on the network - where this is allowed by content protection rules. Some examples of DMS products are advanced set-top boxes, digital video recorders, PCs and laptops, stereo and home theaters with hard disk drives (for example, music servers), broadcast tuners, video and imaging capture devices such as cameras and camcorders, and multimedia mobile phones. But the DLNA guidelines are very flexible. Some devices offer rich user interfaces and some do not. With some server devices you can also manage your media collection or manage other devices on the network. Some server devices can also be player devices: a computer can for exable both share and also play its content, same goes with XBMC.
Reply

Logout Mark Read Team Forum Stats Members Help
DLNA compliance compability in XBMC's UPnP Media Server?0