Back to browse
GitHub Repository

OxiMedia is the Sovereign Media Framework - A patent-free, memory-safe multimedia processing library written in pure Rust. Pure Rust reconstruction of both FFmpeg (multimedia processing) and OpenCV (computer vision) — unified in a single cohesive framework.

204 starsRust

OxiMedia – Pure Rust Reconstruction of FFmpeg and OpenCV

by kitasan·Mar 8, 2026·11 points·11 comments

AI Analysis

MidBold BetWizardry

1.36M LOC pure Rust reimplementation—v0.1.0, APIs stabilized, perf unproven.

Strengths
  • #![forbid(unsafe)] workspace-wide guarantees memory safety without runtime checks
  • Patent-free codec-only approach (AV1, VP9, Opus) removes licensing complexity
  • Unified FFmpeg+OpenCV surface reduces context switching for multimedia+vision tasks
Weaknesses
  • V0.1.0: no performance benchmarks against FFmpeg/rav1e/dav1d, claims unvalidated at scale
  • Massive scope (92 crates, 1.36M SLOC) means incomplete feature parity for years; production risk unclear
Target Audience

Multimedia engineers, video/image processing teams, embedded and WASM developers

Similar To

FFmpeg · OpenCV · GStreamer

Post Description

Author here. OxiMedia is a clean-room reconstruction of FFmpeg and OpenCV in pure Rust. v0.1.0, 92 crates, ~1.36M lines.

Key decisions: `#![forbid(unsafe_code)]` workspace-wide, patent-free codecs only (AV1/VP9/Opus/FLAC -- no H.264/H.265/AAC ever), async on Tokio, zero C/Fortran deps in default features, native WASM target.

This is v0.1.0 -- APIs are stabilized but not yet battle-tested at scale. Performance benchmarks vs FFmpeg/rav1e/dav1d coming soon.

Feedback on API design welcome, especially the filter graph and transcoding pipeline.

GitHub: https://github.com/cool-japan/oximedia

Similar Projects

Open Source●●●Banger

Aurea, a lossy image codec I built from scratch that beats JPEG (Rust)

Beats JPEG with zero-bit saliency fields and full 4:4:4 chroma — rare codec craft in Rust.

WizardryBig BrainDark Horse
Symphoenix
402mo ago