Skip to content

nvenc-headers

Version 2026.149.1210
Repo superproject

NVIDIA Video Codec SDK headers (ffnvcodec / nvEncodeAPI.h) for building NVENC-capable encoders. Installs the ffnvcodec-headers (nv-codec-headers) package on Arch, which ships the NVENC/NVDEC API headers under /usr/include/ffnvcodec plus the ffnvcodec.pc pkg-config descriptor. Build-time only — used by the cuda-arch-builder so pixelflux’s nvenc-sys crate can compile the real NvencEncoder. Kept out of the shared cuda layer so the many CUDA runtime images (comfyui, jupyter-ml, immich-ml, …) don’t cascade-rebuild for a build-only header. Verifiable: the headers and the pkg-config descriptor must land in the built image.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
check the NVENC encode API header is installed for nvenc-sys to compile against
check the ffnvcodec pkg-config descriptor is installed so downstream builds can link against ffnvcodec
check the header declares the NvEncodeAPICreateInstance entry point the nvenc-sys crate binds to
check package=ffnvcodec-headers