Expand description
Video decoder with hardware acceleration support.
Implements FFmpeg-based video decoding with automatic hardware acceleration detection (VAAPI, NVDEC, VideoToolbox) and graceful fallback to software decoding. Decoding runs on a dedicated thread and pushes frames through a bounded channel so memory stays flat no matter how long the video is.
The decode thread also listens on a control channel, so pause, resume and seek take effect immediately instead of waiting for the consumer.
Structs§
- Decoder
Info - Information about the active decoder.
- Video
Decoder - Video decoder with hardware acceleration support.
- Video
Frame - Video frame ready for texture upload.
- Video
Metadata - Video metadata extracted from the file.
Enums§
- HwAccel
- Hardware acceleration backend.
Traits§
- Video
Source - Trait for video sources - allows different format implementations.