Per-Title Encoding: The Ladder Is Not One-Size-Fits-All

The Vocabulary First

TitleOne 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:

RungResolutionBitrateWhen the player picks it
6 (top)1920×10805800 kbpsStrong, stable connection
51920×10804300 kbpsGood connection — same pixels, fewer bits
41280×7203000 kbpsDecent broadband
3960×5401750 kbpsCongested Wi-Fi
2640×360750 kbpsWeak mobile
1 (bottom)416×234235 kbpsBarely-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 ladderPer-title (later per-shot) ladder
Simple title
dialogue, flat animation
Same bitrate as complex content — wasted bitsLower bitrate, same visual quality
Complex title
motion, grain, rapid cuts
Can be insufficient — blocking and blurMore bits exactly where needed
Decided byResolution tier aloneMeasured difficulty of this source
1.00×  bits at 1080p; quality saturated well below thisFixed ladder — animated title
~0.4×  same VMAF, far fewer bitsPer-title ladder
1.00×  same bits — visibly under-served on fast pansFixed ladder — action title
~1.3×  target VMAF met — more bits, where they're visiblePer-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 contentAction film — hard content
Rung 1360p @ 220 kbps360p @ 400 kbps
Rung 2540p @ 500540p @ 900
Rung 31080p @ 1200720p @ 1800
Rung 41080p @ 2200720p @ 3000
Rung 51080p @ 3000 — top, saturated1080p @ 4500
Rung 6—1080p @ 6200
Rung 7—1080p @ 8000
Rungs total57
  • 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?"

ShotWhat one more Mbps would buy thereVerdict
Chase+4.0 VMAFUnderfed — bits worth a lot
Dialogue+0.3 VMAFOverfed — 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 staticShot 2 actionShot 3 dialogueShot 4 chase
1080p-low900300010003500
1080p-med1200500014006000
1080p-high2400800026009500

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:

ShotBitrate hereShare of runtimeContribution
Static120030%360
Action500020%1000
Dialogue140040%560
Chase600010%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.

Three bitrate-ladder rungs against twelve time-aligned segments. Every segment on every rung opens with a keyframe, so the player's path can step between rungs at a boundary but never inside a segment.
Why a mid-stream rung switch is legal at all. Every rung is cut at the same times, and every segment starts with a keyframe — so the player can switch rungs between segments, and only there.

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 rungIts resolution, average and peak bitrate, codec (H.264, VP9, HEVC, AV1) and frame rate.
Where the bytes areEither 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 timelineWhen each segment starts. It's the same on every rung, so "412 seconds in" points to one segment on any rung.
Segment sizesHow 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 referencesWhich 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.
Three interaction rates across one fifty-minute episode: one control-plane round trip at the start, roughly 750 segment fetches from the appliance, and a few dozen small background posts. When AWS becomes unreachable partway through, only the background posts stop.
Three clocks on one playback session, at their real rates. AWS is needed to start watching, not to keep watching. That's why an outage can look like “I can't browse or start anything, but my episode keeps playing.” The one exception is a very long session that needs its licence renewed.

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 needsWhere it comes fromHow often
Rungs, byte ranges, segment sizesThe manifestOnce, when you press play
Video and audio bytesThe OCAEvery segment
Decryption keysDRM licence, from AWSOnce; renewed now and then on long sessions
A different applianceThe ranked list it already holds (see Open Connect); AWS only if every appliance on it failsRarely
Bookmark and quality statsSent to AWSEvery 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.

InputWhat it tells the player
Buffer levelHow 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 sizeRead from the manifest, for each rung. The real cost of the next choice, not an average. Known exactly.
Recent download speedThe only input that tries to predict the future — and the one that can mislead (see the trap below).
Rung limitNot an input here. It was already applied when the manifest was built.

A typical session goes like this:

Start low, on purposeThe 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 putA 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 necessarySay 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

PayoffLands onWhy
The bandwidth billCostMost 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 HDExperienceA 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 rebuffersExperienceMore headroom at equal quality — and stalls are what most drive abandonment.
Data caps stretchExperienceHalf the data per hour means more viewing on cellular.
4K and sport become viableExperienceHard 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.