waterkit-codec 0.1.1

Hardware-aware video codec with deterministic timing and wgpu texture output
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.

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 wgpu textures.

Installation

[dependencies]
waterkit-codec = "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 waterkit_codec::{VideoDecoder, CodecType};

let decoder = VideoDecoder::new(CodecType::H264).unwrap();
// decoder.decode(packet)...