Sony BDP-S370 (DLNA-compatible with new firmware M03.R.567)

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

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby grolschie » Sat Jun 12, 2010 12:30 am

I have tried "StreamExtensions=AVI/MP3/M4A/JPG" to force it to stream rather than transcode. Can't stream the same files that WMP can. Pictures show up in list, but show a broken image icon when trying to open. MP3s and videos show up too, but error when trying to play them. I have also tried "SeekByTime=false".

I have looked at the debug.log, but I am not sure what to look for. There doesn't seem to be any error messages at the server side.
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby patters » Sun Jun 13, 2010 10:47 pm

Ok, here's my effort. Since this player doesn't announce its model number I guess the DLNA client will be the same for all the BDP-Sx70 series. However, we want to be more specific in matching than just the string "UPnP/1.0 DLNADOC/1.50" which other devices may use.

I also went through the specs and built an appropriate mediainfo=true config:
Code: Select all
# ps3mediaserver renderer profile for Sony Bluray Disc Players (2010 Bravia Internet Video-enabled models)
# Refer to PS3.conf for help
RendererName=Sony Bluray BDP-Sx70
RendererIcon=sony_bdp.png
UserAgentSearch=UPnP/1.0 DLNADOC/1.50
UserAgentAdditionalHeader=X-AV-Client-Info
UserAgentAdditionalHeaderSearch=(cn="Sony Corporation"; mn="Blu-ray Disc Player")
Video=true
Audio=true
Image=true
SeekByTime=true
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=true
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
H264Level41Limited=true
#MimeTypesChanges=audio/wav=audio/L16|video/mp4=video/mpeg
DLNALocalizationRequired=true
#TranscodeExtensions=dvr-ms,dvr,mkv,dv,ty,mov,ogm,hdmov,hdm,rmv,rmvb,rm,asf,evo,asx,flv,m2v,mpe,mod,tivo,ty,tmf,ts,tp,m2p,m4v,wmv,wm,flac,mlp,fla,wma,m4a,aac,dts,mka,ape,ogg,shn,mpc,ra,mp2,wv,oma,aa3,gif,png,arw,cr2,crw,dng,raf,mrw,nef,pef,tif,tiff
#StreamExtensions=mp3,mp4,avi,mpeg


#specs taken from http://www.sony.co.uk/product/blu-ray-disc-player/bdp-s370#pageType=TechnicalSpecs
MediaInfo=true
Supported = f:mpegps|mpegts    v:mpeg1|mpeg2|mp4|h264    a:ac3|lpcm|aac|mpa   m:video/mpeg
Supported = f:avi|divx   v:divx|mp4   a:ac3|lpcm|mpa|mp3   m:video/avi
Supported = f:mp4   v:mp4|h264   a:ac3|aac   m:video/mp4
Supported = f:mp3   n:2   m:audio/mpeg
Supported = f:aac   n:2   a:(?!alac).+   m:audio/x-m4a
Supported = f:wma   n:2   m:audio/x-ms-wma
Supported = f:wav   n:2   m:audio/L16
Supported = f:jpg   m:image/jpeg


The DivX files are listed correctly but won't play, and I notice that no thumbnails are displayed. I have tried various permutations of options but I have given up testing video for the time being and decided to concentrate on JPEG images since there are fewer variables. I have compared a working JPEG request on my Bravia 5500 with a failing request on the BDP-S370. It looks to my untrained eye that the client is only requesting 16bytes of the file. This also fits with this blog post of a guy who looked at what an LG bluray player's DLNA client was doing (http://demmer.ipax.at/blog/lg-bd390/):
I don’t know much about UPnP, but this process is rather ridiculous at times, eg in the following the player just requests the first 16 bytes, where it expects to find information about the media type... After that first few requests for media type and AVI index (which is at the end of the file btw) the player requests in packages of 256kb. With my sample file that results in around 20 HTTP GETs per second... The streaming plugin’s HTTP server ignores the Range parameter and answers with a HTTP 200 and begins streaming video unlimited. After about 5 seconds the player resets the TCP connection and shuts down.


With videos I see the same chunk request, then failure, although 1024 bytes are requested rather than 16. Here are the JPEG examples...

Working (Bravia 5500):
[New I/O server worker #1-1] INFO 22:11:37.166 HTTP: get/0$3$0$1$19/thumbnail0000Message+from+Myxi / 0-0
[New I/O server worker #1-1] DEBUG 22:11:37.166 Searching for objectId: 0$3$0$1$19 with children option: false
[New I/O server worker #1-1] DEBUG 22:11:37.167 Available Content-Length: 25115
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: Connection: keep-alive
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: Content-Length: 25115
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: Content-Type: image/jpeg
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: Expires: Thu, 07 Oct 2010 14:58:17 GMT
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: Server: Windows_Vista-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-1] DEBUG 22:11:37.170 Sent to socket: TransferMode.DLNA.ORG: Interactive
[New I/O server worker #1-2] DEBUG 22:11:37.927 Opened handler on socket /192.168.1.64:62308 // Sony Bravia 5500 Series
[New I/O server worker #1-2] DEBUG 22:11:37.927 Handler infos: HTTP/1.1 : GET : get/0$3$0$1$19/Message+from+Myxi
[New I/O server worker #1-2] DEBUG 22:11:37.927 Received on socket: getcontentFeatures.dlna.org: 1
[New I/O server worker #1-2] DEBUG 22:11:37.927 Received on socket: Host: 192.168.1.69:5001
[New I/O server worker #1-2] DEBUG 22:11:37.927 Received on socket: Pragma: getIfoFileURI.dlna.org
[New I/O server worker #1-2] DEBUG 22:11:37.927 Received on socket: transferMode.dlna.org: Interactive
[New I/O server worker #1-2] INFO 22:11:37.927 HTTP: get/0$3$0$1$19/Message+from+Myxi / 0-0
[New I/O server worker #1-2] DEBUG 22:11:37.927 Searching for objectId: 0$3$0$1$19 with children option: false
[New I/O server worker #1-2] DEBUG 22:11:37.927 Asked stream chunk [0-0] timeseek: 0.0 of Message from Myxi and player null
[New I/O server worker #1-2] DEBUG 22:11:37.932 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-2] DEBUG 22:11:37.933 Sent to socket: Connection: keep-alive
[New I/O server worker #1-2] DEBUG 22:11:37.933 Sent to socket: Content-Length: 2705306
[New I/O server worker #1-2] DEBUG 22:11:37.933 Sent to socket: Content-Type: image/jpeg
[New I/O server worker #1-2] DEBUG 22:11:37.933 Sent to socket: ContentFeatures.DLNA.ORG: DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
[New I/O server worker #1-2] DEBUG 22:11:37.933 Sent to socket: Server: Windows_Vista-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-2] DEBUG 22:11:37.933 Sent to socket: TransferMode.DLNA.ORG: Interactive


Failed (BDP-S370):
[New I/O server worker #1-2] DEBUG 22:16:30.043 Opened handler on socket /192.168.1.68:55581 // Sony Bluray BDP-Sx70
[New I/O server worker #1-2] DEBUG 22:16:30.043 Handler infos: HTTP/1.1 : HEAD : get/0$3$0$1$19/Message+from+Myxi
[New I/O server worker #1-2] DEBUG 22:16:30.043 Received on socket: Accept: */*
[New I/O server worker #1-2] DEBUG 22:16:30.043 Received on socket: getcontentFeatures.dlna.org: 1
[New I/O server worker #1-2] DEBUG 22:16:30.043 Received on socket: Host: 192.168.1.69:5001
[New I/O server worker #1-2] DEBUG 22:16:30.043 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"
[New I/O server worker #1-2] DEBUG 22:16:30.043 Received on socket: X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player"
[New I/O server worker #1-2] INFO 22:16:30.043 HTTP: get/0$3$0$1$19/Message+from+Myxi / 0-0
[New I/O server worker #1-2] DEBUG 22:16:30.044 Searching for objectId: 0$3$0$1$19 with children option: false
[New I/O server worker #1-2] DEBUG 22:16:30.044 Asked stream chunk [0-0] timeseek: 0.0 of Message from Myxi and player null
[New I/O server worker #1-2] DEBUG 22:16:30.045 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-2] DEBUG 22:16:30.045 Sent to socket: Connection: keep-alive
[New I/O server worker #1-2] DEBUG 22:16:30.045 Sent to socket: Content-Length: 2705306
[New I/O server worker #1-2] DEBUG 22:16:30.045 Sent to socket: Content-Type: image/jpeg
[New I/O server worker #1-2] DEBUG 22:16:30.045 Sent to socket: ContentFeatures.DLNA.ORG: DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
[New I/O server worker #1-2] DEBUG 22:16:30.045 Sent to socket: Server: Windows_Vista-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-1] DEBUG 22:16:30.053 Opened handler on socket /192.168.1.68:55582 // Sony Bluray BDP-Sx70
[New I/O server worker #1-1] DEBUG 22:16:30.053 Handler infos: HTTP/1.1 : GET : get/0$3$0$1$19/Message+from+Myxi
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: Accept: */*
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: getcontentFeatures.dlna.org: 1
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: Host: 192.168.1.69:5001
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: Range: bytes=0-15
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: transferMode.dlna.org: Interactive
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"
[New I/O server worker #1-1] DEBUG 22:16:30.053 Received on socket: X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player"
[New I/O server worker #1-1] INFO 22:16:30.053 HTTP: get/0$3$0$1$19/Message+from+Myxi / 0-15
[New I/O server worker #1-1] DEBUG 22:16:30.053 Searching for objectId: 0$3$0$1$19 with children option: false
[New I/O server worker #1-1] DEBUG 22:16:30.053 Asked stream chunk [0-15] timeseek: 0.0 of Message from Myxi and player null
[New I/O server worker #1-1] INFO 22:16:30.060 Calling SetThreadExecutionState ES_CONTINUOUS
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: Connection: keep-alive
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: Content-Length: 2705306
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: Content-Range: bytes 0-15/2705306
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: Content-Type: image/jpeg
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: ContentFeatures.DLNA.ORG: DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: Server: Windows_Vista-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-1] DEBUG 22:16:30.060 Sent to socket: TransferMode.DLNA.ORG: Interactive


So, is the problem perhaps that PS3 Media Server is not expecting the DLNA client to request a small chunk in this way? I have read that Wild Media Server has a setting called "Chunked Transfer Mode" (http://www.wildmediaserver.com/forum/vi ... 29&start=0). Perhaps this is mandatory for Sony BDP players.

However, this thread states that the chunk size must be set to zero to be compliant with DLNA:
https://forums.codegear.com/thread.jspa ... 9&tstart=0
The industry association DLNA.ORG has defined a streaming mechanism over HTTP in which no Content-Length header is provided. (Indeed a Content-Length header must not be provided). The mechanism is similar to the Chunked transfer mode, (except that the data is just sent as a stream of data without any intervening end-of-chunk markers). And when the full music file has been streamed, the server closes the connection.


I have attached a Wireshark capture so that someone who doesn't have one of these bluray players might be able to fix the problem (removed. PM me if you need it).


Incidentally, my own Bravia 5500 config is also using the mediainfo settings, as follows:
MediaInfo=true
Supported = f:mpegps|mpegts v:mpeg2|mp4|h264 a:ac3|lpcm|aac|mpa m:video/mpeg
Supported = f:mp3 m:audio/mpeg
Supported = f:wav m:audio/L16
Supported = f:jpg m:image/jpeg


I also made a device icon with transparency for inclusion in pms.jar:
sony_bdp.png
Sony BDP device icon
sony_bdp.png (6.11 KiB) Viewed 7491 times
Last edited by patters on Sat Aug 21, 2010 12:38 am, edited 3 times in total.
patters
 
Posts: 97
Joined: Sun Apr 11, 2010 12:06 pm

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby grolschie » Mon Jun 14, 2010 3:29 am

Hi patters. Thanks alot for your work on this. :)

EDIT: Suggestion. Perhaps this thread's title could be modified to include the BDP-S470 and BDP-S570 models also? Just a thought.
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby gseroul » Mon Jun 14, 2010 10:37 am

Hi Guys,
I have the same problem with a Sony Home-cinema BDV-F500. Maybe the thread's title could be new Sony DLNA hardware (or something like that). If someone is interestes in having wireshark capture between PS3MS and my BDV-F500 let me know and I will post some (just precise what media should I try and which PS3MS version should I used). I also can do same capture using WMP11 which is working as DLAN server (image/music and video).
gseroul
 
Posts: 8
Joined: Thu Jun 03, 2010 9:25 am

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby Ralph » Thu Jul 08, 2010 3:53 pm

Hi
I have this player but only one Pc in my network "see" the brd s370 whit wmp11, I don´t Know why. wmp11 only play photo or music, with videos the player can´t recognize them.

With ps3ms all the PC recognize a new device an I can see all the folthers in BDp s370 but nothin can be played. I create a conf like patters son in new device recognize de bdp 370 but is the same story nothing can be played.

I don´t know how to create thumbnails or where put pms.jar to see

Here are some HTTP captures which may be useful in figuring out why the BDP-370 isn't showing thumbnails (it does request them):

HTTP captures during thumbnail requests.zip
thumbnails HTTP captures
(2.03 KiB) Downloaded 26 times


I also made a device icon with transparency for inclusion in pms.jar:

Sony BDP device icon


Where put this settings?? Thanks
Ralph
 
Posts: 7
Joined: Thu Jul 08, 2010 3:29 pm

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby Ralph » Thu Jul 08, 2010 7:13 pm

well I do it. I rename de .jar by a .zip so I can open and add the image of bdp 370. PS3MS recognize and the image appeared in my PC.

We need sameone who can help us how to see pictures and videos because it always says corrupted file or something like that
Ralph
 
Posts: 7
Joined: Thu Jul 08, 2010 3:29 pm

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby whistleon » Fri Jul 09, 2010 3:42 pm

version M03.R.623 just come out... anyone already upgrade
whistleon
 
Posts: 2
Joined: Thu Jun 17, 2010 12:04 pm

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby WorldOfHurt » Fri Jul 09, 2010 3:50 pm

About this upgrade (07/07/2010) :
This utility upgrades the BDP-S370 / BDP-S373 firmware to version M03.R.623, and provides the following benefits:
* HDMI connectivity improvement


Nothing to see here ;)
User avatar
WorldOfHurt
 
Posts: 252
Joined: Thu Mar 19, 2009 10:49 pm
Location: Winchester, UK

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby patters » Sat Jul 10, 2010 1:18 am

One of the devs will need to look at my packet captures and investigate this chunk transfer mode. These are popular players, so hopefully that should happen soon. Until then I don't think there's anything that can be done.
patters
 
Posts: 97
Joined: Sun Apr 11, 2010 12:06 pm

Re: Sony BDP-S370 (DLNA-compatible with new firmware M03.R.5

Postby WorldOfHurt » Sun Jul 11, 2010 10:00 pm

I've been having a play with the code, still nothing useful.

I tried sorting out the response size so that it matched the request, but that didn't fix anything.

Next I'm going to try some more in-depth tracing with wireshark, see if I can work out whats wrong with the reponse coming out of PMS.

I haven't got WMP, so I can't compare that. Has anyone got a wireshark filter of a successful DLNA rendering?
User avatar
WorldOfHurt
 
Posts: 252
Joined: Thu Mar 19, 2009 10:49 pm
Location: Winchester, UK

PreviousNext

Return to Alternative Media Renderers

Who is online

Users browsing this forum: No registered users and 6 guests