encoding.info
You are hereSourcePredictionTransformEntropy codingFiltersFramesDecisionsRate controlPerceptionQualityBitstreamSettingsEncoder map
Page 3 of 4 in Measuring quality

Convex hull and per-title encoding

Measuring quality · concept · added 2026-11-15

In Brief:
The bitrate at which a larger picture starts to pay off depends on the content. Per-title encoding uses trial encodes of each title to choose its ladder of sizes and bitrates, in place of one table for every title.

A streaming service encodes each title several times, at different sizes and bitrates, so a player can pick what its connection carries. That list is the bitrate ladder. A fixed ladder uses one table for every title. Per-title encoding measures each title and builds its own table, because the bitrate at which a larger picture starts to pay off depends on the content.

Find the best size for a bit budget

The cat is coded at three sizes: 32×32, and halved once and twice before coding. Each size is coded at 13 values of the quantization parameter (QP), and every decode is scaled back to 32×32 and compared with the full-size source by peak signal-to-noise ratio (PSNR). Bits are a modeled coefficient cost, not a written stream, and every number here, the switch points included, belongs to these 39 samples and that price list. Set a budget: the table gives the best encode of each size that fits, and the ring marks the best of all. The wide band is the best sample within each budget. It is a staircase: between two samples nothing else was coded. Its corners are the nondominated samples, those that no other sample matches or beats in quality with as few bits. Netflix's post on per-title encoding calls the boundary where each size is best the convex hull; a strict convex hull can leave out more samples, as the line under the plot counts.

600 bits
← 100 bits6000 bits →
Source
32×32
16×16
8×8
SizeQPBitsPSNR, dB
32×32
16×16
8×8
Quality (PSNR, dB) against modeled bits, logarithmic scale
Teal: 32×32Gray: 16×16Coral: 8×8Wide band: best sample within each budget

Best size
Its PSNR
32×32 leads from
Simplified demo: one picture stands for a title. The three sources are invented: the cat, the cat blurred, and the cat with grain. Pictures are halved by averaging 2×2 pixels and scaled back by bilinear interpolation, and each panel shows the scaled-back decode; a gray panel means no encode of that size fits. Coding is the course's 4×4 transform with intra prediction. Modeled bits charge each nonzero level the length of a signed Exp-Golomb code and each zero half a bit, which is an invented price list. At half a bit for each coefficient a picture pays at least 512, 128 or 32 modeled bits at the three sizes, which real entropy coding need not charge zero by zero, so the price list helps set the switch points. The thin lines join the samples of one size as a guide; nothing was coded between them. The dashed line is the budget, and the highlighted row is the ringed encode.

For the cartoon cat at 600 bits:

From curves to a ladder

highmidlow Title 1Title 2
Teal rungs: full sizeGray rungs: a smaller size
Conceptual illustration: the same three bitrates for two titles. At the middle bitrate one title is best served at full size and the other at a smaller size. A fixed ladder gives both the same rung.

Netflix described the procedure in 2015: trial encodes at several sizes and quantizers, and a ladder built from the points closest to the hull.

The efficient encodes are a starting point, not the ladder. A service still chooses how many rungs to offer, how far apart, and which sizes its devices can decode: the post aims for neighboring rungs a little under one just-noticeable difference apart and adds ladders for devices limited to smaller sizes. Such limits can call for a rung that is not among the efficient encodes.

What the Netflix post says, and how quality is measured at a smaller size

For each trial encode the post measures bitrate and quality, and it interpolates a curve for each size before picking the ladder's points. This demo interpolates nothing: its budget picks only encodes that were made. The post observes what the demo shows: each size's quality levels off as bits are added, a larger picture can score below a smaller one at the same bitrate, and different sizes are best over different ranges of bitrates; nothing guarantees every size a range.

For quality at a smaller size, the documentation of Netflix's Video Multi-Method Assessment Fusion metric says to scale the decode up to the reference's size and measure there, as this page does.

Trade-offs

Sources

Read 2026-11-15 and 2026-11-16.