Thanks again. To confirm this is a later PS3 slim will all software updates installed.
I'm going to be as clear as I can with this feedback as this could get complicated...
DenyAll wrote:Confirming my understanding, if you use the standard PS3 profile
with the two lines removed the results you get are:
- File 1: (from OP) AVC L4.1, DTS 5.1 - appears to be transcoded, resulting in high CPE, stuttering - FAIL -
- File 2: AVC L5.1, AC3 2 channel - appears to be remuxed, 50% CPU, no stuttering - PASS
- File 3: AVC L4.1, AC3 5.1 - appears to be remuxed, no stuttering - PASS. This is the case with or without the lines in profiles.xml
Correct, although in reference to File 1, to reiterate, this will only play with the modified 'Custom PS3' (below) profile where everything is transcoded. Turning off the two lines in the default PS3 profile made no difference.
- Code:
<Profile id="PS3custom" name="Playstation 3 * " extendsProfileId="4">
<Transcoding>
<!-- all other unplayable files just transcode to mpeg2 -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="matroska" vCodec="h264" />
</Video>
</Transcoding>
</Profile>
DenyAll wrote:Some conclusions:
- In (1) above I suspect this file is only getting its audio transcoded, not its video (at least according to profiles.xml this is what should happen). If you want, enable detailed logging to see exactly what Serviio is doing to this file.
- From (2) above it appears that the lines are not necessary. The PS3 (or at least, your PS3 - is it a later model one eg. the slimline?) seems to support L5.1 profiles. I would probably comment these lines out - general rule is if you don't need to transcode (especially video), then don't.
- File 3 worked even with the 2 lines included in the profile. Here I may need to check my understanding: @zip - does levelGreaterThan="4.1" mean greater than or equal to 4.1, which was my understanding, or does it mean greater than 4.1 ie 4.2 and above (as it reads
). If the latter, then this explains why it works with these lines included ie. they don't come into play for this 4.1 file.
That leaves the pesky first file. Two things come to mind: either DTS --> AC3 transcoding is processor intensive (anyone?) and your PC is struggling to convert the audio; or the other thing I notice is that this file has a 8Mbit/s data rate (6.5 video and 1.5 DTS) compared to 4.3Mbits for the other two files - your PC could simply be failing to keep up with that data rate.
Point 1 - I'm not sure I quite agree with this. The only way File 1 will play
at all is with the custom PS3 profile. According to the PS3's display, it an MPEG video stream (i.e. transcoded AVC) and DD 5.1 (transcoded DTS 5.1)
Point 2 - If I change
levelGreaterThan="4.1" to
levelGreaterThan="5.1" Serviio streams File 2 as AVC (the same effect as turning the lines off). If I change the value back to 4.1, it transcodes the video to MPEG and stutters after 20-30 secs. Audio track is DD 2.0 either way. I think helps with the greater or equal to question you posed to zip.
Point 3 - Agreed. With the standard, un-edited PS3 profile File 3 streams as AVC. It's only transcoded if I use the custom PS3 profile.
DenyAll wrote:Also, on the Transcoding tab in Serviio Console, does the "Downmix to Stereo" option have any effect for these failing files?
Downmixing to stereo has no effect on the files that won't play. Interestingly, if I play File 3 with downmixing enabled, the PS3 is still reporting a DD 5.1 audio track?
DenyAll wrote:Lastly: "although the PS3 is reporting this as Dolby Digital, not DTS as per MediaInfo.". AFAIK the PS3 doesn't support DTS. Serviio transcodes this to AC3 in all cases (ie. with or without the two lines - there is a reference later in the profile.xml that ensures audio is transcoded).
My PS3 does have a DTS logo on the front and I'm certain that it outputs DTS to my A/V receiver (DTS logo appears) when playing a Bluray.
DenyAll wrote:Do you have other files that fail (when the two lines are removed)? If so, is the common factor DTS audio? If not, is the common factor high bit rate (above 4.5Mbps)?
I genuinely thought you might be on to something with the DTS 5.1 audio track, as I have another file that is similar to File 1 (another BD rip but completely different TV show - details below 'A.mkv'). However, the second set of details (B.mkv) is for another file that the PS3 also won't play unless I transcode with the custom profile. Whilst this is 5.1, it's AC3... The plot thickens.
- Code:
General
Complete name : Y:\A.mkv
Format : Matroska
Format version : Version 2
File size : 2.19 GiB
Duration : 52mn 41s
Overall bit rate : 5 938 Kbps
Writing application : mkvmerge v4.1.1 ('Bouncin' Back') built on Jul 3 2010 22:54:08
Writing library : libebml v1.0.0 + libmatroska v1.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 52mn 41s
Bit rate : 4 420 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.200
Stream size : 1.59 GiB (73%)
Writing library : x264 core 129 r2230 1cffe9f
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=4420 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 52mn 41s
Bit rate mode : Constant
Bit rate : 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 569 MiB (25%)
Language : English
Default : Yes
Forced : No
Text #1
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Forced
Language : English
Default : Yes
Forced : No
Text #2
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
Menu
00:00:00.000 : en:00:00:00.000
00:01:54.531 : en:00:01:54.531
00:10:16.241 : en:00:10:16.241
00:18:15.511 : en:00:18:15.511
00:24:27.299 : en:00:24:27.299
00:31:39.773 : en:00:31:39.773
00:41:03.753 : en:00:41:03.753
00:51:21.704 : en:00:51:21.704
- Code:
General
Unique ID : 240193886292885001910060701484066722721 (0xB4B3A8E91CE8E4C1B081A94A343AD3A1)
Complete name : Y:\B.mkv
Format : Matroska
Format version : Version 2
File size : 500 MiB
Duration : 26mn 5s
Overall bit rate : 2 680 Kbps
Encoded date : UTC 2011-09-08 08:22:29
Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
Writing library : libebml v1.2.1 + libmatroska v1.1.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 26mn 5s
Bit rate : 2 293 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.104
Stream size : 419 MiB (84%)
Writing library : x264 core 116 r2044 392e762
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2293 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=20000 / vbv_bufsize=15000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 26mn 5s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 71.7 MiB (14%)
Language : English
Default : Yes
Forced : Yes
Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
Menu
00:00:00.000 : en:00:00:00.000
00:01:20.289 : en:00:01:20.289
00:10:06.064 : en:00:10:06.064
00:19:05.895 : en:00:19:05.895
00:24:55.577 : en:00:24:55.577
With File 1 (presumably File A above as well) is there a way of telling Serviio to keep the AVC video but transcode the DTS to AC3? Perhaps altering the custom PS3 profile so that is transcodes audio and leaves the video alone? I don't understand the code enough yet to have a go at this myself.