Skip to main content

BAND_SLICES_MAX

Constant BAND_SLICES_MAX 

Source
const BAND_SLICES_MAX: usize = 8;
Expand description

The most slices an HEVC band frame takes to start one at its band (set_band_layout). NVENC sizes a frame’s slices evenly, so a band starting within the first eighth of the picture would take more, each a header a low rate’s frame cannot spare: at 60 fps and 0.5 Mbit/s, 40 to 60 of them took most of a band frame’s bytes and left its band coarse.