Why compare?
What is compared
When a client cannot display subtitles by itself, Emby burns them into the video while transcoding. Text subtitles such as SRT and ASS first have to be rendered into images. Bitmap subtitles such as PGS and DVB already are images, but usually need scaling to the video. The subtitle images are then blended onto the video frames, either on the CPU or on the GPU without the video leaving GPU memory.
These comparisons cover three FFmpeg builds: the current Emby FFmpeg (2026), its previous release (2023), and FFmpeg 9.0 as released by the FFmpeg project. They run on the CPU, NVIDIA CUDA, Intel Quick Sync, AMD AMF and Vulkan on AMD. Each GPU route uses the same hardware path as Emby Server's own pipeline for that GPU.
Sources
Test media
All four test files have 4K video, so that the cost of the subtitle processing stands out clearly. For each subtitle type, one file is dense and one is sparse. For bitmap subtitles, density is the share of time during which a subtitle is shown.
| Test file | Subtitles | Video |
|---|---|---|
| Dense ASS | Karaoke ASS with animated effects | H.264, 3840×2160, 60 fps, 36 s |
| Sparse SRT | SRT from a TV episode, 14 events, shown 59% of the time | HEVC, 3840×2160, 23.976 fps, 61 s |
| Dense DVB | DVB from a broadcast recording on a 1920×1080 canvas, shown all the time | HEVC, 3840×2160, 50 fps, 31 s |
| Sparse PGS | PGS from a feature film on a 1920×1080 canvas, shown 17% of the time | HEVC, 3840×2160 letterboxed, 23.976 fps, 60 s |
The bitmap subtitle canvases are smaller than the video and are scaled to it, as Emby Server does.
Patterns
Burn-in patterns
Subtitles can be burned in in several ways, and which one works best depends on the hardware. The text patterns T1–T6 and the bitmap patterns G1–G7 cover these routes:
- CPU overlay after software decoding (T1, T3, G1, G3): the video is decoded on the CPU, the subtitles are blended on the CPU, and the frames are uploaded for hardware encoding.
- CPU overlay after hardware decoding (T2, T4, G2, G4): the video is decoded on the GPU and copied to system memory for the overlay, then uploaded again for encoding.
- Full-frame GPU overlay (T5, G5, G6): the subtitles are rendered into full-size video frames, which are uploaded and blended onto the video on the GPU.
- Graphic-subtitle GPU overlay (T6, G7): Emby's own overlay uploads only the subtitle areas, and only when they change, and blends them on the GPU.
T1, T2, G1 and G2 use FFmpeg's own subtitle filters; the other CPU patterns use Emby's subtitle filtering. The configuration page lists every pattern with its steps and the FFmpeg builds that support it.
Performance
How performance is measured
The results show two kinds of performance measurement:
- Isolated measures the subtitle processing on its own. A prepared video frame is uploaded once and repeated, while the original subtitle events replay with their real timing, so rendering, changes and the time a subtitle stays on screen are all part of the work. Two runs of different length are timed, and their difference removes startup and other one-time costs.
- Full Transcode measures each burn-in pattern in a complete pipeline: decoding the original 4K video in software or hardware, as the pattern requires, burning in the subtitles at the full 4K resolution, scaling to 720p and encoding H.264.
Why the full transcode is built this way
A single transcode can hide large differences in efficiency. Suppose one way of burning in subtitles is just fast enough to barely slow the transcode down, but needs the whole GPU to get there, while another needs only a fraction of those resources. In a single transcode, both look the same. With five transcodes running at once, the second one still keeps up, while the first slows down dramatically, because each transcode now gets only a fifth of the GPU.
Measuring several transcodes in parallel would show this directly, but the results are noisy and hard to reproduce on other systems. These tests use a cleaner, if approximate, approach instead: a single transcode that gives the subtitle processing as much weight as possible. All processing happens on the original 4K frames, and only the very last step scales them down to 720p. This keeps the encoder's share of the work small, since the encoders are not what is being compared, and the encoders use settings that need as little processing as possible.
Every case uses a fixed workload that is the same on every machine, and each result keeps its FFmpeg command, log and execution graph.