Hello,
I've tested a lot of DLNA servers for windows, linux and mac. Some worked, some didn't… but the ones that worked, with the exception of Samsung's PC Share Manager, none of theme were able to play MKV HD files on my TV. With some servers (including MiniDLNA) i get "Not Supported File Format" error message, with others i am just dumped back to file listing without any message. MiniDLNA (and some others) were able to stream AVI and MPEG files on my TV without any problem… but i would like to play MKV files. Anyone can tell me why is this happening? If i use Samsung PC Share Manager everything works… but with other DLNA servers don't work…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, 1.0.16.3 on CentOS. If i plug an USB drive containing MKV files it works very well, also if i use PC Share Manager it works, but i am using a Mac and i rater run linux on VirtualBox than any version of windows :P
BTW, would be great to make a MiniDNLA build for Mac.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-
2010-06-22
BUMP, Sumsung LE46C750 here. Everything works except mkv.
minidlna-cvs from yesterday on arch linux rolling release.
Could it be that one hast to set specific mime types on the machine that hosts the server or is this out of question ? I would like to know what's wrong. Mkv are very important nowadays.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-
2010-06-22
Scanning shows nothing interesting :
metadata.c:794: debug: Container: 'matroska'
metadata.c:932: debug: Stream 0 of cbgb-greenzone720.avi is h.264
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-
2010-06-22
And the part where tv tris to mkv :
minidlna.c:994: debug: HTTP connection from 192.168.1.13:37951
upnphttp.c:116: debug: Client found in cache.
upnphttp.c:706: debug: HTTP REQUEST: HEAD /MediaItems/2604.mkv HTTP/1.0
getcontentFeatures.dlna.org: 1
Host: 192.168.1.25:8200
upnphttp.c:1656: info: Serving DetailID: 2604
minidlna.c:994: debug: HTTP connection from 192.168.1.13:52000
upnphttp.c:116: debug: Client found in cache.
upnphttp.c:706: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
HOST: 192.168.1.25:8200
CONTENT-LENGTH: 255
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-
2010-06-22
You Sir zambrano are my personal hero ! Avatar 720p on a mkv now rocking my eyes =)
Faster response then in a chat, aweseom dude.
I at first only changed .c file in one folder but there are two, and i picked the first where i found it -build. Never worked with cvs.
So the first tip of you worked "SEC_HHP_TV" for LE46C750. Little patch will make many people happy.
Awesome software guys!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just to update that this also worked with mine UN40C6900. The C6900 is the "brazilian" version of the C6500.
I did the test with one MKV with 1080p (with subtitle) and worked fine!
Thank you, zambrano!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But I still got theses warning and I wonder why I got this messages.
upnpsoap.c:1370: warn: SoapMethod: Unknown: X_GetFeatureList
upnpsoap.c:1418: warn: Returning UPnPError 401: Invalid Action
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
X_GetFeatureList must be a vendor-specific command. I'm not sure what it does, but it shouldn't be necessary since regular DLNA servers (besides their PC Share Manager) won't support it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This compiled version failed to play MKV file as you mentioned (my Smasung plasma must be using user-agent and not the SamsungWiselinkPro). According to my logs in debug mode here is my USER-AGENT :
I'm kind of a Linux newbie and I've got no clue how to build the modified sources (according to note #13 from zambrano).
I've find the build script from which the miniDLNA I've got came from but so far I failed to run it…
Is there any chance some one could compile a modified version a the latest miniDLNA for my NAS ? Or at least point me to simple 'how to' to buid such thing.
Best regards,
Fred
PC = XP SP3 // TV = Samsung PS50C6500 // NAS = D'Link DNS 323
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-25
Dear all,
I've manage to build a version for my NAS using the user gent from my tv : SEC_HHP_TV salon/1.0
I've even used the patch to display thumbnails from videos :)
But so far I've failed to display subtitles…
In debug mode I can see them but the TV fails to display them…
The subtitle are ok as I'm displaying them correctly with Samsung PC Share Manger v4.2
That's strange. The TV is requesting the caption file, and we are sending it to the TV, so it should really be up to the TV after that. Does anyone know if their Blu-Ray players work the same?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using the current version (v1.0.18) under Debian/testing I can see the subtitles (.MKV and .AVI movies with external .SRT subtitle), but the TV won't show me the subtitle submenu. So I checked with the WiseLink Windows DLNA server and it does.
I can make a wireshark capture of this (around 20MB). Would this be of any help? Anything different I can do?
(I'm new to DLNA, but have a Windows/Linux programming background)
RandomCore
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I've tested a lot of DLNA servers for windows, linux and mac. Some worked, some didn't… but the ones that worked, with the exception of Samsung's PC Share Manager, none of theme were able to play MKV HD files on my TV. With some servers (including MiniDLNA) i get "Not Supported File Format" error message, with others i am just dumped back to file listing without any message. MiniDLNA (and some others) were able to stream AVI and MPEG files on my TV without any problem… but i would like to play MKV files. Anyone can tell me why is this happening? If i use Samsung PC Share Manager everything works… but with other DLNA servers don't work…
Are you using the latest version of MiniDLNA? The only Samsung MKV quirk I'm aware should be worked around with recent MiniDLNA versions.
Yes, 1.0.16.3 on CentOS. If i plug an USB drive containing MKV files it works very well, also if i use PC Share Manager it works, but i am using a Mac and i rater run linux on VirtualBox than any version of windows :P
BTW, would be great to make a MiniDNLA build for Mac.
BUMP, Sumsung LE46C750 here. Everything works except mkv.
minidlna-cvs from yesterday on arch linux rolling release.
Could it be that one hast to set specific mime types on the machine that hosts the server or is this out of question ? I would like to know what's wrong. Mkv are very important nowadays.
Scanning shows nothing interesting :
metadata.c:794: debug: Container: 'matroska'
metadata.c:932: debug: Stream 0 of cbgb-greenzone720.avi is h.264
And the part where tv tris to mkv :
minidlna.c:994: debug: HTTP connection from 192.168.1.13:37951
upnphttp.c:116: debug: Client found in cache.
upnphttp.c:706: debug: HTTP REQUEST: HEAD /MediaItems/2604.mkv HTTP/1.0
getcontentFeatures.dlna.org: 1
Host: 192.168.1.25:8200
upnphttp.c:1656: info: Serving DetailID: 2604
minidlna.c:994: debug: HTTP connection from 192.168.1.13:52000
upnphttp.c:116: debug: Client found in cache.
upnphttp.c:706: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
HOST: 192.168.1.25:8200
CONTENT-LENGTH: 255
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X_GetFeatureList xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"></u:X_GetFeatureList></s:Body></s:Envelope>
upnphttp.c:549: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList
upnpsoap.c:1358: debug: SoapMethod: X_GetFeatureList
upnpsoap.c:1370: warn: SoapMethod: Unknown: X_GetFeatureList
upnpsoap.c:1418: warn: Returning UPnPError 401: Invalid Action
upnphttp.c:1025: debug: HTTP RESPONSE: HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 398
Server: Linux/2.6.34-tux-bare DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
<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>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
Thanks for Feedback !
It's a User-Agent problem.
New Samsung TV use a User-Agent not supported by minidlna.
Search this line in upnphttp.c
else if(strncmp(p, "SamsungWiselinkPro", 18)==0)
and change with
else if(strncmp(p, "YOURUSERAGENT", {len of user-agent-string})==0)
To find your TV user agent start minidlna with -d (debug mode) and search inside logged lines when TV connect to DLNA.
That would be awesome , if it is that simple.
Samsung LE46C750 : USER-AGENT: SEC_HHP_TV-46C750/1.0
Will report back
Use this line
else if(strncmp(p, "SEC_HHP_TV", 10)==0)
hehe, hope THAT works because my useragent posted above didn't . I will leave out debug code … recompiling …
No change, sadly :
minidlna.c:994: debug: HTTP connection from 192.168.1.13:48917
upnphttp.c:116: debug: Client found in cache.
upnphttp.c:706: debug: HTTP REQUEST: HEAD /MediaItems/18.mkv HTTP/1.0
getcontentFeatures.dlna.org: 1
Host: 192.168.1.25:8200
upnphttp.c:1656: info: Serving DetailID: 18
minidlna.c:994: debug: HTTP connection from 192.168.1.13:44388
upnphttp.c:116: debug: Client found in cache.
upnphttp.c:706: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
HOST: 192.168.1.25:8200
CONTENT-LENGTH: 255
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X_GetFeatureList xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"></u:X_GetFeatureList></s:Body></s:Envelope>
upnphttp.c:549: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList
upnpsoap.c:1358: debug: SoapMethod: X_GetFeatureList
upnpsoap.c:1370: warn: SoapMethod: Unknown: X_GetFeatureList
upnpsoap.c:1418: warn: Returning UPnPError 401: Invalid Action
upnphttp.c:1025: debug: HTTP RESPONSE: HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 398
Server: Linux/2.6.34-tux-bare DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
will double check the build script , the source was orig cvs when i just rechecked
You can also force these three line at end of the if block:
h->req_client = ESamsungTV;
h->reqflags |= FLAG_DLNA;
h->reqflags |= FLAG_NO_RESIZE;
after this block:
else if(strstrc(p, "DLNADOC/1.50", '\r'))
{
h->req_client = EStandardDLNA150;
h->reqflags |= FLAG_DLNA;
h->reqflags |= FLAG_MIME_AVI_AVI;
}
h->req_client = ESamsungTV;
h->reqflags |= FLAG_DLNA;
h->reqflags |= FLAG_NO_RESIZE;
You Sir zambrano are my personal hero ! Avatar 720p on a mkv now rocking my eyes =)
Faster response then in a chat, aweseom dude.
I at first only changed .c file in one folder but there are two, and i picked the first where i found it -build. Never worked with cvs.
So the first tip of you worked "SEC_HHP_TV" for LE46C750. Little patch will make many people happy.
Awesome software guys!
You are very lucky … I have debugged this problem only yesterday
;)
Just to update that this also worked with mine UN40C6900. The C6900 is the "brazilian" version of the C6500.
I did the test with one MKV with 1080p (with subtitle) and worked fine!
Thank you, zambrano!
Thank You zambrano anh tuxfusion.
I can comfirm that it also work on PN50C7705.
But I still got theses warning and I wonder why I got this messages.
upnpsoap.c:1370: warn: SoapMethod: Unknown: X_GetFeatureList
upnpsoap.c:1418: warn: Returning UPnPError 401: Invalid Action
Would everyone be so kind as to post their user agents from their Samsung TVs? Do they all begin with "SEC_HHP_TV"?
X_GetFeatureList must be a vendor-specific command. I'm not sure what it does, but it shouldn't be necessary since regular DLNA servers (besides their PC Share Manager) won't support it.
Here is my Samsung TV's agent: SEC_HHP_TV-50C7700
Here is mine: SEC_HHP_TV-40C650/1.0
Dear miniDLNA users,
I tried to user miniDLNA v 1.0.17 compiled for fun_plug on DLink DNS-323 NAS
(http://www.plord.co.uk/funplug/0.5/minidlna-cvs20100221-2.tgz) to a Samsung Plasma TV PS50C6500.
This compiled version failed to play MKV file as you mentioned (my Smasung plasma must be using user-agent and not the SamsungWiselinkPro). According to my logs in debug mode here is my USER-AGENT :
I'm kind of a Linux newbie and I've got no clue how to build the modified sources (according to note #13 from zambrano).
I've find the build script from which the miniDLNA I've got came from but so far I failed to run it…
Is there any chance some one could compile a modified version a the latest miniDLNA for my NAS ? Or at least point me to simple 'how to' to buid such thing.
Best regards,
Fred
PC = XP SP3 // TV = Samsung PS50C6500 // NAS = D'Link DNS 323
Dear all,
I've manage to build a version for my NAS using the user gent from my tv : SEC_HHP_TV salon/1.0
I've even used the patch to display thumbnails from videos :)
But so far I've failed to display subtitles…
In debug mode I can see them but the TV fails to display them…
The subtitle are ok as I'm displaying them correctly with Samsung PC Share Manger v4.2
Here is part of my logs… (if this may help)
That's strange. The TV is requesting the caption file, and we are sending it to the TV, so it should really be up to the TV after that. Does anyone know if their Blu-Ray players work the same?
Hi,
I have a Samsung LCD LE40C650.
Using the current version (v1.0.18) under Debian/testing I can see the subtitles (.MKV and .AVI movies with external .SRT subtitle), but the TV won't show me the subtitle submenu. So I checked with the WiseLink Windows DLNA server and it does.
I can make a wireshark capture of this (around 20MB). Would this be of any help? Anything different I can do?
(I'm new to DLNA, but have a Windows/Linux programming background)
RandomCore