Skip to main content

build_output_caps

Function build_output_caps 

Source
pub fn build_output_caps() -> OutputCaps
Expand description

Output capabilities of this build — the union over every compiled encoder path. 10-bit + HDR comes from NVENC (nvidia), AMF (amd), QSV (qsv, via the in-repo P010 path), or the ffmpeg software/hwaccel encoders; a build with no encoder feature is 8-bit. Callers (e.g. rivet’s OutputSpec::validate) use this to reject a format the build can’t produce.