Expand description
Hardware-accelerated video decoding.
When the hardware feature is enabled, this module provides
HardwareAccelerationMode for controlling hardware decoder selection and internal
helpers that set up an FFmpeg hardware device context, configure the
decoder, and transfer decoded frames from GPU to system memory.
The public entry point is HardwareAccelerationMode, which is threaded through
ExtractOptions via
with_hardware_acceleration.
§Platform Support
Hardware acceleration availability depends on both the FFmpeg build and the host system’s GPU drivers. When auto-detection fails, the decoder silently falls back to software decoding.
Enums§
- Hardware
Acceleration Mode - Hardware acceleration mode for video decoding.
- Hardware
Device Type - Supported hardware device types for accelerated decoding.
Functions§
- available_
hardware_ devices - List all hardware device types supported by the FFmpeg build.