Per-Title Encoding: The Ladder Is Not One-Size-Fits-All
The Vocabulary First
| Title | One thing a member presses play on. A film is a title; each episode is its own title (encoded independently); a trailer usually is too. A series or season is a container of titles. |
|---|---|
| Ladder (bitrate ladder) | The set of encoded versions stored for one title, so the player can switch between them. Each version is a rung (or rendition): one complete file, defined by a resolution and a bitrate. Netflix stores the whole ladder, never a single copy. |
An illustrative ladder — roughly what a fixed generic table looked like:
| Rung | Resolution | Bitrate | When the player picks it |
|---|---|---|---|
| 6 (top) | 1920×1080 | 5800 kbps | Strong, stable connection |
| 5 | 1920×1080 | 4300 kbps | Good connection — same pixels, fewer bits |
| 4 | 1280×720 | 3000 kbps | Decent broadband |
| 3 | 960×540 | 1750 kbps | Congested Wi-Fi |
| 2 | 640×360 | 750 kbps | Weak mobile |
| 1 (bottom) | 416×234 | 235 kbps | Barely-there — play something rather than stall |
Why "ladder": the player climbs it. In adaptive bitrate streaming (ABR) the video is cut into few-second segments, and before each one the player picks the rung its throughput and buffer can sustain — up on good Wi-Fi, down in a tunnel. The ladder lets the stream degrade instead of buffer.
Why / The Problem
Before 2015 (Netflix's own account), every title at a resolution tier used the same fixed rungs. That ladder had to survive the hardest content — so every cartoon and chat show paid the chase scene's bill, while the very hardest content could still come out starved.
| Fixed ladder | Per-title (later per-shot) ladder | |
|---|---|---|
| Simple title dialogue, flat animation | Same bitrate as complex content — wasted bits | Lower bitrate, same visual quality |
| Complex title motion, grain, rapid cuts | Can be insufficient — blocking and blur | More bits exactly where needed |
| Decided by | Resolution tier alone | Measured difficulty of this source |
| 1.00× bits at 1080p; quality saturated well below this | Fixed ladder — animated title |
| ~0.4× same VMAF, far fewer bits | Per-title ladder |
| 1.00× same bits — visibly under-served on fast pans | Fixed ladder — action title |
| ~1.3× target VMAF met — more bits, where they're visible | Per-title ladder |
| Per-title doesn't always save bits: one ladder is simultaneously too generous and too stingy, and only measurement tells you which. Illustrative ratios. | |
How a Ladder Actually Gets Built
Netflix encodes many resolution / bitrate / QP candidates per title and scores each with VMAF, its open-source perceptual metric. Rungs may only sit on the convex hull of those points: any point below it is dominated (equal-or-better VMAF exists at equal-or-lower bitrate). Choosing a ladder becomes selection, not tuning — and two titles end up with genuinely different ladders. ◆ Side read: how the hull is built — curves, saturation, crossovers →
What the two ladders end up looking like:
| Podcast — easy content | Action film — hard content | |
|---|---|---|
| Rung 1 | 360p @ 220 kbps | 360p @ 400 kbps |
| Rung 2 | 540p @ 500 | 540p @ 900 |
| Rung 3 | 1080p @ 1200 | 720p @ 1800 |
| Rung 4 | 1080p @ 2200 | 720p @ 3000 |
| Rung 5 | 1080p @ 3000 — top, saturated | 1080p @ 4500 |
| Rung 6 | — | 1080p @ 6200 |
| Rung 7 | — | 1080p @ 8000 |
| Rungs total | 5 | 7 |
- Rung values — every podcast rung is lower.
- Resolution assignment — the podcast hits 1080p at rung 3 (1200 kbps); the action film not until rung 5 (4500), since below that 720p looks better.
- Rung count — the podcast ladder ends early: a 6000 kbps rung identical to 3000 would triple bytes for nothing. A fixed table has a fixed count; a per-title ladder stops when quality stops improving. The most-missed point.
Per-Shot: What Lives Inside One Rendition
A title is a business unit, not a compression unit: thirty minutes of dialogue and a five-minute climax share one ladder that overpays the first and starves the second. Netflix's "dynamic optimizer" (publicized ~2018) splits the title into shots at scene cuts, runs the hull optimization per shot, and stitches the chosen encodes back into each rendition.
The result: a rung is no longer a single bitrate — it's roughly a quality level. Bitrate wanders across the title so that quality can stay still.
How each shot's bits are chosen
A rung is a bandwidth budget for a given connection speed. So the rule is not "hit VMAF 93 on every shot" — chasing a score would blow the budget on the hardest shots. The question is "where would the next bit do the most good?"
| Shot | What one more Mbps would buy there | Verdict |
|---|---|---|
| Chase | +4.0 VMAF | Underfed — bits worth a lot |
| Dialogue | +0.3 VMAF | Overfed — bits nearly wasted |
Move 1 Mbps from dialogue to chase: the chase gains about 4 points, the dialogue loses 0.3, and the file stays the same size. Keep trading until every shot pays about the same. That's why dialogue lands at 1400, not 5000: the shots bid against each other for one budget.
One dial sets how generous the file is: a price a shot must beat to get more bits. A high price gives a lean file; a low price gives a rich one. Each dial setting produces one rung. Sweep the dial from stingy to generous and you get the whole ladder. For a four-shot title, each cell is the bitrate (kbps) of that shot inside that rendition:
| Shot 1 static | Shot 2 action | Shot 3 dialogue | Shot 4 chase | |
|---|---|---|---|---|
| 1080p-low | 900 | 3000 | 1000 | 3500 |
| 1080p-med | 1200 | 5000 | 1400 | 6000 |
| 1080p-high | 2400 | 8000 | 2600 | 9500 |
Read a row and you have one rendition — one file, one rung. The player only ever picks a row. Read a column and you have one shot's menu: shot 1 was offered 900 / 1200 / 2400, and each rendition takes exactly one. (Internal resolution can also vary per shot, scaled to the rendition's output size.)
What the rung's label actually means
Because bitrate varies inside the file, a label like "1080p @ 4500" is measured, not decreed: total bits ÷ running time, weighted by how long each shot lasts. The 1080p-med row:
| Shot | Bitrate here | Share of runtime | Contribution |
|---|---|---|---|
| Static | 1200 | 30% | 360 |
| Action | 5000 | 20% | 1000 |
| Dialogue | 1400 | 40% | 560 |
| Chase | 6000 | 10% | 600 |
| What this rung advertises | ≈ 2520 kbps | ||
No shot is actually at 2520. Give the four shots equal screen time and the same encodes would be labelled 3400.
An average alone could also hide a 20 Mbps minute that stalls the very viewer the rung targets. So the encoder also obeys a buffer model that caps short-term peaks, and manifests publish a peak beside the average (HLS: AVERAGE-BANDWIDTH and BANDWIDTH). The average names the rung; the cap keeps it honest.
At Play Time: How a Rung Gets Chosen, and How the Bytes Arrive
When we say "the player picks 1080p", three separate things are going on:
- What you're allowed to get — set by your device, your plan and your data setting. Decided once, before playback starts.
- What the player chooses — which rung to fetch for the next few seconds of video. This is the only decision made live, while you watch.
- What the appliance sends — exactly the bytes the player asks for. The appliance makes no choices at all.
1. Video moves in segments, and every rung is cut at the same points
The player doesn't download a whole file, and it doesn't download one frame at a time. It downloads a segment: a short slice of video, usually 2–10 seconds long. Asking for single frames would mean about 24 requests every second. Segments keep that overhead small, but are still short enough that the player can change its mind every few seconds. (Segments have nothing to do with the shots from per-shot encoding — they're cut in different places.)
Two rules make it safe to switch rungs mid-stream:
- Every rung is cut at exactly the same timestamps. Segment 40 covers the same seconds of the show on every rung.
- Every segment starts with a keyframe — a complete picture that doesn't depend on anything before it.
So the player can take segment 40 from the 3000 kbps rung and segment 41 from the 1200 kbps rung, and the decoder carries on without a hiccup. What it can't do is switch in the middle of a segment. The frames there are stored as small changes against nearby frames, and those nearby frames only exist in that one rung's file.
Key: a segment the player actually fetched · the same segment on a rung it didn’t take · the stream as delivered · a rung switch · K the keyframe that opens every segment
2. The manifest: one download that describes the whole title
Before any video is sent, the player downloads a manifest from Netflix's control plane in AWS (not from the appliance). Think of it as a map of the title. It contains:
| One entry per rung | Its resolution, average and peak bitrate, codec (H.264, VP9, HEVC, AV1) and frame rate. |
|---|---|
| Where the bytes are | Either a URL for each segment, or — what Netflix does — a byte range inside one big file per rung ("bytes 4,210,688–5,003,199"). |
| The timeline | When each segment starts. It's the same on every rung, so "412 seconds in" points to one segment on any rung. |
| Segment sizes | How big each upcoming segment is on each rung. With per-shot encoding, sizes vary a lot, and knowing them in advance is what keeps the player from being surprised (see below). |
| DRM key references | Which decryption key each rung needs. The player gets the actual key from the licence server. ◆ Side read: keys, licences and security → |
Two things about the manifest matter:
- It's made for you. It only lists rungs your device can play and your plan and data setting allow — no AV1 if your device can't decode it, no 4K on a 1080p screen. Two people in the same room can get different ladders.
- It covers the whole title, credits included. So seeking or switching rungs is just two steps: look up the byte range, then send an HTTP range request to the appliance. The control plane isn't involved.
Key: a request to the AWS control plane · a range request to the appliance in your ISP · lost while AWS is unreachable
| What the player needs | Where it comes from | How often |
|---|---|---|
| Rungs, byte ranges, segment sizes | The manifest | Once, when you press play |
| Video and audio bytes | The OCA | Every segment |
| Decryption keys | DRM licence, from AWS | Once; renewed now and then on long sessions |
| A different appliance | The ranked list it already holds (see Open Connect); AWS only if every appliance on it fails | Rarely |
| Bookmark and quality stats | Sent to AWS | Every so often, in the background — playback never waits for it |
3. How the player picks the next rung
For every segment, the player asks one question: which rung should I fetch next? The answer is plain arithmetic — for example: segment 41 is 3.1 MB on this rung; recent segments arrived at 2.4 MB/s; I have 18 seconds of video already downloaded.
The player switches because of the network, not because of the content. A quiet scene isn't fetched from a lower rung — it's simply smaller on the same rung. It downloads quickly and builds up a cushion of buffered video, and that cushion carries the player through the heavy action segments.
| Input | What it tells the player |
|---|---|
| Buffer level | How many seconds of video are already downloaded — in other words, how long the player can be wrong before playback stalls. Measured directly. |
| Next segment's size | Read from the manifest, for each rung. The real cost of the next choice, not an average. Known exactly. |
| Recent download speed | The only input that tries to predict the future — and the one that can mislead (see the trap below). |
| Rung limit | Not an input here. It was already applied when the manifest was built. |
A typical session goes like this:
| Start low, on purpose | The buffer is empty, so there's no room for error — and the first picture should appear in under a second. |
|---|---|
| Climb as the buffer fills, then stay put | A full buffer means the player can afford a wrong guess. Once it's deep, the player stays on its rung, even through heavy action — that's exactly what the buffer is for. |
| Drop quickly, and further than seems necessary | Say you're on a 5 Mbps rung and your connection falls to 4 Mbps. You now download only 0.8 s of video each second, so the buffer shrinks by 0.2 s every second. Dropping to the 4 Mbps rung only stops the shrinking. Dropping to the 2 Mbps rung downloads 2 s of video each second, so the buffer grows by 1 s every second. And the speed estimate was just proven wrong, so it shouldn't be trusted. A slightly softer picture for a few seconds is far better than a stall — stalls are what make people give up. |
4. What the appliance does — almost nothing
The OCA just answers normal HTTP byte-range requests ("send me bytes X to Y of this file"). It doesn't re-encode video, choose rungs, know what a ladder is, or remember anything about your session. Because of that, an appliance can be swapped out, drained or lost entirely — the player simply sends its next request to the next appliance on its list.
The player pulls; the appliance only answers. Every real decision was made either months earlier by the encoder, or milliseconds earlier by the player.
Where This Pays Off
| Payoff | Lands on | Why |
|---|---|---|
| The bandwidth bill | Cost | Most of the catalog is dialogue, sitcoms, documentary, animation, reality, standup — all overpaid under a fixed ladder. A permanent cut on the business's largest line item. |
| Weak connections get HD | Experience | A 2 Mbps viewer couldn't reach a fixed 5800 kbps 1080p; an easy title's per-title 1080p may sit at 1200. In mobile-heavy markets, a product win dressed as cost-cutting. |
| Fewer rebuffers | Experience | More headroom at equal quality — and stalls are what most drive abandonment. |
| Data caps stretch | Experience | Half the data per hour means more viewing on cellular. |
| 4K and sport become viable | Experience | Hard content gets more bits without inflating the easy catalog. |
The compounding one: it multiplies the Open Connect appliances. The Open Connect part’s appliances have fixed disk; shrink the average title 30% and each holds ~30% more titles with no new hardware — more local hits, better quality, less transit. Better compression buys cache capacity, and cache capacity buys everything else.
The Invariants
- Guarantees: Each title's bitrate at each quality tier is chosen from measured, Pareto-optimal encode points for that content — not a generic table.
- Does not guarantee: A fixed resolution–bitrate relationship across titles. Two titles' 1080p renditions can sit at very different bitrates, because "1080p" is pixel count, not encoding difficulty.