Server Version#: 1.28.2.6106
Player Version#: Nvidia Shield Pro: 9.7.0.34811 (e3f8b112)
Player Version#: Roku Streaming Stick+ (2021): 7.0.13.7804-2fd4cda44-Plex
TV: Hisense H8F TV (ARC-only, no eARC)
AV Receiver: Onkyo NR-737 (Supports Atmos but does not do HDR video, so devices are plugged into TV)
I’m wondering if I’ve encountered a bug in Plex for certain files where it has to transcode audio but is able to direct play video.
My Nvidia Shield Pro is plugged into a TV with ARC that only supports Dolby Digital and Dolby Digital Plus 5.1. Within the Plex app, I can set Audio Passthrough to Optical, and Audio encodings set to AC3 to force Dolby Digital 5.1 over HDMI to the TV’s ARC port down to my receiver.
I need to change the optical/ac3 setting or else Plex will try to convert unsupported audio to Opus for Android-TV (Shield) clients, which isn’t recognized by my TV’s ARC and is passed down to the receiver as Dolby Digital 2.0 (L/R front channels only). This fixes audio for my specific setup.
However, when forcing ac3, Plex will sometimes also transcode video with the transcoding reason being the file’s required bandwidth attribute exceeds the maximum bandwidth limit of the Nvidia Shield profile of 200000 kbps.
From BBC series “Seven Worlds, One Planet” s01e03 with optical/ac3 forced-on (Attachment: Shield_s01e03_converts video and video.log)
Aug 28, 2022 20:07:14.426 [0x7fa17b0bdb00] DEBUG - MDE: Selected protocol hls; container: mkv
Aug 28, 2022 20:07:14.426 [0x7fa17b0bdb00] DEBUG - MDE: analyzing media item 78163
Aug 28, 2022 20:07:14.426 [0x7fa17b0bdb00] DEBUG - MDE: E3 - South America: Direct Play is disabled
Aug 28, 2022 20:07:14.426 [0x7fa17b0bdb00] DEBUG - Streaming Resource: Calculated bandwidth of 484621kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 200000kbps
Aug 28, 2022 20:07:14.426 [0x7fa17b0bdb00] DEBUG - Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Plex is thinking the required bandwidth for the file is 484621 kbps, where the Shield’s profile has a max limit of 200000 kbps.
-
If I do not force ac3, Plex will direct play the video and fall back to transcoding audio to opus. However, the confusing part is that audio is being transcoded in either case - so why is Plex choosing to transcode video when the audio is set to ac3?
-
The even more confusing thing is that s01e02 of the series has an even higher required bandwidth of 575357 kbps and when forcing optical/ac3 the video is not transcoded (Attachment: Shield_s01e02_direct_plays_video_and_audio.log) - so this appears to be a bug somewhere?
The real kicker is that both files play fine on the lower-powered Roku Streaming Stick+ (2021) as Roku clients will transcode unsupported audio to Dolby Digital Plus instead of Opus which is recognized by the TV ARC and receiver.
I’m assuming these are server-side decisions so I’ve included the Plex server logs and media XML files:
Shield_s01e03_converts video and audio.log (95.3 KB)
Shield_s01e02_direct_plays_video_and_audio.log (49.2 KB)
SevenWorlds_OnePlanet_4k_BluRay_s01e03_transcodesvideo.xml.txt (4.4 KB)
SevenWorlds_OnePlanet_4k_BluRay_s01e02_directplaysvideo.xml.txt (4.4 KB)
Here is the Roku log in case that is interesting: Roku_s01e03_direct plays video, converts audio.log (72.6 KB)