I have noticed that there is something strange going on with the bandwidth being used during the stuttering, so I dug a bit further.
The bandwidth is somewhat high, until it drops to 0, and the movie stops playing. Then I manually fast forward, it sends audio via Direct Stream, and then starts transcoding DTS-HD MA 7.1 to AAC and the bandwidth drops significantly. The above is on a Samsung TV.
The same problem exists on the XBox One X. It appears to be the DTS-HD MA 7.1 audio stream being transcoded to AAC. When I select an AC3 5.1 stream it Direct Plays without transcoding, and there are no issues.
I tried another 4K movie, this time with DTS TRUEHD 7.1 and when I fast forward, it then buffers forever also. Then if I manually bump it forward, it plays again. The audio is also getting transcoded to AAC. This buffering / stuttering did not happen when I watched it a few months ago. So something changed in how the server or client is handling the audio stream as of a few versions ago. The NAS CPU is not being fully utilized (The Plex process maxes near 50% for a few seconds then drops to 2%), so it’s not a lack of power on server end.
Below is when it’s stuck buffering.
Whether I select to use hardware transcoding or not on the server makes no difference.
Watching the same 4K videos on my phone (Samsung Galaxy S8), I have no buffering issues, even though the audio stream is being transcoded from TRUEHD or DTD-HD MA. The difference is that the output is AC3 rather than AAC when the source is TRUEHD. My TV can play an AC3 stream, so why doesn’t it the audio get transcoded to AC3 instead of AAC? The DTS-HD MA 7.1 does not need to be transcoded on the GS8, so again no issues.
Using the Plex Media Player on a PC with an nVidia GTX970 GPU, no issues with anything. Everything is Direct Play. The version from the Windows 10 store is still a steaming pile and will not play 4K without transcoding - not utilizing the GPU, so it basically doesn’t play, or will select a 1080p version by default if one exists.
I’ve also recently had the same buffering / stuttering issues on the 2nd gen 4K FireTV as well as a 4K Vizio TV. The problem is with the audio transcoding.