Sony BDP-S390

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

Sony BDP-S390

Postby vicviper » Sun Mar 17, 2013 7:17 pm

Hey Guys,

I have been using PMS for quite with my PS3 and, because it's made to work so well with that particular system , it's been simple to use from the start.

I have just recently added a Sony BDP-S390 to my network, and am now trying to get the software to play nice with this player. The default configuration file that comes with the install (SonyBluRay.conf) does not allow native playback of mkv files. I found another post in this forum from the user Axess_Denied with this exact model. He claimed to have a complete working .conf file for this player and was nice enough to share it.

While his conf file certainly allowed me to play mkv files and MP4 files with no encoding, Istill had to tweak it slightly. Unfortunately, there are still a couple things that I have not solved.

One being playback of divx avi files. I know this player doesn't support them, so I have to use transcoding to view them. While MEncoder and FFmpeg are able to create a compatible stream to the player, the file jumps forward several minutes at around 40 seconds into playback, and then continues to playback smoothly. This annoying jumping continues as the playback goes on, at around the same repeating interval. This behavior happens with both Mencoder and FFmpeg. Tsmuxer and Avi Synth are not able to transcode Divx for me (at least with the settings I currently have). TsMuxer gives me "file unsupported" error and AviSynth locks the player up.

The other problem I cannot solve is that whenever I transcode with Mencoder, the video playsback too fast and the audio is badly delayed by severeal seconds. Playback is smooth though.
This is a real problem when I am trying to watch DVD iso files, as Mencoder is the only choice I am given on the player when accessing isos. I tried playing with a couple settings in the gui (AV sync alternative method, and force framerate parsed from FFmpeg) but still the same problem.

Here are the settings in the SonyBluRay.conf file that are *mostly* working for me at this point.

Supported = f:mpegps|mpegts v:mpeg1|mpeg2 a:ac3|dts|lpcm|mpa|mp3 m:video/mpeg
Supported = f:mpegts v:h264|vc1 a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3 m:video/vnd.dlna.mpeg-tts
Supported = f:avi|divx v:divx|mp4 a:ac3|lpcm|mpa|mp3 m:video/x-divx
Supported = f:avi v:mp4|xvid a:ac3|lpcm|mpa|mp3 m:video/avi
Supported = f:divx v:divx a:ac3|lpcm|mpa|mp3 m:video/mpeg
Supported = f:wmv v:wmv|vc1 a:wma m:video/mp4
Supported = f:mp4|m4v v:mp4|h264 a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3 m:video/mp4
Supported = f:mkv v:mp4|divx|h264 a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3 m:video/x-matroska

If I understood what all of these things meant I might have a better chance at finding a solution. Is there a FAQ that breaks this part down for new users who want to learn? Specifically I want to know how the settings here relate to the different encoding engines, and how they affect the choices that appear for transcoding on the rendering device.....

Finally, if I am able to get everything working perfectly, wouldn't it be a good idea for your users to be able to upload and share their fully working configuration files? I imagine it would save people a lot of time in getting PMS to work properly with their specific devices.

Any help is greatly appreciated!
vicviper
 
Posts: 1
Joined: Sun Mar 17, 2013 3:30 pm

Re: Sony BDP-S390

Postby Raptor399 » Sat Mar 23, 2013 11:37 am

vicviper wrote:Is there a FAQ that breaks this part down for new users who want to learn? Specifically I want to know how the settings here relate to the different encoding engines, and how they affect the choices that appear for transcoding on the rendering device.....


There is a list of supported formats and what the flags mean. How the "supported" lines work is documented in PS3.conf.
I have not yet seen a FAQ that explains it in more detail.

If you want to dive into the code, check out FormatConfiguration.match().
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Sony BDP-S390

Postby SeaFox » Sat Mar 30, 2013 3:06 am

vicviper wrote:One being playback of divx avi files. I know this player doesn't support them, so I have to use transcoding to view them. While MEncoder and FFmpeg are able to create a compatible stream to the player, the file jumps forward several minutes at around 40 seconds into playback, and then continues to playback smoothly. This annoying jumping continues as the playback goes on, at around the same repeating interval.

I don't think this is something really tied to using a specific Sony bluray player or even divx files, I seem to remember reading a thread about this happening with MKV's too. Have you tried lowering the transcode buffer size? I had skipping issues until I reduced it to 400 MB.

vicviper wrote:Here are the settings in the SonyBluRay.conf file that are *mostly* working for me at this point.

Supported = f:mpegps|mpegts v:mpeg1|mpeg2 a:ac3|dts|lpcm|mpa|mp3 m:video/mpeg
Supported = f:mpegts v:h264|vc1 a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3 m:video/vnd.dlna.mpeg-tts
Supported = f:avi|divx v:divx|mp4 a:ac3|lpcm|mpa|mp3 m:video/x-divx
Supported = f:avi v:mp4|xvid a:ac3|lpcm|mpa|mp3 m:video/avi
Supported = f:divx v:divx a:ac3|lpcm|mpa|mp3 m:video/mpeg
Supported = f:wmv v:wmv|vc1 a:wma m:video/mp4
Supported = f:mp4|m4v v:mp4|h264 a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3 m:video/mp4
Supported = f:mkv v:mp4|divx|h264 a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3 m:video/x-matroska

There seems to be a lot of extra stuff on your list, some of it redundant. Here's what I have:

Code: Select all
Supported = f:mpegps|mpegts   v:mpeg1|mpeg2   a:ac3|dts|lpcm|mpa|mp3               m:video/mpeg
Supported = f:avi            v:divx|mp4      a:ac3|lpcm|mpa|mp3               m:video/x-divx
Supported = f:wmv            v:wmv|vc1       a:wma                         m:video/mp4
Supported = f:mp4|m4v         v:mp4|h264      a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mp4
Supported = f:mkv            v:mp4|divx|h264   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/x-matroska


As you just said, Divx video is not a supported format, so there's no reason to have a line that starts f:divx in your list. The list is for stuff that is supported. If your file is named .divx and does not contain divx video then it's just named wrong.

I don't think Axxess_Denied is using a U.S. model BDP-S390 btw, and models for different countries have slightly different file format support. Divx is actually supported in non-U.S. models. But keep in mind that divx/xvid/avi are used interchangeably by some people who aren't being technical. So sometimes XviD codec video is referred to as "DivX" even though the two are not quite the same. Both are forms of MPEG4-ASP, and AVI is nothing more than a container format. It is generally expected an AVI will contain XviD video, but many times they have DivX instead.

vicviper wrote:If I understood what all of these things meant I might have a better chance at finding a solution. Is there a FAQ that breaks this part down for new users who want to learn? Specifically I want to know how the settings here relate to the different encoding engines, and how they affect the choices that appear for transcoding on the rendering device.....


The first column is container formats, the second is video codecs that may be inside that container format, third group is audio codec used with that container format. Last column is how the rendering device (the blu-ray) play should interpret the media type is how I understand it.
The list is what the playback device supposedly can actually play back.
If the file you're trying to stream matches one of the above setups, the file is sent to the device where it is played as it is.
If the file in it's entirety is not supported the video is transcoded to MPEG2 and the audio is transcoded as AC3 and it gets sent in a MPEGTS stream.

What engine gets used is done by priority listing in PMS's settings (the list on he left on the Transcode Settings" tab).
Intel Core i7 920 - 6 GB RAM - Windows 8 Pro x64 | PS3MS v 1.82 | Sony BDP-S580, Sony BDP-S390
SeaFox
 
Posts: 39
Joined: Mon Oct 01, 2012 10:03 am

Re: Sony BDP-S390

Postby Raptor399 » Sat Mar 30, 2013 9:27 am

SeaFox wrote:The first column is container formats, the second is video codecs that may be inside that container format, third group is audio codec used with that container format. Last column is how the rendering device (the blu-ray) play should interpret the media type is how I understand it.
The list is what the playback device supposedly can actually play back.
If the file you're trying to stream matches one of the above setups, the file is sent to the device where it is played as it is.
If the file in it's entirety is not supported the video is transcoded to MPEG2 and the audio is transcoded as AC3 and it gets sent in a MPEGTS stream.

What engine gets used is done by priority listing in PMS's settings (the list on he left on the Transcode Settings" tab).

Correct.

In short: the "Supported" lines tell PMS which files your player supports, because then PMS should stream the file as is.
If, however, your player does not support a particular file, PMS will have to transcode it to a format that your player does support first.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Sony BDP-S390

Postby Ranger187 » Sun Mar 31, 2013 11:00 pm

I have the BDP-S590 and thanks to Seafox I got nearly a 90%+ working conf. Whatever doesn't stream by default can be forced by going into the /transcode folder and chosing another option.

See my post to see the edits needed. I changed 3 lines. I removed nothing and PMS required nothing to be edited on the application.

viewtopic.php?f=15&t=14862&start=60#p78150
Ranger187
 
Posts: 32
Joined: Thu Mar 03, 2011 7:11 am

Re: Sony BDP-S390

Postby Ranger187 » Sun Mar 31, 2013 11:04 pm

FINAL CONF FOR BDP-Sx90 (US models)

Code: Select all
#----------------------------------------------------------------------------
# Profile for Sony Blu-ray Players (2010 Bravia Internet Video-enabled models).
# See PS3.conf for a description of all possible configuration options.
#

RendererName=Sony Blu-ray
RendererIcon=sonybluray.png

# ============================================================================
# Sony Bluray uses the following headers:
#
# User-Agent: UPnP/1.0
# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0";
# X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player";
# ---
# User-Agent: UPnP/1.0 DLNADOC/1.50
# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0";
# X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player";
# ============================================================================
# The User-Agent strings are too generic to match
#UserAgentSearch=
UserAgentAdditionalHeader=X-AV-Client-Info
UserAgentAdditionalHeaderSearch=(cn="Sony Corporation"; mn="Blu-ray Disc Player")
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGTSAC3
TranscodeAudio=LPCM
DefaultVBVBufSize=true
MuxH264ToMpegTS=false
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
H264Level41Limited=true
#MimeTypesChanges=
DLNALocalizationRequired=true
#TranscodeExtensions=
#StreamExtensions=
MediaParserV2_ThumbnailGeneration=false

# For Sony Bluray players and Bravia TVs
ForceJPGThumbnails=true
# For Sony Bluray players
ChunkedTransfer=true

# Specs below taken from http://www.sony.co.uk/product/blu-ray-disc-player/bdp-s370#pageType=TechnicalSpecs
# then fine-tuned by lengthy trial and error since so much of that advertised spec is inaccurate.
# US models don't support video/divx mime type but European and Canadian models do.
# Subtitles in mkv files are only displayed if mime type is video/divx.
# Vob subtitles are not supported.
# See also http://forum.serviio.org/viewtopic.php?f=11&t=2004 for more DLNA-related info on these players.

MediaInfo=true
# Supported video formats:
Supported = f:mpegps|mpegts   v:mpeg1|mpeg2     a:ac3|dts|lpcm|mpa|mp3                    m:video/mpeg
Supported = f:mpegts          v:h264|vc1        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/vnd.dlna.mpeg-tts
Supported = f:mp4|m4v         v:mp4|h264        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mp4
Supported = f:wmv             v:wmv|vc1         a:wma                                     m:video/mp4
######### NON-US MODELS: CHANGE THE FOLLOWING 2 MIME-TYPES TO m:video/divx
Supported = f:avi        v:mp4        a:ac3|lpcm|mpa|mp3                        m:video/mp4
Supported = f:mkv             v:mp4|h264   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/x-matroska

# Supported audio formats:
Supported = f:wma    n:2   m:audio/mpeg
Supported = f:mp3    n:2   m:audio/mpeg
Supported = f:lpcm   n:2   m:audio/L16   s:48000

# Supported image formats:
Supported = f:jpg   m:image/jpeg



=========================================================
THESE ARE THE ONLY LINES CHANGED IN \Renders\SonyBluray.conf:
=========================================================

Change this line:
Code: Select all
Supported = f:avi|divx        v:divx|mp4        a:ac3|lpcm|mpa|mp3                        m:video/mpeg


To this:
Code: Select all
Supported = f:avi        v:mp4        a:ac3|lpcm|mpa|mp3                        m:video/mp4


Change this line:
Code: Select all
Supported = f:mp4|m4v         v:mp4|h264        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mpeg


To this:
Code: Select all
Supported = f:mp4|m4v         v:mp4|h264        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mp4


Change this line:
Code: Select all
Supported = f:mkv             v:mp4|divx|h264   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/x-matroska


To this:
Code: Select all
Supported = f:mkv             v:mp4|h264   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/x-matroska
Ranger187
 
Posts: 32
Joined: Thu Mar 03, 2011 7:11 am


Return to Alternative Media Renderers

Who is online

Users browsing this forum: Bing [Bot] and 6 guests