Three checks before you trust a hardware encoder
- Is the encoder compiled in?
ffmpeg -encoders | grep <name>. Homebrew/apt builds enable VideoToolbox/NVENC/QSV by default in 2026, but custom builds may not. - Does the kernel/driver expose the device?
ffmpeg -hwaccelslists what's available. On Linux/NVIDIA, you also need a recent driver and CUDA libraries. - Does it actually run? Encode a 5-second clip and watch wall-clock time and quality. A misconfigured pipeline silently falls back to software encoding — at the same flags.
Per-platform checklist
- Apple Silicon — VideoToolbox is in every Homebrew build. Just works.
- Linux + NVIDIA — install the proprietary driver + nvidia-cuda-toolkit. Verify with
nvidia-smi; FFmpeg sees NVENC/NVDEC after that. - Linux + Intel iGPU — install
intel-media-driver(ori965-va-driver); verify withvainfo. FFmpeg usesqsvorvaapi. - Windows + NVIDIA / AMD — drivers + CUDA toolkit (NVIDIA) or AMF SDK (AMD). Most builds work out of the box.