DTS transcoding stereo instead of AC3 5.1 via optical to TV to Sonos

@radiocolin :smiley: I fixed it on my TV Plex app, by simply disabling DTS under Settings. For the nVidia Shield, I copy the content of MartinCairns’s Oct 23 post, save as “Android.xml” and replace the existing file in:

Program Files (x86)\Plex\Plex Media Server\Resources\Profiles

Is this correct? Will this affect my other Android device (a 1st gen Google Pixel) and will this allow me to play UHD movies? These UHD movies are stored not on the Shield but on my PC.

@ntvinh1985 that probably would affect Pixel, I am not certain though.

I’m having a similar issue to OP, Sony Bravia outputting to playbar over optical.

I think this is the relevant log but I’m new here:




It looks like it’s found DTS 5.1 and is transcoding AC3 5.1 but Sonos is just getting stereo. I followed OP’s guidance on swapping to AC3, on second look I also changed:

Previously audiocodec was “aac”.

Looks like logs didn’t attach to previous, here they are:

Variant id=“122a246b-2b64-4e20-87c9-8d9c319548f4” targetBitrate=“6102” context=“streaming” sourceVideoCodec=“hevc” sourceAudioCodec=“dca” videoDecision=“copy” audioDecision=“transcode” protocol=“hls” container=“mpegts” videoCodec=“hevc” audioCodec=“ac3” audioChannels=“6” transcodeHwRequested=“0” transcodeHwFullPipeline=“0”>
Media audioProfile=“dts” id=“909” videoProfile=“main” audioChannels=“6” audioCodec=“ac3” bitrate=“4611” container=“mpegts” duration=“6486240” height=“808” protocol=“hls” videoCodec=“hevc” videoFrameRate=“24p” videoResolution=“1080p” width=“1920” selected=“1”>
Part audioProfile=“dts” deepAnalysisVersion=“2” id=“910” requiredBandwidths=“14868,11441,10084,8946,7809,6680,6005,6005” videoProfile=“main” bitrate=“4611” container=“mpegts” duration=“6486240” height=“808” protocol=“hls” width=“1920” decision=“transcode” selected=“1”>
Stream bitrate=“3971” codec=“hevc” default=“1” frameRate=“23.975999999999999” height=“808” id=“5676” language=“English” languageCode=“eng” requiredBandwidths=“13358,9931,8574,7437,6300,5171,4505,4505” streamType=“1” width=“1920” decision=“copy” location=“segments-av” />
Stream bitrate=“640” bitrateMode=“cbr” channels=“6” codec=“ac3” id=“5677” language=“English” languageCode=“eng” requiredBandwidths=“1509,1509,1509,1509,1509,1509,1509,1509” selected=“1” streamType=“2” decision=“transcode” location=“segments-av” />

DirectPlayProfiles>
VideoProfile container=“mp4” codec=“h264,mpeg4” audioCodec=“ac3” />

does anyone know where to find the profiles folder containing android.xml on a Synology? I cannot find it anywhere.

This server side profile solution no longer works.

The Plex client now sends it’s own “profile” at the start every play of content.

You can observe this by turning on Network Logging on the Plex client.

Since now that the profile solution no longer works how do you fix this problem?

Hi, and sorry for replying to a very old post … But where is this file ?
I desperately tried to figure where it’s located on my nvidia shield, but i did not find any /usr/lib folder
Any help would be much appreciated !

Yeah this changed long ago. This information is no longer current and I stopped using Plex on my Shield.

No worries thanks for answering

If I may ask, which device are you using with Plex now ?

Roku Ultra