Page 1 of 1

makemkvcon 1.6.6 - problem displaying streams with XBMC/BDP

Posted: Tue Apr 05, 2011 8:48 pm
by BigBluesBrother
Hi there!

First of all: Very nice piece of software, exactly what I did hope to find while getting into DLNA as a beginner (who wants to play Blu-Ray rips)!

I recently bought a Philips BDP-5180 blu ray player with DLNA support and got it to work with a miniDLNA server on my linux mediaserver (based on Debian). I stumbled upon MakeMKV while searching for a way to play ripped blu ray movies/DVDs with DLNA devices and gave it a try.

After starting makemkvcon to stream a file-based Blu Ray rip, I can see the makemkv UPnP server within the Philips and also within XBMC (running under Windows XP on my PC), but have the following problem on both players:

If I select the makemkv server, I get no further folders or video files. There are no error messages from makemkv, even with debug output turned on.

Using a web browser, I?m able to see the folder structure presented by makemkv - even streaming (e.g. with VideoLAN client on my PC under windows) is possible (although not with VC-1 encoded streams, that?s a restriction VLC has).

Are there any other UPnP/DLNA clients which I may use to test the functionality of the makemkv streaming service?
What might be the reason for this problem?
Are there more debugging options available?

Any comment or hint would be really appreciated!

Best regards,
Arne

Edit: Running makemkv (1.6.6) on Windows XP: XBMC displays folders and titles and streaming works flawlessly.

Re: makemkvcon 1.6.6 - problem displaying streams with XBMC/

Posted: Tue Apr 05, 2011 10:21 pm
by BigBluesBrother
After browsing packet dumps for a while with Wireshark:

It seems, that makemkvcon on linux encounters some internal error, which is not displayed on the console (part of the conversation between XBMC on windows and makemkvcon on linux, first occurrence of the "501" error):

Request:

-- cut --
POST /upnp/control/cds HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.107.253:51000
Content-Length: 453

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelop ... ><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>0</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>30</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
-- cut --


Answer:

-- cut --
HTTP/1.1 500 Internal Server Error
CONTENT-LENGTH: 411
CONTENT-TYPE: text/xml; charset="utf-8"
DATE: Tue, 05 Apr 2011 21:51:44 GMT
EXT:
SERVER: MakeMKV v1.6.6 linux(x86-release), UPnP/1.0, Portable SDK for UPnP devices/1.6.6
X-User-Agent: redsonic

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>501</errorCode>
<errorDescription>Action Failed</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
-- cut --


Any idea?

Re: makemkvcon 1.6.6 - problem displaying streams with XBMC/

Posted: Thu Apr 07, 2011 8:36 am
by mike admin
By all means, can you please send wireshark capture for the case when it fails (and optionally for the case when it succeeds)? MakeMKV uses intel libupnp library and I won't be surprised if it has some sort of linux-specific error.
BigBluesBrother wrote:After browsing packet dumps for a while with Wireshark:

It seems, that makemkvcon on linux encounters some internal error, which is not displayed on the console (part of the conversation between XBMC on windows and makemkvcon on linux, first occurrence of the "501" error):

Request:

-- cut --
POST /upnp/control/cds HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.107.253:51000
Content-Length: 453

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelop ... ><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>0</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>30</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
-- cut --


Answer:

-- cut --
HTTP/1.1 500 Internal Server Error
CONTENT-LENGTH: 411
CONTENT-TYPE: text/xml; charset="utf-8"
DATE: Tue, 05 Apr 2011 21:51:44 GMT
EXT:
SERVER: MakeMKV v1.6.6 linux(x86-release), UPnP/1.0, Portable SDK for UPnP devices/1.6.6
X-User-Agent: redsonic

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>501</errorCode>
<errorDescription>Action Failed</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
-- cut --


Any idea?

Re: makemkvcon 1.6.6 - problem displaying streams with XBMC/

Posted: Thu Apr 07, 2011 9:01 pm
by BigBluesBrother
Find attached the packet dumps (containing also the conversation I quoted above, filtered with tcp.port == 51000):

- 192.168.107.1: Windows XP client with XBMC
- 192.168.107.48: Galaxy S Android 2.1 with AllShare (showing the same behaviour: makemkvcon/linux no folders/files, makemkv/winxp OK)
- 192.168.107.253: Debian Squeeze/Sid with makemkv 1.6.6

makemkv-dumps.zip contains:

- makemkv-linux.pcap: makemkvcon running under linux with XBMC as client
- makemkv-winxp.pcap: makemkv running under Win XP with Galaxy S as client

Thanks!

Best regards,
Arne

Re: makemkvcon 1.6.6 - problem displaying streams with XBMC/

Posted: Mon Apr 11, 2011 9:21 pm
by BigBluesBrother
BTW: Just tested v1.6.7 - same behaviour.