docs.rs failed to build yscv-video-0.1.6
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.
Visit the last successful build:
yscv-video-0.2.0
yscv-video
H.264 and HEVC video decoders, MP4/MKV container parsers, hardware decode, and camera input. Pure Rust, no FFmpeg.
use Mp4VideoReader;
let mut reader = open?;
while let Some = reader.next_frame?
Capabilities
| Feature | Details |
|---|---|
| H.264 decode | CAVLC, CABAC, I/P/B slices, 4x4/8x8 DCT, weighted prediction |
| HEVC decode | CTU quad-tree, branchless CABAC, 8-tap MC, SAO, deblock |
| MP4 parse | Streaming moov-only reader, O(1) memory per frame |
| MKV parse | EBML demuxer with frame index |
| HW decode | VideoToolbox (macOS), VA-API (Linux), NVDEC, MediaFoundation |
| Camera | Live capture via Nokhwa (optional) |
| Audio | AAC/ALAC/Opus/Vorbis/MP3/FLAC codec detection |
| Color | YUV420→RGB8 with NEON/SSE2 SIMD |
Performance
- H.264 decode: 4.5x faster than ffmpeg (1080p, Apple M-series)
- HEVC decode: 1.3x faster than ffmpeg (P/B frames)
- 29 NEON + 31 SSE2 SIMD functions with runtime dispatch
Features
[]
= [] # macOS HW decode
= [] # Linux HW decode
= [] # NVIDIA HW decode
= [] # Windows HW decode
= [] # Live camera input
Tests
220 tests covering decode correctness, container parsing, edge cases.