ReadyDLNA + LG TV LE5500

(Replaces the existing UPnP-AV server support) Enables playback of videos, music and pictures from DLNA/UPnP AV network media players. Also adds TiVo HMO support.

ReadyDLNA + LG TV LE5500

Postby Mlotek » Mon Dec 06, 2010 5:07 pm

Hello

Below is the short report of the NV+ (with ReadyDLNA) working with LG LE5500 LED TV

For starters:
After setting up the network card in TV (welcome to the XXI century) the media are visible from the start. "Just do it".
mkv -works (excluding DTS audio)
avi - works
mp4 - works
(pictures, music in mp3 also works flawlessly)
That were the pros.

Cons = subtitles.
While using ReadyDLNA - No Go. No subtitles of any kind.
(Also while using other DLNA servers on Linux - No Go)

Short test:
With Nero MediaHome4 on WinXP - Go!
Interesting thing - every video media streaming with Nero says that there is the choice in subtitles even there are no subtitles available.

So the problem is with the server not the TV client. In a few days I'll dump and (try to) analyse the network traffic of the both of the servers.
The results will be reported in this thread.

Test hardware:
OS for servers:
- NV+ with latests stable firmware (rDLNA v1.0.18.2)
- Linux (several flavors)
- Windows XP (native, not emulated)
Client:
- LG 42LE5500
Medium:
- wired LAN (copper)
Mlotek
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Dec 06, 2010 4:40 pm
ReadyNAS: NV+

Re: ReadyDLNA + LG TV LE5500

Postby sphardy » Wed Dec 08, 2010 5:01 am

If your subtitles are maintained as separate .srt files, then the problem is likely your TV. Such subtitles are NOT part of the DLNA standard and as such many clients do not support them when accessing a DLNA server. Note that ReadyDLNA *does* advertised the .srt files together with the video.

Also, note that according to the LG website: http://www.lg.com/us/tv-audio-video/tel ... LE5500.jsp

DLNA Certified® Yes (JPEG Images Only)


Which is verified by the DLNA org: http://certification.dlna.org/certs/REG54502632.pdf

Checking the Nero Software it refers extensively to UPnP and equipment being Windows certified, and so it appears to primarily be focused on the Microsoft standard of streaming media, rather than DLNA. This may explain why your TV works with Nero - though I see no reference to UPnP in the LG specs

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: ReadyDLNA + LG TV LE5500

Postby Mlotek » Thu Dec 09, 2010 2:28 pm

The subtitles are in .txt in this case

Of course I mixed up two things - DLNA (certification/organisation) and upnp. mea culpa

Right now I'm looking into traffic dumps and I can see differences between several upnp servers. Especially replies to "POST /ctl/ContentDir" are intriguing
(I'm looking into traffic from NERO, MediaTomb@linux and MiniDLNA@NV+)

In case of MiniDLNA I cannot find when the srt files are being advertised in reply to "SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"". Only the video files are reported.

This is how the same catalogue is reported in every server
MediaTomb:
Code: Select all
<Result><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"> <item id="1208" parentID="1205" restricted="1"> <dc:title>movie_title.avi</dc:title> <upnp:class> object.item.videoItem</upnp:class> <res protocolInfo="http-get:*:video/x-msvideo:DLNA.ORG_OP=01;DLNA.ORG_CI=0" size="734801920" duration="01:33:29.4" bitrate="1047" resolution="624x352" sampleFrequency="48000" nrAudioChannels="1"> http://server_IP:49152/content/media/object_id/1208/res_id/0/ext/file.avi</res> </item>...

Code: Select all
<NumberReturned>7</NumberReturned>
<TotalMatches>7</TotalMatches>

Every file is reported (even .nfo, .url and such)

NERO:
Code: Select all
<Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <item id="6a" parentID="c" restricted="1"> <dc:date> 2010-05-31T03:25:16Z</dc:date> <dc:title>movie_title.avi</dc:title> <upnp:class> object.item.videoItem.movie</upnp:class> <res duration="1:33:29" nrAudioChannels="2" protocolInfo="http-get:*:video/avi:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" resolution="624x352" sampleFrequency="48000" size="734801920"> http://server_IP:54444/server/54155D3D-5F61-46b9-A822-456CDA1448EC/D5E59F25/6a?unknown-id</res> <res protocolInfo="http-get:*:text/plain:*"> http://server_IP:54444/server/54155D3D-5F61-46b9-A822-456CDA1448EC/3A2C7131/6a?sub=movie_title.txt</res> </item> ...

Code: Select all
NumberReturned>2</NumberReturned>
<TotalMatches>2</TotalMatches>

Only two <item> but video and subtitles adre combined in one blob. Looking further (as file is being played) it can be seen, that the client (TV) is asking for the video file and then for the subtitles.

MiniDLNA:
Code: Select all
<Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <item id="64$0$18$0" parentID="64$0$18" restricted="1"><dc:title>movie_title</dc:title><upnp:class>object.item.videoItem</upnp:class><dc:creator>DiVX</dc:creator><dc:date>2010-12-09T21:38:56</dc:date><res size="225280000" duration="1:33:29.448" bitrate="119458" sampleFrequency="48000" nrAudioChannels="2" resolution="624x352" protocolInfo="http-get:*:video/avi:DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://server_IP:8200/MediaItems/233.avi</res></item>...

Code: Select all
<NumberReturned>2</NumberReturned>
<TotalMatches>2</TotalMatches>

Only two items. Movie only.

Next step - I'll try to compile MiniDLNA under linux and then force it to report video and subtiltes in one <item></item> (not even if there are any).
Mlotek
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Dec 06, 2010 4:40 pm
ReadyNAS: NV+

Re: ReadyDLNA + LG TV LE5500

Postby sphardy » Fri Dec 10, 2010 1:55 am

The subtitles are in .txt in this case

Have you tried renaming/copying to .srt? Maybe minidlna requires this? You may need to force a rescan for the change to be detected too unless you have autoupdating enabled

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: ReadyDLNA + LG TV LE5500

Postby Mlotek » Fri Dec 10, 2010 3:47 am

I'll do that and report the results.

EDIT

Still no-go
Tried it on diferrent directory with sample.avi, movie.avi, movie.srt. Full XML response below.
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <item id="64$0$6$0" parentID="64$0$6" restricted="1"><dc:title>sample</dc:title><upnp:class>object.item.videoItem</upnp:class><dc:creator>DiVX</dc:creator><dc:date>2010-09-14T22:46:54</dc:date><res size="16607232" duration="0:01:00.280" bitrate="275501" sampleFrequency="48000" nrAudioChannels="6" resolution="720x384" protocolInfo="http-get:*:video/avi:DLNA.ORG_OP=01; DLNA.ORG_CI=0">http://server_IP:8200/MediaItems/29.avi</res></item><item id="64$0$6$1" parentID="64$0$6" restricted="1"><dc:title>movie</dc:title><upnp:class>object.item.videoItem</upnp:class><dc:creator>DiVX</dc:creator><dc:date>2010-09-15T00:01:02</dc:date><res size="1543469056" duration="1:47:41.440" bitrate="238873" sampleFre quency="48000" nrAudioChannels="6" resolution="720x384" protocolInfo="http-get:*:video/avi:DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://server_IP:8200/MediaItems/30.avi</res></item></DIDL-Lite></Result>
<NumberReturned>2</NumberReturned>
<TotalMatches>2</TotalMatches>
<UpdateID>5</UpdateID>
</u:BrowseResponse>
</s:Body>
</s:Envelope>


As you can see, items other then videos are not reported. Of course the type of directory in ReadyDLNA is set to "all".
Mlotek
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Dec 06, 2010 4:40 pm
ReadyNAS: NV+

Re: ReadyDLNA + LG TV LE5500

Postby Mlotek » Wed Dec 22, 2010 6:22 am

Problems...

minidlna from CVS compiles, but segfaults on run.
Code: Select all
(gdb) backtrace
#0  0x000000000041cde7 in ?? ()
#1  0x000000000041d148 in ?? ()
#2  0x00007ffff7bc6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#3  0x00007ffff586b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

minidlna from official sources - compiles, runs but no captions.

Nex step - to find differences and (maybe) build a semi-working wersion.

Test system - minidlna compiled on 2.6.35-24-generic, x86_64. Test clients - TV and XMBC on WinXP

[edit]
Commit from 2010-12-25 compiles.
Still no subtitles.
Mlotek
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Dec 06, 2010 4:40 pm
ReadyNAS: NV+

Re: ReadyDLNA + LG TV LE5500

Postby Skywalker » Mon May 16, 2011 6:20 pm

If you get a chance, can you try pulling the latest code from CVS and see if srt subtitles work for you?
User avatar
Skywalker
Jedi Council
 
Posts: 3133
Joined: Fri Nov 19, 2004 10:47 am
Location: Fremont, CA
ReadyNAS: NV

Re: ReadyDLNA + LG TV LE5500

Postby Mlotek » Tue May 17, 2011 10:46 am

First results are as follows
CVS 2011-05-17
kernel 2.6.38-9-generic x86_64
files on local HDD

Result:
subtitles .srt (name same as .avi) = GO! :worship:
Mlotek
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Dec 06, 2010 4:40 pm
ReadyNAS: NV+

Re: ReadyDLNA + LG TV LE5500

Postby Skywalker » Tue May 17, 2011 12:04 pm

Awesome, thanks for the confirmation! I just posted new addons in the ReadyDLNA update thread for both platforms including this feature.
User avatar
Skywalker
Jedi Council
 
Posts: 3133
Joined: Fri Nov 19, 2004 10:47 am
Location: Fremont, CA
ReadyNAS: NV

Re: ReadyDLNA + LG TV LE5500

Postby Mlotek » Tue May 17, 2011 1:47 pm

Grrrreat.
Hardware: NV+
Update ReadyDLNA: done
Update database: done
Testing subtitles: confirmed
Mlotek
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Dec 06, 2010 4:40 pm
ReadyNAS: NV+

Re: ReadyDLNA + LG TV LE5500

Postby kahy » Mon May 23, 2011 4:03 pm

Hi guys,
Unfortunately, I see no subtitles on Duo + LG TV LE7500.
Built it from the latest CVS on Ubuntu 11.04, can play movies, music, see photos, but not subtitles. When running in the debug mode, I can see some error message saying Broken pipe, not sure if it's related.
Would love to get the subtitles working on my LG TV, any ideas ?
kahy
ReadyNAS Newbie
 
Posts: 2
Joined: Mon May 23, 2011 3:57 pm
ReadyNAS: Duo

Re: ReadyDLNA + LG TV LE5500

Postby Skywalker » Mon May 23, 2011 4:17 pm

Yes, a broken pipe would very likely be related. Sounds to me like the TV isn't liking your subtitle file. Do you have other ones to try with? Is it for sure a valid SRT file?
User avatar
Skywalker
Jedi Council
 
Posts: 3133
Joined: Fri Nov 19, 2004 10:47 am
Location: Fremont, CA
ReadyNAS: NV

Re: ReadyDLNA + LG TV LE5500

Postby kahy » Tue May 24, 2011 9:44 am

I tried several srt subtitles and none of them worked, tried to rename it to some simple name like (test.avi + test.srt), different encoding, but nothing helped. When I used the subtitles with Nero MediaHome they worked correctly.
kahy
ReadyNAS Newbie
 
Posts: 2
Joined: Mon May 23, 2011 3:57 pm
ReadyNAS: Duo

Re: ReadyDLNA + LG TV LE5500

Postby Skywalker » Tue May 24, 2011 11:42 am

Can you PM me the debug logs of the transactions between the TV and your Ubuntu box?
User avatar
Skywalker
Jedi Council
 
Posts: 3133
Joined: Fri Nov 19, 2004 10:47 am
Location: Fremont, CA
ReadyNAS: NV


Return to ReadyDLNA



Who is online

Users browsing this forum: No registered users and 1 guest