|4.4.0||May 13, 2021|
|4.3.4||Jan 29, 2021|
|4.3.3||Oct 20, 2020|
|4.3.1||Aug 1, 2020|
#32 in Video
133 downloads per month
Used in 2 crates (via ffav)
This crate contains low level bindings to FFmpeg. You're probably interested in the high level bindings instead: ffav-rs.
A word on versioning: major and minor versions track major and minor versions of FFmpeg, e.g. 4.2.x of this crate has been updated to support the 4.2.x series of FFmpeg. Patch level is reserved for bug fixes of this crate and does not track FFmpeg patch versions.
To build with cross toolchain, you shoud be set
to tell the
clang where to find the headers, if not do this, the
bindgen maybe raise an error like:
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found /usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found, err: true thread 'main' panicked at 'Unable to generate baldrapi.h bindings: ()', src/libcore/result.rs:1009:5
For example, to build with
# .cargo/config.toml: [target.aarch64-unknown-linux-gnu] linker = "aarch64-linux-gnu-gcc"
# Shell commands: export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=/usr/aarch64-linux-gnu" cargo build --target=aarch64-unknown-linux-gnu --features=bundled