Skip to main content

Crate viser_ladder

Crate viser_ladder 

Source
Expand description

Bitrate ladder selection with crossover enforcement.

Picks the best N rungs from a convex hull (Pareto frontier) using greedy VMAF-target selection, while enforcing resolution crossovers and bitrate/quality constraints. Also provides pre-built fixed ladders (Netflix, Apple HLS) for baseline comparison.

Part of the viser video-encoding-optimizer workspace.

Structs§

FixedLadder
A fixed (non-optimized) bitrate ladder for comparison.
FixedRung
A single rung of a fixed ladder: a resolution paired with a bitrate.
Ladder
Ordered set of rungs from lowest to highest quality.
Opts
Constraints and target count controlling ladder selection.
Rung
One level in a bitrate ladder.

Functions§

apple_hls
Apple’s HLS encoding recommendations (approximate, 2024).
netflix_old
Netflix’s original fixed bitrate ladder (2015).
select
Picks the best N rungs from the convex hull to form a bitrate ladder.