11 KiB
AV1 - Intel ARC Encoding Guide via Unraid + Tdarr Node Killer
Want to Help? Click the Star in the Upper-Right Corner! ⭐
NOTE
We’re using ghcr.io/haveagitgat/tdarr:2.35.02 instead of ghcr.io/haveagitgat/tdarr:latest.
Change Log:
- v1: Original AV1 flow
- v2: Removed B-frames
- v3: Improved quality
- v4: Removed images from files, cutting failure rates from ~25% to 1–2%
- v5: Enhanced quality and simplified workflow
Introduction
This guide helps you optimize your media library by encoding to AV1 on Unraid while efficiently sharing GPU resources between Plex and Tdarr. You’ll learn how to:
- Set up Intel ARC GPU support on Unraid.
- Configure Tdarr for AV1 encoding.
- Manage SABnzbd download speeds based on Plex streams (to prevent buffering).
- Automatically pause and resume Tdarr when Plex needs the GPU.
Following these steps will dramatically reduce video file sizes, saving huge amounts of storage, while ensuring Plex always has GPU priority. You’ll also see how to tweak download speeds to avoid streaming slowdowns.
Quick Tip: Always test your AV1 encoding on a small library or a few files. Adjust CRF to balance quality and size before converting your entire collection.
Table of Contents
- Data Savings with AV1 Encoding
- AV1 Drawbacks
- Upgrading to Unraid 7.0 and Installing Required Plugins
- Deploying Plex with Intel ARC GPU Support
- Setting Up Tdarr
- Setting up the AV1 Tdarr Flow
- Setting Up Tdarr Libraries
- Optimizing AV1 Encoding Settings
- SABNZBD Speed Control - Bonus
- Tdarr Node Killer Script
- Experimental: Running the Script on Other Operating Systems
- Backup and Recovery Tips
- Summary
Data Savings with AV1 Encoding
AV1 encoding drastically shrinks file sizes. In one example, using three Intel ARC GPUs to encode 10–15% of a large library yielded about 116TB of savings. For a 300TB media collection, you can potentially reduce it to 75–100TB with careful AV1 conversion.
I’ve already saved 255TB and counting!
AV1 Drawbacks
No codec is perfect. Some devices lack native AV1 decoding, forcing Plex to handle software transcoding. AV1 also requires more resources to encode, which means encoding jobs take longer. For details, check out the AV1 Drawbacks page.
Upgrading to Unraid 7.0 and Installing Required Plugins
Make sure you’re on Unraid 7.0 or newer, then install the required GPU plugins before using Tdarr or running the Tdarr Node Killer script.
Installing Intel GPU TOP Plugin
Install Intel GPU TOP (by ich777) from Unraid Community Apps to monitor your Intel ARC GPU’s performance directly on Unraid.
Installing GPU Statistics Plugin
Then install GPU Statistics (by b3rs3rk). Combined with Intel GPU TOP, it offers detailed GPU usage data during encoding or transcoding.
After installing both, you’ll see real-time GPU usage:
Deploying Plex with Intel ARC GPU Support
Adding the Intel ARC GPU to the Plex Docker Template
In your Plex Docker template, add the Intel ARC GPU as a device. Plex won’t see the GPU without this.
Configuring Plex Settings
Enable hardware transcoding in Plex and HDR tone mapping (if supported). If your server has multiple GPUs, pick the correct one.
Verifying GPU Transcoding
Play a video that needs transcoding. On Plex’s dashboard, watch the GPU usage. You should see minimal CPU usage and smooth playback. If you have an AV1 file handy, test it to confirm AV1 transcoding works too!
Setting Up Tdarr
What is Tdarr?
Tdarr streamlines media transcoding using a friendly GUI, handling conversions for you without complex command lines. At first, it might feel overwhelming, but once you get the hang of it, it’s incredibly powerful for media optimization.
If you find this guide helpful, please click the ★ (Star) button above. It shows your support and helps others discover this guide.
Deploying Tdarr Server
You’ll see an option to deploy the server and node in a single container. To simplify troubleshooting, deploy them separately:
- Install Tdarr (not Tdarr Node) from the Unraid App Store.
- Name it clearly (e.g., “Server” or “TdarrServer”).
- Check that the server IP is correct (usually your Unraid server’s IP).
- Set Internal Node to False so you can install a separate node container.
Tdarr Transcoding Location
Decide where to store transcoded files temporarily. For small workloads, an SSD/NVMe cache is enough. If you plan to transcode heavily (multiple streams, multiple GPUs), consider a dedicated NVMe. Avoid HDDs or RAM to reduce bottlenecks and random errors.
Important: High-volume transcoding quickly wears down SSD/NVMe drives. Many users add a lower-end NVMe just for Tdarr. This preserves your main system drives.
For instance, I use a cheap 512GB NVMe for Tdarr, since Tdarr can easily handle hundreds of terabytes of reads/writes. Doing so keeps my primary NVMe healthier.
Deploying Tdarr Node(s)
Once the Tdarr Server is running, install Tdarr Node (a separate listing). The server manages libraries and tasks, while the node handles the actual transcoding.
- Install Tdarr Node from the Unraid App Store.
- Name it clearly, like “Node1.” If you have multiple GPUs, install multiple node containers (Node1, Node2, etc.).
- Ensure the server IP and node IP match.
- Keep each node’s configs and logs separate.
- Match the transcode cache path to the server’s path. If you have more than one node, label them for clarity.
- Assign the correct GPU to each node. Don’t overlap GPUs if you have multiple nodes.
Identify GPUs by running:
Experimental: Running the Script on Other Operating Systems
You can run this script on other Linux distributions or OSes that support Docker and systemd. The steps are similar: place the script, set permissions, and create a systemd service.
-
Save the Script: Save your Tdarr Node Killer Script as
tdarr_node_killer.shin/usr/local/bin/.sudo nano /usr/local/bin/tdarr_node_killer.sh -
Set the Proper Permissions:
sudo chmod +x /usr/local/bin/tdarr_node_killer.sh sudo chown root:root /usr/local/bin/tdarr_node_killer.sh -
Create a Service File: Create a service file for the script:
sudo nano /etc/systemd/system/tdarr_node_killer.service -
Add the Following Content:
[Unit] Description=Tdarr Node Killer Script After=network.target [Service] Type=simple ExecStart=/bin/bash /usr/local/bin/tdarr_node_killer.sh Restart=on-failure [Install] WantedBy=multi-user.target -
Reload Systemd:
sudo systemctl daemon-reload -
Start and Enable the Service:
sudo systemctl start tdarr_node_killer.service sudo systemctl enable tdarr_node_killer.service
This ensures the script runs automatically and manages your GPU resources even if you’re not on Unraid.
Backup and Recovery Tips
Before making changes:
- Backup Plex configs (metadata, watch history, etc.).
- Backup Docker templates so you can quickly restore containers.
- Backup your Unraid flash drive so you don’t lose your server setup.
Test your backups occasionally to ensure they work when you need them.
Summary
By setting up AV1 encoding with Intel ARC GPUs, you can achieve massive storage savings and still maintain great quality. Adding the optional Tdarr Node Killer Script ensures Plex always has priority access to the GPU when needed. With careful tuning and a bit of experimentation, you can streamline your server’s performance, reduce storage costs, and keep everyone happy with smooth, high-quality streams.
Found this useful? Consider clicking the star (★) button at the top!




