SOLUTION: The solution was simple, due to a network change the subnet in Settings > Network > LAN Networks was incorrect, as such Plex thought my local client was actually remote. After correcting this everything is streaming perfectly without transcoding.
Server Version#: 1.21.2.3943
Player Version#: WebOS / Roku / etc.
OS: Windows 10 Ver 20H2
CPU: 8086k @ 5.2Ghz all cores
RAM: 32GB DDR4-3600
GPU: GTX 1050ti (hardware encoding is enabled)
As about 1/10th of my collection is 4k (about 500 films) Iām watching more and more - but the majority of the time Plex transcodes the stream down to 1080p and I canāt understand why. I know that if the audio is DTS HD 7.1 my TV canāt play that (an LG B6 OLED) so if the file has 5.1 available Iāll select that - but even then sometimes itāll transcode. This happens in 2 scenarios:
Local
Whatās odd is if I stream the same file to my TV via DLNA it works perfectly - including the DTS HD 7.1 audio track. No transcoding and it looks stunning. Why would Plex transcode it if my TV is perfectly capable of playing it natively?
Remote
This happens with all content - I have a 1GB down / 40MB up connection, streaming to a friend with a 1GB down/up connection. Iāve been a network engineer for 15 years so I fully understand that we might not get my 40MB between us, depending on the routes, but many times a 1080p at say 8MB will still get transcoded down to 720p sometimes. Iāve verified the remote client is set to direct play and 4k 20MB as the max stream but it still transcodes. Weāve done some testing with me setting up an Apache server at my place to see what bitrate he gets downloading from that ā and we get a solid 30-40MB with 1GB+ files. So I donāt understand why itās transcoding when we both have the bandwidth.
Iām sure youāll need some details - here are the details for Atomic Blonde, 4K HDR x265
Another thing to consider, and which many people are not aware of is āAverage Bitrateā, which literally means, the āAverageā for the entire video track. Some parts may be higher, some lower.
If your file has been encoded using Average Bitrate, and it states that the Average Bitate for the video track is 17226 Kbps, it is very possible that there are parts of the video track that may be significantly higher than that, maybe even more than twice the bitrate.
The parts of the video that will require much higher bitrates are the parts that are normally fast moving, or where the entire screen is constantly changing⦠Smoke from an explosion is one example, car chases is another.
Knowing the movie Atomic Blonde, there are lots and lots of fast moving scenes, and therefore I can actually guarantee there will be many parts of the film that will require much higher bitrates to keep the quality.
Now when you tag onto all of that, the Audio track, which also may be encoded with Average Bitrate, and now you will see that it is actually very easy for parts of that movie to actually be much higher bitrates than you actually expect, to the point where it is too high to be able to fit up your 40 Mbps pipe.
As @Alucard1 has stated, check your PMS logs and it should tell you why a transcode was required, and you might just find it is because the bitrate exceeds your bandwidth due to the nature of Average Bitrateā¦
But I canāt find anything that says why that was the case. Again when I play ALL these files using DLNA from the simple client on my TV they play perfectly, no transcoding needed and they stream perfectly, no buffering, etc.
As for average bitrate I guess you didnāt read āIāve been a network engineer for 15 yearsā - I fully understand these are AVERAGES but what I donāt understand is why Plex would transcode it to its own client yet the Plex DLNA server would stream the exact same file on the exact same network to the exact same TV perfectly without needing to transcode. Clearly the client can play the filetype just fine, clearly I have enough bandwidth for this (Iām on gigabit wired ethernet and even in the same switch as the server).
So Iām right back where I started - WHY is PMS transcoding something that my client can play fine and my network can support just fine. What specifically in the logs will tell me the WHY itās doing this. My gut says I canāt do anything about it, which is a real shame as Iād much rather use the Plex client on my TV rather than the stupid DLNA app but if thatās going to give me perfect picture/sound without transcoding anything thatās what Iām forced to do.
Just surprised as itās not like 4K content just got releasedā¦
another thing to consider, when you set the upload bandwidth limit, plex generally applies a percentage of that (not the whole amount) to a single stream, so that other streams can still be started, each new stream will get a smaller portion until there is insufficient upload left.
if you suspect or determine the upload limit is causing transcoding, you can remove the limit to find out, then of course your remote client may direct play, but start buffering if the stream exceeds the upload.
so, if your upload is set to 40, plex may reserve 10 meg for future streams, your initial stream gets limited to ~30 (or whatever the actual percent is).
as already pointed out above, hevc can have much higher bit rates than what the āaverageā shows.
A: go to Plex > settings > console > filter > type āmdeā without the quotes
play the video on the device in question
examine the log entries with the MDE: and TPU: lines, these should help explain why plex is transcoding.
THANK YOU - This was actually VERY helpful. As Iāve tried to explain MANY times I fully understand how bitrates and bandwidth works, it seems everyone kept missing this is on my LOCAL GIGABIT LAN so even a huge say 80MB bitrate should be fine - and is fine when I stream DLNA. So there is/was clearly something in PMS that was the problem - and I finally found it.
What I didnāt share, as I didnāt think of it as a āchangeā was recently I change my local IP network to a different subnet. I had the old subnet set in the networking section of Plex to ensure it knew what was local and what wasnāt. As that was wrong Plex through I was trying to stream remotely and as such thought it needed to transcode when it absolutely does not. After changing that to the correct subnet EVERYTHING Iāve tested now Direct Plays perfectly, no bandwidth issues at all, as I knew from the start.
So thanks for at least putting me on the right path by looking through the console, I hadnāt used that before but I sure will in the future. I know I had a difficult question, hopefully in the future when folks want to help, which is great, theyāll actually read whatās been written and believe it rather than multiple times bring up the same thing that was addressed in the original post. You sending me to the console got me there.
I do see an odd error that Plex canāt load/find a profile for my LG OLED, but is seems thatās somewhat common and might just be a BS error. I did think that was the issue for a few hours but then when the network change hit me like a ton of bricks I knew that was it and sure enough it was. As I thought, something in Plex was telling it to transcode when it in no way needed to do so, especially not for bandwidth reasons.
I have to say, that sometimes getting comments like this stings a little⦠There really is no need, especially when your original post had a rather sizable paragraph centered around your WAN / Remote connectionā¦
By all means, take peopleās suggestions or donāt, but to then go ahead and bite the hand that feeds you is pretty rude actually!
I donāt think Iāve ever seen a āTHANK YOU, BUT ā¦ā before. Whyād you mark your post as the solution, instead of his? My first reaction is that it seems rude or ungrateful.
Which means even local connections were treated as remote, so @Alucard1ās initial suggestions may have been relevant.
Having said that, there are a few other places with useful info, before digging into logs.
The āNow Playingā section of the Plex Status/Dashboard. This will show you if the connection is considered Local, Remote, or Indirect (Plex Relay) - a useful clue about whatās going on, and why quality/bandwidth decisions are made.
And in the players/apps themselves. They will generally give you information about what transcoding is being performed, but admittedly they each give different information about why.
You also mentioned issues streaming to a friend. Make any progress on that?
I donāt think Iāve ever seen a āTHANK YOU, BUT ā¦ā before. Whyād you mark your post as the solution, instead of his? My first reaction is that it seems rude or ungrateful.
Please quote me where I said āthank you butā. As to why I marked my comment as the solution, well it has the actual solution to my problem, not a vague reference that lead me there. It amazes me that people get so bent out of shape from little text comments but I care more about people finding the actual solution in the future rather than something that might point them in the right direction. I guess I care more about facts that feelings.
I guess you just needed to chime into a thread you werenāt involved in, had no help in to what, berate me in some way, as if I care about what some random online thinks. I sure wish I had the free time for things like that, I wonder what thatās actually likeā¦
Regardless again my thanks to @TeknoJunky for putting me on the right path with detailed help rather than things I tried to make clear I understood from the outset that had, as I knew from the start, absolutely nothing to do with the problem.
I guess others can enjoy raging back, Iāve gotten what I need from the thread and have marked it so it may be helpful to others in the future.
Hmmmm⦠I think itās more about attitude than anything else.
Surely you appreciate that from your point of view, everyone on a forum will be a random as you donāt actually know them, but itās the randoms that are offering the help.
Again, itās all about attitude, and in the space of minutes, 2 different randoms were both of the opinion that you were kinda coming across as being rude.