PS3 media server and LG BD 390 blue ray

Discuss alternative media renderers (not PS3) supported by PS3 Media Server (e.g. Xbox 360, TVs &c.)

PS3 media server and LG BD 390 blue ray

Postby SylvainDLNA » Sun Jan 17, 2010 6:08 pm

Hi Guys,

I have Windows XP, Cduo, 2go ram, 1To DD and a LG BD 390 blueray DLNA. There is a fastethernet network beetween my PC and the LG BD 390. I share folders on my PC (with the standard sharing Windows XP) and I can play music, pictures and videos PC on my TV with LG BD 390 but I can’t play interactive DVD menus. That’s the reason why I have tried to use PS3 media server, I want to create a DLNA server to play interactive DVD menus on my TV from my PC.
Is it possible with PS3 media server? It seems yes?

At this moment, I can see PS3 media server DLNA on the screen of my TV (in fact on the media menu of the LG BD 390) but I have a failure when I try to connect.

This is my PS3 media server traces :

[main] TRACE 17:59:17.390 Starting Java PS3 Media Server v1.10.51
[main] TRACE 17:59:17.390 by shagrath / 2008-2009
[main] TRACE 17:59:17.390 http://ps3mediaserver.blogspot.com
[main] TRACE 17:59:17.390 http://code.google.com/p/ps3mediaserver
[main] TRACE 17:59:17.390
[main] TRACE 17:59:17.390 Java 1.6.0_17-Sun Microsystems Inc.
[main] TRACE 17:59:17.390 OS Windows XP x86 5.1
[main] TRACE 17:59:17.390 Encoding: Cp1252
[main] TRACE 17:59:17.406 Temp folder: C:\temp\javaps3media
[main] TRACE 17:59:17.421 Found AviSynth plugins dir: C:\Program Files\AviSynth 2.5\plugins
[main] TRACE 17:59:17.453 Found VideoLAN version 0.8.6f at: C:\Program Files\adslTV\vlc.exe
[main] TRACE 17:59:17.500 Registering transcoding engine AviSynth/FFmpeg
[main] TRACE 17:59:17.500 Registering transcoding engine FFmpeg Audio
[main] TRACE 17:59:17.531 Registering transcoding engine MEncoder
[main] TRACE 17:59:17.531 Registering transcoding engine Avisynth/MEncoder
[main] TRACE 17:59:17.531 Registering transcoding engine MPlayer Audio
[main] TRACE 17:59:17.531 Registering transcoding engine MEncoder Web
[main] TRACE 17:59:17.531 Registering transcoding engine MPlayer Video Dump
[main] TRACE 17:59:17.531 Registering transcoding engine MPlayer Web
[main] TRACE 17:59:17.531 Registering transcoding engine TsMuxer
[main] TRACE 17:59:17.531 Registering transcoding engine Audio High Fidelity
[main] TRACE 17:59:17.531 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 17:59:17.531 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 17:59:17.531 Registering transcoding engine FFmpeg DVR-MS Remux
[main] TRACE 17:59:17.531 Registering transcoding engine Raws Thumbnailer
[main] TRACE 17:59:17.671 Scanning network interface eth0 / Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC - Miniport d'ordonnancement de paquets
[main] TRACE 17:59:17.671 Using address /192.168.0.16 found on network interface: name:eth0 (Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC - Miniport d'ordonnancement de paquets) index: 2 addresses: /192.168.0.16;
[main] TRACE 17:59:17.671 Created socket: /192.168.0.16:5001
[Thread-4] TRACE 17:59:17.671 Starting DLNA Server on host 192.168.0.16 and port 5001...
[main] TRACE 17:59:17.671 Using database located at : C:\Program Files\PS3 Media Server\database
[main] TRACE 17:59:18.015 Sending ALIVE...
[main] TRACE 17:59:18.015 Using following UUID: f56d8d0c-86ac-3171-8732-4ec197ac1773
[main] TRACE 17:59:21.734 It's ready! You should see the server appears on XMB
[Thread-11] TRACE 17:59:31.734 Sending ALIVE...

How can I do, I am a little lost :( , I search for several days . Could you help me?

Thank you in advance
Sylvain

Ps : port 5001 is open on my firewall nat Olitec sx200
SylvainDLNA
 
Posts: 1
Joined: Sun Jan 17, 2010 6:03 pm

Re: PS3 media server and LG BD 390 blue ray

Postby plazmatick » Sun Apr 25, 2010 12:59 am

LG BD 390 Access would be reeeeealy nice update! Please!
plazmatick
 
Posts: 1
Joined: Sun Apr 25, 2010 12:57 am

Re: PS3 media server and LG BD 390 blue ray

Postby KERIO » Wed May 12, 2010 7:40 am

Anyone get it working?
KERIO
 
Posts: 1
Joined: Wed May 12, 2010 7:37 am

Re: PS3 media server and LG BD 390 blue ray

Postby ps3ForMyLg » Tue Jun 08, 2010 4:22 pm

Any updates regarding LG BD 390 ?
ps3ForMyLg
 
Posts: 5
Joined: Mon Apr 19, 2010 11:33 am

Re: PS3 media server and LG BD 390 blue ray

Postby spjoe » Fri Aug 13, 2010 4:18 pm

hmm now any update?
I made a network dump and i saw following difference between nero home 4 and ps3mediaserver 1.20 r410 with this config and deleted the WDTVLive.conf, because the config matches also the player.

Code: Select all
#------------------------------------------------------------
# ps3mediaserver profile for LG BD390
# DO NOT MODIFY THIS (OR AT YOUR OWN RISK)

#------------------------------------------------------------
# General informations / detection

RendererName=LG BD390
RendererIcon=test.png

#UserAgent: regular expression to detect the connected renderer
UserAgentSearch=LG_DLNA_SDK

#UserAgentAdditionalHeaders: additional http header for better detection
#UserAgentAdditionalHeader=X-AV-Client-Info
#UserAgentAdditionalHeaderSearch=PLAYSTATION

#Basic capabilities
Video=true
Audio=true
Image=true

#------------------------------------------------------------
# DLNA settings

#Use the DLNA feature seek by time and not by range
#SeekByTime=true
SeekByTime=false

#------------------------------------------------------------
# Transcoding/Muxing capabilities
#

#Transcode codecs for video and audio engines
#currently supported: MPEGAC3 or WMV for video, PCM or MP3 for audio
TranscodeVideo=MPEGAC3
TranscodeAudio=PCM

#Use default DVD buffer size: false = greater bitrate and faster encoding,
#but can generate incompatible videos, depends of your media renderer
DefaultVBVBufSize=false

#Muxing capabilities: Does the media renderer supports H264 and MPEG2 in a mpegts file ?
#MuxH264ToMpegTS=true
MuxH264ToMpegTS=false

#Does the media renderer supports DTS in a mpeg file ?
#MuxDTSToMpeg=false
MuxDTSToMpeg=true

#Does the media renderer supports DTS wrapped into LPCM in a mpeg file ?
#WrapDTSIntoPCM=true
WrapDTSIntoPCM=false

#Does the media renderer supports LPCM in a mpeg file ?
#MuxLPCMToMpeg=true
MuxLPCMToMpeg=false

#Maximum bitrate supported by the media renderer (0=unlimited)
MaxVideoBitrateMbps=0

#Max Width and Height supported by the media renderer (0=unlimited)
MaxVideoWidth=0
MaxVideoHeight=0

#------------------------------------------------------------
# Misc Files

# Mime types transforms (oldmime=newmime|olemime2=newmime2|...)
MimeTypesChanges=video/avi=video/x-divx

# Extensions management: no need to put something here, as the server's default configuration is tuned for ps3
# What extensions are forcefully transcoded
TranscodeExtensions=flv
# What extensions are forcefully streamed as is (and not transcoded)
StreamExtensions=avi,xvid,divx,avc,mpg,mpeg,mkv,264,ts,tp,m2t,m2ts,wmv,mp3,wav,pcm,lpcm,wma,aac,flac,mka,aif,aiff,ogg,dts

# Show the duration of a DVD Title in the overview
ShowDVDTitleDuration=true
# CBR bitrate. Needed for byteseek to timeseek convertion. 0 = disabled.
CBRVideoBitrate=15000
# Number of seconds to rewind every time we do a byteseek to timeseek conversion.
# If the conversion isn't 100% accurate so a little rewind can be nice
ByteToTimeseekRewindSeconds=0



Booth times i choosed the same video file
with nero 4 i got
Code: Select all
[color=#FF0000]GET /server/80402875-CA74-4CCE-B7E0-D81CEF1913A2/D5E59F25/1e?unknown-id HTTP/1.1
Range: bytes=0-262143
Host: 192.168.1.102:54444
Accept: */*[/color]
[color=#0000FF]
HTTP/1.1 206 Partial
SERVER: WINDOWS/6.1 UPnP/1.0 DLNADOC/1.50 Nero-MediaHome/4.5.8.100
EXT:
DATE: Fri, 13 Aug 2010 14:48:02 GMT
TRANSFERMODE.DLNA.ORG: Streaming
LAST-MODIFIED: Wed, 22 Aug 2007 20:47:58 GMT
EXPIRES: Sat, 13 Aug 2011 14:48:02 GMT
CONTENT-TYPE: video/avi
ACCEPT-RANGES: bytes
CONTENT-RANGE: bytes 0-262143/318767104
TRANSFER-ENCODING: chunked
CONNECTION: Keep-Alive

40000
RIFF....AVI LIST~"..hdrlavih8...@...[/color]

And the video file play without a problem

with ps3mediaserver
Code: Select all
[color=#FF0000]GET /get/0$0$0/Drawn.Together.-.S02E01.-.The.One.Wherein.There.Is.A.Big.Twist.%282%29.DVB.XviD.avi HTTP/1.1
Range: bytes=0-15
Host: 192.168.1.102:5001
Accept: */*[/color]

[color=#0000FF]HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 318767104
Content-Range: bytes 0-15/318767104
Content-Type: video/x-divx
Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409

RIFF....AVI LIST~"..hdrlavih8...@...[/color]

and the lg player crashes after some seconds

hopefully anyone can use this information

PS: Font color do not work in code section so please imagine the colors :-)

thank you for reading

EDIT: Here some of my ideas:
Maybe we must transfer in chunked mode and what this 40000 means?
and maybe we must declare this "TRANSFERMODE.DLNA.ORG: Streaming"

does anyone have some expirience with dlna?
spjoe
 
Posts: 6
Joined: Fri Aug 13, 2010 4:04 pm

Re: PS3 media server and LG BD 390 blue ray

Postby spjoe » Sat Aug 14, 2010 9:12 am

I have done some further investigations
So the ps3mediaserver does not handle the "range: bytes=x-y" right. The programm ignores the highrange value. The value are given through to DLNAresource.java but in the DLNAMediaInfo.java the value is not theire so the player write the whole file into the stream. And content-length is not right (is the length of the whole file, but we want just 16 bytes)

Answere of my question
spjoe wrote:Maybe we must transfer in chunked mode and what this 40000 means?
and maybe we must declare this "TRANSFERMODE.DLNA.ORG: Streaming"

40000 is HEX and the length of the chunk
Think transfermode is not the problem. But tranfer-encoding should be chunked

Any ideas where can add code to prevent sending the whole file?
Attachments
content-length.rar
just some tries
(2.11 KiB) Downloaded 142 times
spjoe
 
Posts: 6
Joined: Fri Aug 13, 2010 4:04 pm

Re: PS3 media server and LG BD 390 blue ray

Postby spjoe » Sat Aug 14, 2010 1:47 pm

new improvments!
now the capture packets looks very similare to nero mediahome
but it still do not work, hmpf

Code: Select all
GET /get/0$0$0/Drawn.Together.-.S02E01.-.The.One.Wherein.There.Is.A.Big.Twist.%282%29.DVB.XviD.avi HTTP/1.1
Range: bytes=983040-1245183
Host: 192.168.1.100:5001
Accept: */*

HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 262144
Content-Range: bytes 983040-1245183/318767104
Content-Type: video/x-divx
Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409
Transfer-Encoding: chunked

40000
.U.V.......


The http content is realy 0x40000 big. But it seams we open ever http chunk a new tcp connection, nero do not.
And i get very strange request from lg bd390 like this:

Code: Select all
GET /get/0$0$0/Drawn.Together.-.S02E01.-.The.One.Wherein.There.Is.A.Big.Twist.%282%29.DVB.XviD.avi HTTP/1.1
Range: bytes=16-15
Host: 192.168.1.100:5001
Accept: */*

HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 0
Content-Range: bytes 16-15/318767104
Content-Type: video/x-divx
Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409
Transfer-Encoding: chunked

0


I'm not sure what i should answere, if the range is inposible
Attachments
newnewpatch.rar
zero at end of chunk added
(3.31 KiB) Downloaded 197 times
spjoe
 
Posts: 6
Joined: Fri Aug 13, 2010 4:04 pm

Re: PS3 media server and LG BD 390 blue ray

Postby spjoe » Sat Aug 14, 2010 3:53 pm

great news!!! now it works, but further testing is required!!!
how to:
remove wdtvlive.conf
patch the soure with
workingpatch.rar
(3.14 KiB) Downloaded 551 times
Attachments
lgBD390.rar
(1.22 KiB) Downloaded 549 times
spjoe
 
Posts: 6
Joined: Fri Aug 13, 2010 4:04 pm

Re: PS3 media server and LG BD 390 blue ray

Postby spjoe » Sun Aug 22, 2010 1:55 pm

viewtopic.php?f=11&t=7536

okay here is a patch for the same issue, maybe works better than my patch (i have not tested this patch)
spjoe
 
Posts: 6
Joined: Fri Aug 13, 2010 4:04 pm

Re: PS3 media server and LG BD 390 blue ray

Postby patters » Sun Aug 22, 2010 9:44 pm

Hi spjoe,

I had a feeling that the issue affecting the LG BD 390 would be similar to the problem with the Sony 2010 Bluray players - chunked transfer mode. It's been discussed in this thread:
viewtopic.php?f=15&t=6930

As you spotted WorldOfHurt has made a patch for this issue. I find that it works for DivX and H.264 in m2ts but H.264 in mkv/mp4/m4v stutters (the player should play all of them without transcode). So, in case your fix uses some different strategy I compiled it but modified the function isLG390() to return true for all renderers. I get pretty much exactly the same results with your fix too. Do these formats play smoothly on the LG?

Looking at the code (admittedly from a Java novice point of view - I mostly write VBScript) I wondered if we need some kind of new variable in the renderer .conf which would be read by RendererConfiguration.java instead of having to hard-set behaviours for each renderer, since presumably there will be other renderers which may expect this transfer mode. However, I do realise that this is just a fix at this stage.

Do you have any recommendations for good intros to Java programming - pitched at people who know another language?
patters
 
Posts: 97
Joined: Sun Apr 11, 2010 12:06 pm

Next

Return to Alternative Media Renderers

Who is online

Users browsing this forum: No registered users and 4 guests