COOLJAPAN
← All posts

OxiMedia 0.1.6 Released — Stub Resolution, Codec Completeness, and a 9-Module EXR Refactor

OxiMedia 0.1.6 — patent-free, memory-safe FFmpeg + OpenCV replacement in pure Rust. This release resolves 13 codec stubs (accel color conversion, Vorbis VQ decode, ACES ODT variants), upgrades to OxiFFT 0.3.0 for a ~4x faster DCT-II, and splits the EXR reader into 9 modules. 108 crates, 81,582 tests, zero C/Fortran in default builds.

release oximedia ffmpeg opencv computer-vision video-processing codecs pure-rust wasm aces

The pure-Rust FFmpeg + OpenCV replacement just closed a wave of codec gaps and got faster spectral math.

Today we released OxiMedia 0.1.6 — a patent-free, memory-safe reconstruction of both FFmpeg (multimedia processing) and OpenCV (computer vision), unified into a single pure-Rust framework.

No C. No C++. No FFmpeg binaries. No OpenCV Python bindings. No pkg-config, no LD_LIBRARY_PATH, no brew install ffmpeg opencv. OxiMedia compiles to a single static binary (or to wasm32-unknown-unknown for the browser) and runs everywhere — laptops, edge servers, cloud, and the web — with zero system libraries and zero patent royalties.

Why OxiMedia 0.1.6 matters

For decades, professional media and computer-vision work meant living inside the massive C/C++ ecosystems of FFmpeg and OpenCV — with their complex build systems, segfault-prone manual memory management, heavy system dependencies, and patent royalties on common codecs (H.264, HEVC, AAC).

0.1.6 is a consolidation release: it turns scaffolding into working code and pays down internal debt. Concrete wins, all grounded in this cycle’s work:

At 0.1.6 the workspace is 108 crates and ~2.69M lines of pure Rust — every crate marked stable.

Technical Deep Dive: how the layers fit

The framework is organized into clean functional layers across its 108 workspace crates:

  1. Foundation (oximedia-core, oximedia-gpu, oximedia-simd, oximedia-accel) — wgpu compute shaders, hand-written SIMD kernels, an async Tokio job queue, zero-copy buffers, and the color-space conversion helpers filled in this cycle.

  2. Codecs & Containers (oximedia-codec, oximedia-container) — royalty-free codecs only: AV1, VP9, VP8, Theora, Opus, Vorbis, FLAC, MP3, packed into MP4, MKV, MPEG-TS, and OGG. Streaming via HLS, DASH, RTMP, SRT, WebRTC, and SMPTE 2110.

  3. Computer Vision & Effects (oximedia-cv, oximedia-effects, oximedia-image) — detection, tracking, denoising, stabilization, scene and shot detection, color management (ICC, ACES, HDR), professional image I/O (DPX, OpenEXR, TIFF), and quality metrics (PSNR, SSIM, VMAF).

  4. Pipeline & Production — DAG filter graphs, live streaming, broadcast switching, timeline editing, packaging (CMAF, DRM/CENC), and media asset management.

Workspace-wide guarantees hold: unsafe_code = "deny", single static binary deployment, full WASM + WebGPU support, and zero C/Fortran dependencies in default features (the math comes from the pure-Rust OxiFFT and SciRS2).

Getting Started

cargo add oximedia

A minimal transcode-to-AV1 pipeline reads, encodes, and writes — all in pure Rust, no system FFmpeg required:

use oximedia::prelude::*;

fn main() -> oximedia::Result<()> {
    // Decode an input, re-encode video to royalty-free AV1, and mux to MP4.
    let input = MediaReader::open("input.mkv")?;
    let mut output = MediaWriter::create("output.mp4")?;

    output.set_video_codec(VideoCodec::Av1)?;
    output.set_audio_codec(AudioCodec::Opus)?;

    for frame in input.frames() {
        output.write_frame(frame?)?;
    }

    output.finalize()?;
    Ok(())
}

What’s New in 0.1.6

Tips

This is the foundation

OxiMedia is the pure-Rust media and computer-vision layer of the COOLJAPAN ecosystem, and 0.1.6 leans on its siblings directly:

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

Star the repo if you’re tired of FFmpeg/OpenCV build hell and patent worries.

Pure Rust media and computer vision is here — fast, safe, patent-free, and sovereign.

KitaSan at COOLJAPAN OÜ April 26, 2026

↑ Back to all posts