PitchHut logo
A memory-safe multimedia processing library in pure Rust.
Pitch

OxiMedia is a comprehensive solution combining the capabilities of FFmpeg and OpenCV into a patent-free, memory-safe multimedia framework. Built entirely in Rust, it delivers efficient media processing and computer vision features with zero unsafe code, ensuring reliability and performance across all applications.

Description

OxiMedia is a pure Rust multimedia and computer vision framework, unifying the functionalities of both FFmpeg and OpenCV into a patent-free and memory-safe library. This framework stands out due to its clean room reconstruction of widely-used multimedia processing tools, ensuring a cohesive experience for developers and engineers.

Key Features

  • Comprehensive Multimedia Processing: OxiMedia includes support for a wide array of codecs such as AV1, VP9, Opus, and FLAC, enabling robust encoding and decoding capabilities.
  • Computer Vision Functionality: The framework provides advanced computer vision features, including object detection, motion tracking, and video enhancement.
  • Architectural Excellence: Built on sound design principles, OxiMedia is:
    • Patent-Free: Utilizing only royalty-free codecs, it provides a legal safeguard against patent issues.
    • Memory Safe: With zero unsafe code, it guarantees memory safety through compile time checks, making applications more reliable.
    • Async-First: Leveraging Tokio for concurrency, OxiMedia is designed for performance, capable of handling multiple processes simultaneously.
    • Single Binary: Deploy applications with ease as OxiMedia requires no external DLL dependencies.
    • WASM Ready: The framework is optimized for use in browser environments without the need for transcoding servers.
    • 100% Pure Rust: Unlike many other frameworks dependent on C/Fortran, OxiMedia's design utilizes completely pure Rust features.

Comprehensive Domains

FFmpeg Domain

OxiMedia supports a complete range of functionalities from the FFmpeg domain, including:

  • Codec Management: Extensive encoding/decoding support (AV1, VP9, Opus, etc.).
  • Container Management: File format support including MP4, MKV, and more.
  • Networking & Streaming: Protocols like HLS, DASH, and WebRTC for real-time media delivery.

OpenCV Domain

In the realm of computer vision:

  • OxiMedia enables various operations like motion tracking, quality assessment, and scene analysis.
  • It supports professional image I/O formats such as DPX, OpenEXR, and TIFF, ensuring high-quality output.

Usage Example

To get started with OxiMedia in a project, a simple command to add it as a dependency is:

cargo add oximedia

For usage within a Rust application:

use oximedia::prelude::*;

// Probe a media file
let data = std::fs::read("video.webm")?;
let result = probe_format(&data)?;
println!("Format: {:?}, Confidence: {:.1}%,", result.format, result.confidence * 100.0);

Status and Contributing

As a production-grade framework, OxiMedia features a variety of crates (a total of 92) with 60 classified as stable, ready for integration into enterprise applications. OxiMedia encourages contributions, aligning with stringent development practices including no warnings policy and robust documentation.

Support & Sponsorship

OxiMedia is maintained by the COOLJAPAN team. Sponsorship opportunities are available to support continuous development, expansion of features, and maintenance of this innovative, safe, and free multimedia framework.

0 comments

No comments yet.

Sign in to be the first to comment.