How I realized to cease worrying and love the transcoding

For many Plex customers, “transcoding” is a grimy phrase. Only the pristine, untouched unique file will do. I used to be like that, making an attempt to keep away from transcoding as a lot as doable.
Unfortunately, that usually meant spending time in apps like Handbrake, painstakingly changing recordsdata to probably the most appropriate codecs. But the reality is that more often than not, transcoding does not actually have an effect on high quality in a noticeable means, although it does have another downsides.
What’s the cope with “Direct Play” anyway?
It seems like a online game mode
If none of it is sensible to you, it is value taking a minute to go over the totally different ways in which Plex can ship a video to the “shopper,” which is what the system taking part in again the video known as. This is usually a internet browser, a smartphone, a streaming field, and so forth.
When Plex makes use of Direct Play to ship a video to a shopper system, it is sending the file as it’s in your Plex server’s drive. It works in case your shopper system can decode and play again the video file natively. So it has to help the codecs used to encode the audio and video, and it has to have the processing energy to deal with the file’s native high quality. Direct Play represents the utmost high quality that the file can supply, however reasonably counterintuitively, it requires little or no from the Plex Server itself. After all, from the server’s view, it is actually only a community file switch.
Then there’s “Direct Stream,” which is definitely slightly complicated at first. You see, a video has a “container” (akin to .MKV) after which particular codecs for the precise media, akin to HEVC or H.264. Direct Stream is what Plex calls “remuxing.” This is the place you’re taking the video, audio, and subtitle knowledge in a single container, and simply package deal them in one other. This takes slightly extra processing energy from the server than Direct Play, but it surely’s negligible.
Transcoding is a whole other beast. Here, the server has to carry out an on-the-fly re-encoding of the video, audio, or typically each. Depending on the standard of the unique file and the goal encoding high quality, that may take a considerable quantity of processing energy, and such quickly encoded video will objectively have worse high quality than the unique.
This is why we are inclined to deal with Direct Play because the goal, however possibly being too treasured about it’s counterproductive?
Sometimes, transcoding simply is sensible
Don’t combat it, embrace it
First, let’s get the unhappy info about Plex paywalls out of the best way. If you wish to use the iGPU or devoted GPU in your Plex server to do the transcoding, it is advisable to pay for a Plex subscription or purchase a lifetime cross. Most GPUs will completely shred this job, and you may by no means have to fret about it, however access to your own hardware is locked behind a paywall. If you do not wish to pay, you will need to depend on the common CPU cores in your server to do the job. Whether they’re as much as it relies upon solely on the workload and the per-core efficiency.
However, distant streaming of your Plex library exterior your house community is among the prime conditions the place transcoding is sensible. Unlike your house community, you haven’t any management over the bandwidth out within the planet, so your server has to adapt on the fly. However, remote play is also a subscription feature, albeit one that you could pay for individually and as a part of a Plex Pass. I’d say in the event you had been paying for distant streaming anyway, you would possibly as nicely pay for hardware-accelerated transcoding.
The different two conditions the place transcoding is completely acceptable are whenever you’re utilizing a shopper system with too little horsepower to deal with the unique file high quality or the shopper system simply does not perceive the format the video or audio makes use of. While it is perhaps value it handy re-encode one or two recordsdata, imagine me after I say that it is not value processing lengthy queues of recordsdata in your PC for switch to your Plex server later. Just take the small high quality dip on the chin, and luxuriate in your additional free time.
The Plex Media Optimizer is perhaps the answer you are searching for
As per the official Plex documentation, the Media Optimizer “pre-transcodes” media into numerous high quality ranges and codecs. So, whereas your Plex server is idle, it is going to convert video recordsdata in order that they are often streamed with out the real-time processing energy wanted to take action easily.
If you are not prepared to pay for hardware-accelerated transcoding, and your Plex server’s CPU is just too sluggish to deal with it, it could possibly be a straightforward solution to get round it. The catch? Obviously, having a number of copies of the identical video file at totally different high quality ranges takes up extra space for storing. However, it won’t take up as a lot as you assume, since these lower-quality encodes can take up a lot much less area than the high-quality unique. If you are excessive on storage however low on processing energy, that is one solution to work round the issue with out spending extra cash. Also, you will be selective about which movies get this therapy.
