[UPDATED 10/06/17] Buglist - Plex for Android TV App on Nvidia SHIELD TV

I believe technically it’s not a part of the standard config but it does work.

Yeah, it’s technically supported but isn’t widely adopted. That said, the video player we use “should” identify DTS-HD if the audio track is correctly marked as such, as seen here: ExoPlayer/library/src/main/java/com/google/android/exoplayer/extractor/mp4/AtomParsers.java at 706c6908ec57005044f4b4a9f5b80266cad9eda3 · google/ExoPlayer · GitHub.

It’s possible that Google are missing a scenario (or more), but without a sample file there is little we can do to diagnose the issue, or report it to Google.

@IanDBird said:

I believe technically it’s not a part of the standard config but it does work.

Yeah, it’s technically supported but isn’t widely adopted. That said, the video player we use “should” identify DTS-HD if the audio track is correctly marked as such, as seen here: ExoPlayer/library/src/main/java/com/google/android/exoplayer/extractor/mp4/AtomParsers.java at 706c6908ec57005044f4b4a9f5b80266cad9eda3 · google/ExoPlayer · GitHub.

It’s possible that Google are missing a scenario (or more), but without a sample file there is little we can do to diagnose the issue, or report it to Google.

Ian, pretty sure it’s just a rubbish rip and is not indicative of a sample that should work. DTS core sure, but not a DTS-HD MA track in mp4 container. One thing of note here is that I’m a bit confused as to how the file got DTS-HD in the posters sample. To test this, I mocked up a quick sample with 256kbps AAC as track 1 and DTS-HD MA passthrough as track 2 in Handbrake. The final result was a 4000kbps DTS 2.0 stream as track 2. As you can see in the Mediainfo screen, it’s actually a 2 channel track, not 7.1 as the XML suggests it has picked up. When I imported it into Plex, it sees the 2 channel track as a 7.1 channel track. I suspect this has happened with the original posters rip but obviously can’t be sure.

XML:
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="9" librarySectionTitle="Test Videos" librarySectionUUID="643857e2-8ec0-4f1d-9943-35066ba28cfa" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1469643366"> <Video ratingKey="19847" key="/library/metadata/19847" guid="com.plexapp.agents.none://c412cba8e76426f12ffa833f928d49763f27ecb3?lang=xn" librarySectionID="9" type="movie" title="Ant-1" summary="" year="2016" thumb="/library/metadata/19847/thumb/1471280717" art="/library/metadata/19847/art/1471280717" duration="25408" originallyAvailableAt="2016-08-15" addedAt="1471280713" updatedAt="1471280717" chapterSource="" createdAtAccuracy="epoch" createdAtTZOffset="3600"> <Media videoResolution="1080" id="40850" duration="25408" bitrate="8269" width="1920" height="1036" aspectRatio="1.85" audioChannels="8" audioCodec="dca-ma" videoCodec="h264" container="mp4" videoFrameRate="24p" optimizedForStreaming="0" audioProfile="ma" has64bitOffsets="0" videoProfile="high"> <Part accessible="1" exists="1" id="42357" key="/library/parts/42357/1471280402/file.m4v" duration="25408" file="C:\Users\Dan\Documents\Samples\Ant-1.m4v" size="26262203" audioProfile="ma" container="mp4" has64bitOffsets="0" optimizedForStreaming="0" videoProfile="high"> <Stream id="92198" streamType="1" default="1" codec="h264" index="0" bitrate="3927" bitDepth="8" cabac="1" chromaSubsampling="4:2:0" codecID="avc1" colorRange="tv" colorSpace="bt709" duration="25317" frameRate="23.976" frameRateMode="vfr" hasScalingMatrix="0" height="1036" level="41" pixelFormat="yuv420p" profile="high" refFrames="4" scanType="progressive" streamIdentifier="1" width="1920"/> <Stream id="92199" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="257" language="English" languageCode="eng" audioChannelLayout="stereo" bitrateMode="vbr" codecID="40" duration="25387" profile="lc" samplingRate="48000" streamIdentifier="2"/> <Stream id="92200" streamType="2" codec="dca" index="2" channels="8" bitrate="4087" language="English" languageCode="eng" audioChannelLayout="7.1" bitDepth="24" bitrateMode="vbr" codecID="A9" duration="25408" profile="ma" samplingRate="48000" streamIdentifier="3"/> </Part> </Media> <Extras size="0"></Extras> </Video> </MediaContainer>

Sample if required: Dropbox - Ant-1.m4v - Simplify your life

Ian, one thing I’ve been meaning to ask, when ExoPlayer 2 is released, are you planning to utilize it in the Android TV application?

I ran across DTS core only being passed through this weekend with the blu ray box set of star wars 1-6. They are in DTS-HD 6.1. I reripped one of them last night just to test with the same results. There was an error given on the on screen display.

I’ll come back tonight with xml info, mediainfo data, a sample file and the exact error.

@Andrroid said:
I ran across DTS core only being passed through this weekend with the blu ray box set of star wars 1-6. They are in DTS-HD 6.1. I reripped one of them last night just to test with the same results. There was an error given on the on screen display.

I’ll come back tonight with xml info, mediainfo data, a sample file and the exact error.

I take it you ripped from the original disc media? I take it Plex is recognising the DTS-HD in Plex Web and in the xml? Could be the server tagging issue present on 1.0.3 messing with the passthrough.

Yeah, ripped from original disc. It shows as DTS-HD in plex web and in the xml. Do you have a link to info about the server tagging issue in 1.0.3?

@Andrroid said:
Yeah, ripped from original disc. It shows as DTS-HD in plex web and in the xml. Do you have a link to info about the server tagging issue in 1.0.3?

Unfortunately not no but I don’t think it was affecting the passthrough on the SHIELD client anyway. Mostly PMP I think.

EDIT: bit of info here: https://forums.plex.tv/discussion/228382/dts-hd-ma-files-being-tagged-as-dts-in-pms#latest

I don’t know if PMS can process 6.1. It may be looking fro either 5.1 or 7.1 so it is running into either too many channels or too few channels. Can you produce me a 1-minute sample file?

I’ll have a sample file in a few hours.

6.1 being the issue was my first guess as well. But I found a movie in my library (X-Men Last Stand) that also has 6.1 and it passes through just fine.

Can you make me s sample of that too so I can compare?

@MovieFan.Plex said:
I don’t know if PMS can process 6.1. It may be looking fro either 5.1 or 7.1 so it is running into either too many channels or too few channels. Can you produce me a 1-minute sample file?

Here is my only DTS-ES 6.1 sample.

@IanDBird

So the on screen display reads this when only DTS core is passed:

Video: Direct
Audio: Direct
Size: 1920x1080
Transcode Reason: Direct Play was attempted but failed, fallen back to transcoding

Interestingly, while the original X-Men file plays back fine (receiver reads DTS-HD and the OSD reads direct play), the 1 minute file only passes the DTS core through, with the same OSD error as listed above. Below are the two samples:

X-Men Sample

Star Wars Sample

I presume you can generate your own XML? If not, let me know and I can provide mine.

Thanks for the help

Thanks guys, I will check ti out later.

@Andrroid - Video and Audio both saying Direct means that the file is just being remuxed. The reason most likely indicate that the DTS track couldn’t be read in it’s position in the file so it had to be remuxed to bring it to the front. The server log would indicate what is going on. I’ll see if I can reproduce with your samples.

@danjames92 that one direct plays for me just fine, shows as DTS on the receiver

I guess this is expected behavior because its just extended DTS, and not HD audio?

So maybe Plex is just having issues with 6.1 DTS-HD?

@Andrroid said:
@danjames92 that one direct plays for me just fine, shows as DTS on the receiver

I guess this is expected behavior because its just extended DTS, and not HD audio?

So maybe Plex is just having issues with 6.1 DTS-HD?
That is good info.

Still doesn’t quite explain why my full version of X-Men The Last stand (DTS-HD 6.1) passes through just fine.

Can you provide me the xml for the original file?

Sure:

http://pastebin.com/drB4DMJH

@Andrroid said:
@danjames92 that one direct plays for me just fine, shows as DTS on the receiver

I guess this is expected behavior because its just extended DTS, and not HD audio?

So maybe Plex is just having issues with 6.1 DTS-HD?

Yes I did ponder that and it seems most likely as the DTS-ES stream is essentially a 1500 core stream with an extra channel.

Latest PMS update

(Media Analysis) Detect DTS-HD MA audio streams again. (#4766)

Related?

@Andrroid said:
Latest PMS update

(Media Analysis) Detect DTS-HD MA audio streams again. (#4766)

Related?
The fix was not specific to this conversation but could be the same issue.