PlexBeam

Automate Media Conversion for Plex Compatibility

Published 2026-10-16 · PlexBeam

Not every media file in your collection works perfectly with every Plex client. Files with uncommon codecs, incompatible containers, or image-based subtitles can trigger server transcoding on certain devices. Automated media conversion preprocesses your library — converting files to universally compatible formats before playback, eliminating real-time transcoding entirely. This guide covers the tools and strategies for automated conversion.

Why Automate Conversion

Real-time transcoding during playback has costs:

Pre-converting files shifts this processing to off-peak hours. The converted file direct plays on every client — zero server load during playback, consistent quality, and no buffering.

Tdarr

Tdarr is the most popular automated media conversion tool for Plex libraries. It scans your library, identifies files that do not meet your target specifications, and converts them automatically.

How Tdarr Works

  1. Tdarr scans the directories you specify and catalogs every media file.
  2. Files are evaluated against your configured plugins — rules that define the target format.
  3. Files that do not meet the target specifications are queued for conversion.
  4. Tdarr workers (which can run on the same machine or distributed across multiple machines) process the queue using FFmpeg or HandBrake.
  5. Converted files replace the originals (or are placed alongside them, depending on configuration).

Installation

Tdarr runs as a Docker container or native application. The Docker approach is recommended for Plex servers:

Common Conversion Plugins

FFmpeg Automation

For users who prefer scripting over Tdarr's interface, FFmpeg with a wrapper script provides full control over conversion:

Basic Conversion Script

A script that walks a directory, identifies files needing conversion, and processes them:

  1. Scan for files matching specific criteria (wrong codec, wrong container, missing audio track).
  2. Build an FFmpeg command for each file based on what needs to change.
  3. Run the conversion.
  4. Verify the output file is valid (check duration matches, file is playable).
  5. Replace the original or store alongside it.

Useful FFmpeg Operations

Conversion Strategies

Container Standardization

Convert all files to MKV containers. MKV is the most flexible container — it supports every video codec, every audio codec, multiple subtitle tracks, and chapter markers. MKV direct plays on every modern Plex client.

This is typically a remux operation (no re-encoding) so it is fast and lossless. Only the container wrapper changes.

Audio Track Management

The most impactful conversion for reducing real-time transcoding: ensure every file has a compatible audio track.

Subtitle Conversion

Image-based subtitles (PGS, VOBSUB) force a full video transcode when selected on most clients. Converting these to SRT eliminates the transcode trigger:

Codec Conversion (H.264 to HEVC)

Converting H.264 to HEVC reduces file sizes by 40-50% at comparable quality. This is worthwhile for large libraries but has trade-offs:

Hardware Acceleration for Conversion

Intel Quick Sync

Quick Sync provides fast HEVC encoding at reasonable quality. Conversion speed is 2-5x faster than software encoding. Quality is slightly below software at equivalent settings but acceptable for most content.

NVIDIA NVENC

NVENC provides the fastest hardware encoding with the best quality among hardware encoders. Use NVENC for batch conversion when quality matters. FFmpeg flag: -c:v hevc_nvenc -preset p7 -cq 22

CPU (Software)

Software encoding with libx265 produces the best quality but is the slowest option. Use for content where quality is paramount and processing time is not a concern. Run conversions overnight or during off-peak hours.

Scheduling and Monitoring

Off-Peak Processing

Schedule conversions during hours when no one is streaming. Conversion consumes the same resources that Plex uses for transcoding — running both simultaneously degrades playback quality.

Tdarr includes built-in scheduling — set working hours for each node. FFmpeg scripts can be scheduled via cron (Linux) or Task Scheduler (Windows).

Progress Monitoring

Tdarr provides a web dashboard showing conversion progress, queue length, estimated completion time, and storage savings. For FFmpeg scripts, log each conversion with input file, output file, duration, and size change for tracking.

Troubleshooting

Converted File Has Audio Sync Issues

Converted File Is Larger Than Original

Plex Does Not Detect Converted Files

← Back to Blog
More from LuxuriousComputers: LuxuriousComputers · Computer Repair · Remote Fix · Phone Repair · HVAC · Plex Support