Documentation
¶
Overview ¶
Package hwdetect probes the host OS for available hardware acceleration backends. Detection is based on device files and PCI vendor IDs — no FFmpeg subprocess is needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Available ¶
Available returns the list of HWAccel backends that appear to be present on the current host. domain.HWAccelNone (CPU) is always included first.
Detection rules (Linux):
- NVENC: /dev/nvidia0 exists
- VAAPI: any /dev/dri/renderD* device exists
- QSV: VAAPI device present AND at least one PCI device with Intel vendor (0x8086)
Detection rules (macOS):
- VideoToolbox: always available on darwin
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.