Some MKV's playing too fast on Sony BDP-S390 Bluray

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Some MKV's playing too fast on Sony BDP-S390 Bluray

Postby joha » Sun Jan 05, 2014 8:06 am

I've set up a HP microserver and started ripping DVDs using MakeMKV. Of the four movies I've done so far, all work fine with PMS streaming to my iPad running AirPlayer. They also work fine watched locally using VLC Media Player. However, when I stream to my Sony BDP-S390 Blu-ray player, two are OK and two have video running too fast. Timing the same scene between my iPad and Blu-ray shows a difference of 10-11 seconds per minute.

I verified I'm running the latest versions of JAVA and PMS, read every thread on the subject twice, and spent about 6 hours troubleshooting this, with no success. What really boggles my mind is that two of the DVDs are halves of the same movie, but one works and the other doesn't.

I have an IT background, but I'm hopelessly lost when it comes to this audio and video stuff. Any suggestions or guidance would be appreciated.

I'm pretty sure my .conf files are back to default. This is what I have right now.

PMS.conf:

generate_thumbnails = true
image_thumbnails = true
alternativeffmpegpath = C:\\Program Files (x86)\\PS3 Media Server\\win32\\dvrms\\ffmpeg_MPGMUX.exe
mencoder_ass = true
mencoder_fontconfig = true
mencoder_ass_defaultstyle = true
uuid = b236c723-2eec-49ae-b4db-bc17c695641e
folders = D:\\Videos,D:\\Music
name = HP Media Server
hide_transcode_folder = false
disable_transcode_for_extensions =
mencoder_no_out_of_sync = true
mencoder_codec_specific_script =
maximum_bitrate = 110


SonyBluray.conf

#----------------------------------------------------------------------------
# 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-d ... nicalSpecs
# 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

######### ALL MODELS:

# 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

# 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
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
joha
 
Posts: 3
Joined: Sun Jan 05, 2014 7:14 am

Re: Some MKV's playing too fast on Sony BDP-S390 Bluray

Postby joha » Sun Jan 05, 2014 8:57 am

I'm getting this debug error when streaming all movies to the Blu-ray player, but not to the iPad:

DEBUG 2014-01-05 02:43:34.990 [Thread-96] [mpeg2video @ 0113f220]rc buffer underflow
joha
 
Posts: 3
Joined: Sun Jan 05, 2014 7:14 am

Re: Some MKV's playing too fast on Sony BDP-S390 Bluray

Postby joha » Mon Jan 06, 2014 6:30 am

I'm getting closer to a solution. Looking at the debug log, I saw:

DEBUG 2014-01-06 00:13:00.943 [Thread-25] Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
DEBUG 2014-01-06 00:13:00.943 [Thread-25] Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)

In the FFmpeg transcoding settings, there are only two options, so I unchecked "Remux videos when possible instead of transcoding." Now the video is running at the correct speed, but it looks like crap.

I guess the question is what's happening when that's checked to cause some videos to run at increased speeds?
joha
 
Posts: 3
Joined: Sun Jan 05, 2014 7:14 am


Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 11 guests