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

Discuss alternative media renderers (not PS3) supported by PS3 Media Server (like Xbox 360 and TVs)

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

Postby ExSport » Mon Apr 25, 2011 5:22 pm

Code: Select all
[New I/O server worker #1-7] DEBUG 15:21:01.125 Finished sleeping for 6000 milliseconds
[New I/O server worker #1-7] TRACE 15:21:01.125 java.lang.NullPointerException: value
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.http.HttpCodecUtil.validateHeaderValue(HttpCodecUtil.java:102)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.http.HttpHeaders.setHeader(HttpHeaders.java:862)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.http.DefaultHttpMessage.setHeader(DefaultHttpMessage.java:53)
[New I/O server worker #1-7] TRACE 15:21:01.125    at net.pms.network.RequestV2.answer(RequestV2.java:199)
[New I/O server worker #1-7] TRACE 15:21:01.125    at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:206)
[New I/O server worker #1-7] TRACE 15:21:01.125    at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:179)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:523)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:507)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:444)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:350)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:281)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:201)
[New I/O server worker #1-7] TRACE 15:21:01.125    at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
[New I/O server worker #1-7] TRACE 15:21:01.125    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[New I/O server worker #1-7] TRACE 15:21:01.125    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[New I/O server worker #1-7] TRACE 15:21:01.125    at java.lang.Thread.run(Unknown Source)
[New I/O server worker #1-8] DEBUG 15:21:01.141 Opened request handler on socket /192.168.1.101:40885 // Sony Bluray BDP

Your renderer.conf includes MediaInfo=true but all needed codecs support definition is missing there(I suppose your error is generated due to bad config file)
Check PS3.conf for more info.
In short...when MediaInfo=true you need to define codecs and container support which is missing now.
Code: Select all
MimeTypesChanges=audio/wav=audio/mpeg|audio/mp3=audio/mpeg|video/x-matroska=video/avi|video/mpeg=video/avi|video/mp4=video/avi|video/x-ms-wmv=video/avi|video/wmv=video/avi

This line is used only in case MediaInfo=false
Check PS3.conf where you will find comments how to create conf files with MediaInfo=true
ExSport
 
Posts: 2097
Joined: Mon Jan 19, 2009 5:40 pm

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

Postby jazz » Mon Apr 25, 2011 8:30 pm

Thanks for your patience with this!

After to reading the details on the Sony website on supported formats and looking at the instructions in the ps3.conf file I put the below in... however still I get the error

#MimeTypesChanges=audio/wav=audio/mpeg|audio/mp3=audio/mpeg|video/x-matroska=video/avi|video/mpeg=video/avi|video/mp4=video/avi|video/x-ms-wmv=video/avi|video/wmv=video/avi

TranscodeExtensions=
#StreamExtensions=
StreamExtensions=mp3,avi,divx,mpeg,jpg,mpg

MediaInfo=true

#Video
#MPEG-1 Video/PS: .mpg, .mpeg, .m2ts, .mts
#MPEG-2 Video/PS, TS: .mpg, .mpeg, .m2ts, .mts
#MPEG-4 AVC: .mkv, .mp4, .m4v, .m2ts, .mts
#WMV9: .wmv, .asf
#Xvid: .avi

#Audio:
#MP3: .mp3
#AAC: .m4a
#WMA9: .wma
#LPCM: .wav

#Images:
#GIF: .gif
#JPEG: .jpg, .jpeg
#PNG: .png

# gives:

# [Supported video formats]:
Supported = f:mpegps|mpegts v:mpeg1|mpeg2|mp4 a:lpcm|aac m:video/mpeg
Supported = f:avi|divx v:mp4|divx a:mp3|lpcm m:video/x-divx qpel:no gmc:0
Supported = f:mp4 v:mp4 a:aac m:video/mp4
Supported = f:wmv v:wmv a:wma n:2 m:video/x-ms-wmv

# [Supported audio formats]:
Supported = f:wav a:lpcm n:6 s:48000 m:audio/wav
Supported = f:wav n:2 s:48000 m:audio/wav
Supported = f:mp3 n:2 m:audio/mpeg

# Apple lossless not supported
Supported = f:aac n:2 a:(?!alac).+ m:audio/x-m4a
Supported = f:wma n:2 m:audio/x-ms-wma
jazz
 
Posts: 29
Joined: Sat Feb 21, 2009 10:54 pm

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

Postby grolschie » Mon Apr 25, 2011 8:45 pm

There seem to be some null pointer exceptions shown in the log. I can't help with that, sorry.

Just FYI the certificate for the BDP-S480 is here:
http://certification.dlna.org/certs/REG11671877.pdf
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

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

Postby jazz » Mon Apr 25, 2011 8:58 pm

Many thanks for the certificate.

when you write null pointer issue does that then mean that the patches mentioned in this thread aren't valid for the s480 ?

I can get it to stream from Mezzmo and Wild Media Server; so it's possible - but the PMS has advantages like subtitle selection etc.

what would be a way forward ? maybe to raise a request for support in the Sub Junk thread or something ?
jazz
 
Posts: 29
Joined: Sat Feb 21, 2009 10:54 pm

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

Postby grolschie » Mon Apr 25, 2011 9:19 pm

(Edited) No problem. Like ExSport said, you will need to take a look at renderers\PS3.conf and edit your BDP.conf. Maybe ExSport can help you more - I don't use the MediaInfo=true option on my config.

Looking at that certificate, the patch on my signature might work for you if you don't manage to solve it. But that requires manually patching and compiling the code.
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

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

Postby ExSport » Mon Apr 25, 2011 9:32 pm

I don't have my notebook right now so I can't check the code but I can say I never saw error like this one.
I don't think it is problem of this build, it seems something is missing on your computer, some .DLL or incomplete configuration file, don't know now.
Also I never saw error like this due to "broken" video so I suppose it is not due to video file format.
Please try another mkv and avi files and post full debug log again so it will be easier find your problem, why you have null point error.
ExSport
 
Posts: 2097
Joined: Mon Jan 19, 2009 5:40 pm

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

Postby ExSport » Mon Apr 25, 2011 9:57 pm

Code: Select all
UserAgentSearch=UPnP/1.0 DLNADOC/1.50
UserAgentAdditionalHeader=X-AV-Client-Info
UserAgentAdditionalHeaderSearch=(av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0")

I am not sure if many ===== can lead to null point exception so try to delete these 3 lines and add only this one:
Code: Select all
UserAgentSearch=UPnP/1.0

Restart PMS, try playing some files, check debug.log if null point exception was generated again.
If yes, change MediaInfo=true to MediaInfo=false and test again.
It seems to me you have wrongly defined renderer.conf file. This null point exception should be problem with mediaRenderer = bdp.conf
ExSport
 
Posts: 2097
Joined: Mon Jan 19, 2009 5:40 pm

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

Postby jazz » Mon Apr 25, 2011 10:05 pm

ok will do and revert back
jazz
 
Posts: 29
Joined: Sat Feb 21, 2009 10:54 pm

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

Postby jazz » Mon Apr 25, 2011 11:37 pm

Following your suggestion I accidently removed all UserAgent lines - and didn't have anything in the conf file mentioning the UserAgent..

The BDP then displayed the file as a "mkv" file and were able to play it! The "Renderer" is displayed in the server as Unknown - so I don't really know if the conf file is then even being used.. I guess not.
edit: just tested that piece by removing all renderer conf files and saw the same result.. ergo the conf file UserAgent does something bad for the server.. just like you said ExSport :)

When I tried to jump to transcoding the file didn't play back.

Also any combination of the agent string give as non-functioning result..
jazz
 
Posts: 29
Joined: Sat Feb 21, 2009 10:54 pm

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

Postby ExSport » Tue Apr 26, 2011 4:19 pm

Renderer unknown is because you deleted everything from BDP.conf ;)
Please find already posted BDP.conf here in the forum(I know it was another type but as the start it is ok)
Remove all lines below(if exists)
Code: Select all
UserAgentSearch=??????????
UserAgentAdditionalHeader=??????????
UserAgentAdditionalHeaderSearch=?????????
and add this one
Code: Select all
UserAgentSearch=UPnP/1.0

Don't touch other lines ;)
Check if it works.
If not, experiment with adding this lines:
Code: Select all
AnalyzeAllBeforeFolderShown = true
MediaInfo = true / false

But be sure when you will use MediaInfo=true, you will need to add codecs/video format support like stated in PS3.conf file, something like:
Code: Select all
# [Supported video formats]:
Supported = f:mpegps|mpegts v:mpeg1|mpeg2|mp4 a:lpcm|aac   m:video/mpeg
Supported = f:avi|divx v:mp4|divx   a:mp3|lpcm   m:video/x-divx   qpel:no   gmc:0
Supported = f:mp4 v:mp4   a:aac   m:video/mp4
Supported = f:wmv v:wmv   a:wma   n:2   m:video/x-ms-wmv

# [Supported audio formats]:
Supported = f:wav   a:lpcm   n:6   s:48000   m:audio/wav
Supported = f:wav   n:2   s:48000   m:audio/wav
Supported = f:mp3   n:2   m:audio/mpeg

# Apple lossless not supported
Supported = f:aac   n:2   a:(?!alac).+   m:audio/x-m4a
Supported = f:wma   n:2   m:audio/x-ms-wma

Post results of your tests ;)
ExSport
 
Posts: 2097
Joined: Mon Jan 19, 2009 5:40 pm

PreviousNext

Return to Alternative Media Renderers

Who is online

Users browsing this forum: No registered users and 2 guests