Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

MiniDLNA on Samsung C650

Help
Lord LEX
2010-05-14
2013-05-29
1 2 3 .. 7 > >> (Page 1 of 7)
  • Lord LEX
    Lord LEX
    2010-05-14

    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…

     
  • Justin Maggard
    Justin Maggard
    2010-05-14

    Are you using the latest version of MiniDLNA?  The only Samsung MKV quirk I'm aware should be worked around with recent MiniDLNA versions.

     
  • Lord LEX
    Lord LEX
    2010-05-14

    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.

     


  • 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.

     


  • 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

     


  • 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"

    <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.

     


  • 2010-06-22

    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)

     


  • 2010-06-22

    hehe, hope THAT works because my useragent posted above didn't . I will leave out debug code … recompiling …

     


  • 2010-06-22

    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

     


  • 2010-06-22

    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;

     


  • 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!

     
  • 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!

     
  • Bo Phim
    Bo Phim
    2010-07-06

    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

     
  • Justin Maggard
    Justin Maggard
    2010-07-08

    Would everyone be so kind as to post their user agents from their Samsung TVs?  Do they all begin with "SEC_HHP_TV"?

     
  • Justin Maggard
    Justin Maggard
    2010-07-08

    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.

     
  • Bo Phim
    Bo Phim
    2010-07-10

    Here is my Samsung TV's agent: SEC_HHP_TV-50C7700

     
  • Here is mine: SEC_HHP_TV-40C650/1.0

     

  • Anonymous
    2010-08-23

    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 :

    [2010/08/23 14:39:07] minidlna.c:975: debug: HTTP connection from 192.168.0.16:58327
    [2010/08/23 14:39:07] upnphttp.c:706: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.0
    HOST: 192.168.0.18:8200
    [b]USER-AGENT: SEC_HHP_TV salon/1.0[/b]
    ACCEPT-LANGUAGE: en-us
    

    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

     

  • 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

    Here is part of my logs… (if this may help)

    2010/08/25 11:04:06] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:42380
    [2010/08/25 11:04:06] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:06] upnphttp.c:707: debug: HTTP REQUEST: HEAD /MediaItems/36.mkv HTTP/1.0
    getcontentFeatures.dlna.org: 1
    Host: 192.168.0.18:8200
    [2010/08/25 11:04:06] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:07] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:55691
    [2010/08/25 11:04:07] upnphttp.c:224: debug: Range Start-End: 0 - -1
    [2010/08/25 11:04:07] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:07] upnphttp.c:707: debug: HTTP REQUEST: GET /MediaItems/36.mkv HTTP/1.0
    Range: bytes=0-
    getcontentFeatures.dlna.org: 1
    transferMode.dlna.org: Streaming
    getMediaInfo.sec: 1
    Host: 192.168.0.18:8200
    [2010/08/25 11:04:07] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:07] upnphttp.c:1075: debug: sendfile error :: error no. 104 [Connection reset by peer]
    [2010/08/25 11:04:07] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:44132
    [2010/08/25 11:04:07] upnphttp.c:224: debug: Range Start-End: 8530983256 - -1
    [2010/08/25 11:04:07] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:07] upnphttp.c:707: debug: HTTP REQUEST: GET /MediaItems/36.mkv HTTP/1.0
    Range: bytes=8530983256-
    getcontentFeatures.dlna.org: 1
    transferMode.dlna.org: Streaming
    Host: 192.168.0.18:8200
    [2010/08/25 11:04:07] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:07] upnphttp.c:1075: debug: sendfile error :: error no. 104 [Connection reset by peer]
    [2010/08/25 11:04:07] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:46686
    [2010/08/25 11:04:07] upnphttp.c:224: debug: Range Start-End: 6462 - -1
    [2010/08/25 11:04:07] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:07] upnphttp.c:707: debug: HTTP REQUEST: GET /MediaItems/36.mkv HTTP/1.0
    Range: bytes=6462-
    getcontentFeatures.dlna.org: 1
    transferMode.dlna.org: Streaming
    Host: 192.168.0.18:8200
    [2010/08/25 11:04:07] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:08] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:47861
    [2010/08/25 11:04:08] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:08] upnphttp.c:707: debug: HTTP REQUEST: HEAD /MediaItems/36.mkv HTTP/1.0
    getCaptionInfo.sec: 1
    [2010/08/25 11:04:08] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:08] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:60284
    [2010/08/25 11:04:08] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:08] upnphttp.c:707: debug: HTTP REQUEST: HEAD /MediaItems/36.mkv HTTP/1.0
    getCaptionInfo.sec: 1
    [2010/08/25 11:04:08] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:08] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:37787
    [2010/08/25 11:04:08] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:08] upnphttp.c:707: debug: HTTP REQUEST: GET /Captions/36.srt HTTP/1.0
    HOST: 192.168.0.18:8200
    ACCEPT-LANGUAGE: en-us
    getcontentFeatures.dlna.org:1
    transferMode.dlna.org:Background
    [2010/08/25 11:04:08] upnphttp.c:1253: info: Serving caption ID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.srt]
    [2010/08/25 11:04:26] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:45328
    [2010/08/25 11:04:26] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:26] upnphttp.c:707: debug: HTTP REQUEST: HEAD /MediaItems/36.mkv HTTP/1.0
    getCaptionInfo.sec: 1
    [2010/08/25 11:04:26] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:26] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:43694
    [2010/08/25 11:04:26] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:26] upnphttp.c:707: debug: HTTP REQUEST: HEAD /MediaItems/36.mkv HTTP/1.0
    getCaptionInfo.sec: 1
    [2010/08/25 11:04:26] upnphttp.c:1657: info: Serving DetailID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.mkv]
    [2010/08/25 11:04:26] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:37788
    [2010/08/25 11:04:26] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:26] upnphttp.c:707: debug: HTTP REQUEST: GET /Captions/36.srt HTTP/1.0
    HOST: 192.168.0.18:8200
    ACCEPT-LANGUAGE: en-us
    getcontentFeatures.dlna.org:1
    transferMode.dlna.org:Background
    [2010/08/25 11:04:26] upnphttp.c:1253: info: Serving caption ID: 36 [/mnt/HD_a2/Videos/Movies/Alice in Wonderland Trailer.srt]
    [2010/08/25 11:04:26] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:50753
    [2010/08/25 11:04:26] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:26] upnphttp.c:707: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
    HOST: 192.168.0.18: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>
    [2010/08/25 11:04:26] upnphttp.c:550: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList
    [2010/08/25 11:04:26] upnpsoap.c:1358: debug: SoapMethod: X_GetFeatureList
    [2010/08/25 11:04:26] upnpsoap.c:1370: warn: SoapMethod: Unknown: X_GetFeatureList
    [2010/08/25 11:04:26] upnpsoap.c:1418: warn: Returning UPnPError 401: Invalid Action
    [2010/08/25 11:04:26] upnphttp.c:1026: 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.12.6-arm1 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>
    [2010/08/25 11:04:26] minidlna.c:1003: debug: HTTP connection from 192.168.0.16:37801
    [2010/08/25 11:04:26] upnphttp.c:116: debug: Client found in cache. [type 3/entry 0]
    [2010/08/25 11:04:26] upnphttp.c:707: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
    HOST: 192.168.0.18:8200
    CONTENT-LENGTH: 660
    CONTENT-TYPE: text/xml;charset="utf-8"
    USER-AGENT: DLNADOC/1.50
    SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>2$15$1</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInfoEx, sec:dcmInfo, sec:MetaFileInfo,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,dc:creator</Filter><StartingIndex>0</StartingIndex><RequestedCount>1</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
    
     
  • Justin Maggard
    Justin Maggard
    2010-08-27

    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?

     
  • RandomCore
    RandomCore
    2010-08-27

    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

     
1 2 3 .. 7 > >> (Page 1 of 7)