13 releases

0.1.12 Mar 18, 2021
0.1.11 Mar 18, 2021

#1046 in WebAssembly

Download history 10/week @ 2024-02-19 4/week @ 2024-02-26 2/week @ 2024-03-11 217/week @ 2024-04-01

219 downloads per month

MIT license

37MB
41K SLoC

Contains (static library, 17MB) wasm-libs/libavcodec.a, (static library, 5.5MB) wasm-libs/libaom.a, (static library, 3.5MB) wasm-libs/libavfilter.a, (static library, 2.5MB) wasm-libs/libavformat.a, (static library, 2.5MB) wasm-libs/libavutil.a, (static library, 1.5MB) wasm-libs/libvpx.a and 3 more.

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