When playing 4k media that requires transcoding on either of my two Nvidia Shield devices the stream stops and the player log shows an exception. I am able to play the media with a direct stream without errors, and with or without transcoding on other players, including an Xbox and Chrome in Windows.
The client log shows the following:
02-08 18:37:40.604 i: [MediaDecisionEngine] Transcode server selected: Unraid
02-08 18:37:40.605 i: [MediaDecisionEngine] Analyzing media: 3840x2160 67812kbps (Container: mkv, Video: hevc, Audio: dca)
02-08 18:37:40.613 i: [MediaDecisionEngine] Resolution 2160 exceeds maximum allowed (1080)
02-08 18:37:40.615 i: [MediaDecisionEngine] Analyzing media: 3840x2160 59687kbps (Container: mkv, Video: hevc, Audio: dca)
02-08 18:37:40.617 i: [MediaDecisionEngine] Resolution 2160 exceeds maximum allowed (1080)
02-08 18:37:40.618 i: [MediaDecisionEngine] Analyzing media: 1920x1080 28451kbps (Container: mkv, Video: h264, Audio: truehd)
02-08 18:37:40.624 e: [MediaDecisionLoadable] Exception while determining media decision
02-08 18:37:40.624 e: An exception occurred: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.plexapp.plex.net.s3.q2()' on a null object reference
02-08 18:37:40.625 e: Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.plexapp.plex.net.s3.q2()' on a null object reference
at oh.n.i(SourceFile:1)
at com.plexapp.plex.net.h1.o(SourceFile:9)
at com.plexapp.plex.net.h1.w(SourceFile:345)
at com.plexapp.plex.net.h1.J(SourceFile:17)
at gm.e.p(SourceFile:58)
at gm.e.s(SourceFile:169)
at xf.o.load(SourceFile:23)
at y4.i0$d.run(SourceFile:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Server:
Unraid 6.11.5
Docker container: lscr.io/linuxserver/plex , also observed with the official Plex docker
Plex Version 1.30.2.6563
Intel 9700k, 32 GB of DRAM
Player:
Plex app 9.15.0.38159 (c85b2f1b)
Nvidia Shield TV P3430, Kernel 4.9.141, SW version 9.1.1
The server and shields are connected over gigabit ethernet. I tried the beta Android TV Plex app but it had the same issue.