docs.rs failed to build waterkit-codec-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Waterkit Codec
Low-level hardware-accelerated media encoding and decoding.
Overview
This crate provides a unified interface for accessing system media codecs. It is primarily used internally by waterkit-video and waterkit-audio but can be used for custom media processing pipelines.
Features
- Hardware Acceleration: Uses specific hardware APIs where available.
- Formats: H.264, H.265 (HEVC), AAC.
- Zero-Copy: Optimized for efficient frame passing to
wgputextures.
Installation
[]
= "0.1"
Platform Support
| Platform | Technology |
|---|---|
| macOS/iOS | VideoToolbox |
| Android | MediaCodec (NDK/JNI) |
| Windows | Media Foundation |
| Linux | VA-API / rav1d |
Usage
Specific usage examples are advanced. Typically, use waterkit-video for playback.
// Example: Concept of creating a decoder
use ;
let decoder = new.unwrap;
// decoder.decode(packet)...