13 releases

0.1.12 Mar 18, 2021
0.1.11 Mar 18, 2021

#529 in WebAssembly

MIT license

10MB
41K SLoC

FFMPEG crate for WebAssembly/WASI

This crate bundles FFMPEG's libraries, precompiled for WebAssembly. No native installation required.

Compatible with Fastly's Compute@Edge.

Includes VP9 and AV1 encoders.

These are low-level bindings, directly exposing the original C functions to Rust.

Usage

[dependencies]
ffmpeg-wasi = "0"
use ffmpeg_wasi::*;

#[global_allocator]
static ALLOCATOR: FFMpegAllocator = FFMpegAllocator;

lib.rs:

FFMPEG low-level bindings for Rust, precompiled for WebAssembly/WASI.

This crate bundles FFMPEG's avcodec and avformat libraries, precompiled for WebAssembly. No native installation required.

Compatible with Fastly's Compute@Edge.

These are low-level bindings, directly exposing the original C functions to Rust.

Usage

[dependencies]
ffmpeg-wasi = "0"

No runtime deps