7.1 Channel Audio Bitstream Passthrough Support?

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Locked
Solipcyst
Posts: 1
Joined: Mon Mar 17, 2014 2:33 pm

7.1 Channel Audio Bitstream Passthrough Support?

Post by Solipcyst »

Sorry if this is covered already. I did try searching first.

Is the "Encoded audio passthrough for AC-3 and DTS" option supposed to support DTS-MA 7.1 and/or Dolby TrueHD 7.1? I've tried with just that option alone checked as well as that option along with LPCM checked and I can only get 5.1 channels. (The LPCM was just a hopeful last ditch effort. It's my understanding that transcoding to LPCM, at least for DTS-MA, would require some kind of proprietary decoder licensed by DTS or something.)

Here is the media info for the audio track of the file I'm streaming. My renderer is a Slim PS3 that I've verified set up correctly to play DTS-MA 7.1 with Blurays. I use it along with an Onkyo AVR. The AVR is very precise in reporting what type of input it is receiving.

Only 1 audio stream:

Code: Select all

General
ID                             : 1 (0x1)
Complete name                  : N:\Movies\Jurassic Parks\Jurassic Park (1993) [3DSBS].m2ts
Format                         : BDAV
Format/Info                    : Blu-ray Video
File size                      : 10.5 GiB
Duration                       : 2h 6mn
Overall bit rate mode          : Variable
Overall bit rate               : 11.9 Mbps
Maximum Overall bit rate       : 35.5 Mbps

Video
ID                             : 4113 (0x1011)
Menu ID                        : 1 (0x1)
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : [email protected]
Format settings, CABAC         : Yes
Format settings, ReFrames      : 4 frames
Codec ID                       : 27
Duration                       : 2h 6mn
Bit rate mode                  : Variable
Bit rate                       : 9 378 Kbps
Maximum bit rate               : 40.0 Mbps
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate                     : 23.976 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.189
Stream size                    : 8.30 GiB (79%)
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709

Audio
ID                             : 4352 (0x1100)
Menu ID                        : 1 (0x1)
Format                         : DTS
Format/Info                    : Digital Theater Systems
Format profile                 : HRA / Core
Mode                           : 16
Format settings, Endianness    : Big
Muxing mode                    : Stream extension
Codec ID                       : 133
Duration                       : 2h 6mn
Bit rate mode                  : Constant
Bit rate                       : 2 046 Kbps / 1 509 Kbps
Channel(s)                     : 8 channels / 6 channels
Channel positions              : Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 KHz
Bit depth                      : 24 bits
Compression mode               : Lossy
Stream size                    : 1.81 GiB (17%)
Language                       : English
And attached is my debug.log from when I tried playing the file above transcoding with FFmpeg and then MEncoder.

Result of FFmpeg: PS3 reported 5.1 Dolby Digital in the OSD. Yep, only 5.1 and Dolby Digital instead of DTS (!?!?!). AVR reported 5.1 PCM.
Result of MEncoder: PS3 reported 2 channel LPCM in the OSD. AVR reported 5.1 DTS (meaning DTS Core).

Thanks in advance for any interest in this.
Attachments
debug.log
Debug Log
(78.84 KiB) Downloaded 497 times
rnb5500
Posts: 17
Joined: Mon Nov 04, 2013 2:04 pm

Re: 7.1 Channel Audio Bitstream Passthrough Support?

Post by rnb5500 »

Support for 7.1 Ch DTSHD or TrueHD passthrough isn't there and likely won't be possible. Refer to this thread: viewtopic.php?f=14&t=1303&start=10

Basically its a limitation of the SPDIF standard being used to wrap the DTS or Dolby audio in 2 Ch LPCM. Its limited to 1.5Mbit, roughly the size of a 5.1 Ch DTS core stream.

As for the different encoders, FFmpeg doesn't seem to work with audio passthrough so its encoding the DTS core into Dolby, sending to your PS3 and PS3 processes and sends PCM to your Receiver.

MEncoder shows its behaving correctly, wrapping DTS core in LPCM. PS3 reads it as 2 Ch LPCM and passes it through untouched to your Receiver where its correctly recognized as 5.1 Ch DTS.
Locked