keepcalculator

06 Numbers and Powers

Plex Transcoding: Why You’re Doing It Wrong

Card No. 06·86316 · Updated · Standard formula, shown below

You’re doing Plex transcoding wrong if you’re forcing it when direct play would work, or fighting it when your network genuinely can’t handle the original file. The fix is understanding what transcoding actually does, when it’s necessary, and how to configure your server and clients to minimize it without sacrificing playback reliability.

What Plex Transcoding Actually Does

Transcoding is the process of converting a media file from one format to another in real time. Plex decodes the original video and/or audio and re-encodes it into a format the client device can play, or into a lower bitrate that fits the available bandwidth. This happens on the server’s CPU (or GPU if hardware acceleration is enabled), and it’s the most CPU-intensive task Plex performs.

There are three main reasons Plex transcodes:

  • Codec incompatibility: The client doesn’t support the video codec (e.g., HEVC on an older TV) or audio codec (e.g., TrueHD on a soundbar).
  • Bandwidth constraints: The original bitrate exceeds what the network or remote connection can sustain.
  • Subtitles: Image-based subtitles (PGS/VOBSUB) often force video transcoding because the client can’t overlay them without burning them into the picture.

Why Direct Play Is Almost Always Better

Direct play means the server sends the original file to the client without any conversion. The client does the decoding locally, which uses the client’s hardware, not your server’s CPU. Direct play preserves the exact original quality, uses negligible server resources, and is far more reliable for multiple simultaneous streams. Transcoding, by contrast, introduces a small quality loss, adds latency, and can cause buffering if the server can’t keep up with the encode speed. If your server is a low-power NAS or an old PC, transcoding one 4K stream can max out the CPU and stall every other stream on the server.

When Transcoding Is Actually the Right Choice

Transcoding isn’t inherently bad; it’s a tool. You should embrace it when:

  • Remote streaming: Your upload bandwidth is lower than the file’s bitrate. A 20 Mbps file can’t stream to a friend on a 10 Mbps connection without transcoding.
  • Old or limited clients: A 2015 smart TV may not support HEVC or 10-bit color, so transcoding to H.264 is the only way to play the file.
  • Mobile data: When you’re on a phone plan with a data cap, transcoding to a lower bitrate saves gigabytes.
  • Audio compatibility: If your sound system can’t decode DTS or TrueHD, transcoding just the audio (not video) is a lightweight fix.

How to Stop Unnecessary Transcoding

Most people’s problem is that Plex transcodes when it shouldn’t, usually due to a misconfigured client or a subtitle setting. Here’s how to fix it:

  1. Check the client’s playback settings: In the Plex app, go to Settings → Playback and set “Direct Play” and “Direct Stream” to “Auto” (or “Force” if you’re sure the client supports the codec).
  2. Disable burn-in for subtitles: In the same settings, set “Burn Subtitles” to “Only image formats” or “Never” if your client can render text subtitles natively.
  3. Use a modern client: Roku, Apple TV, Fire TV, and the Plex desktop app support most modern codecs. Old smart TV apps are the worst offenders.
  4. Match your server’s transcoding capability: If you must transcode, enable hardware acceleration in Plex Settings → Transcoder → “Use hardware acceleration when available.” This offloads the work to your GPU or iGPU, making 4K transcoding feasible on modest hardware.
  5. Pre-convert problem files: If you have a library of files that always transcode, consider re-encoding them once with HandBrake to a universal format (H.264 + AAC) so they direct play everywhere.

Common Mistakes and Misconceptions

One common mistake is assuming that a high-end server is needed for Plex. If you direct play everything, even a Raspberry Pi can serve multiple streams. The CPU only matters when transcoding. Another mistake is confusing “Direct Stream” with “Direct Play.” Direct stream remuxes the container (e.g., MKV to MP4) without re-encoding video, which is nearly as efficient as direct play but still uses a little CPU. A frequent misconception is that transcoding always reduces quality. If the client can’t play the original codec, transcoding to a high-bitrate H.264 stream can look identical to the source to the human eye. The real quality killer is transcoding to a bitrate far below the source, which causes banding and blocking artifacts.

Hardware vs. Software Transcoding

Software transcoding uses the CPU and is flexible, supporting nearly any codec, but it’s slow. A modern CPU can handle one or two 1080p transcodes, but a 4K HDR transcode can easily saturate an 8-core processor. Hardware transcoding uses a GPU’s dedicated encoder (Intel Quick Sync, NVIDIA NVENC, AMD VCE) and is much faster, often handling 10-20 simultaneous 1080p streams on a mid-range card. The tradeoff is slightly lower quality per bitrate and occasional compatibility quirks. For most home users, hardware acceleration is the right choice if you transcode regularly. Plex Pass is required to enable it.

Frequently Asked Questions

Why does Plex transcode when I’m on the same Wi-Fi as the server?

Plex may transcode because the client app’s bitrate limit is set too low, or because the file’s audio codec isn’t supported by the client. Check the client’s playback settings and set the remote and local bitrate limits to “Maximum” or “Original.” Also, if you’re using Plex Web, it often transcodes by default because browsers don’t support all codecs.

Does transcoding damage the original file?

No. Transcoding creates a temporary copy in the server’s transcoder cache. The original file is never modified. The cache is deleted after playback, unless you’ve changed the “Delete temporary files after” setting.

How much CPU do I need for one 4K transcode?

Without hardware acceleration, a 4K HDR transcode typically requires a CPU with a PassMark score of at least 12,000-15,000 for smooth playback. With hardware acceleration (Quick Sync or NVENC), a mid-range CPU from the last few years can handle it easily. If you’re buying hardware specifically for Plex, prioritize Quick Sync support in the CPU.

Why do PGS subtitles force transcoding?

PGS (Blu-ray) subtitles are images, not text. Most clients can’t overlay them without the server burning them into the video frames, which requires re-encoding the video. To avoid this, download SRT (text) subtitles instead, or set your client to “Burn Subtitles: Only image formats” and use SRT files.

Can I force Plex to always direct play?

Yes, but only if your client supports every codec in the file. In the client’s playback settings, set Direct Play to “Force.” If the client can’t handle the codec, you’ll get an error or no playback at all. It’s safer to leave it on “Auto” and fix the underlying compatibility issues.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →