13 releases
0.1.12 | Mar 18, 2021 |
---|---|
0.1.11 | Mar 18, 2021 |
#1046 in WebAssembly
219 downloads per month
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"