Uses old Rust 2015
|new 6.1.0||Dec 3, 2023|
|6.0.1||Mar 13, 2023|
|5.1.1||Aug 8, 2022|
|5.0.1||Feb 17, 2022|
|4.3.1||Jul 30, 2020|
#46 in Video
15,233 downloads per month
Used in 48 crates (8 directly)
This crate contains low level bindings to FFmpeg. You're probably interested in the high level bindings instead: ffmpeg-next.
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.
In addition to feature flags declared in
Cargo.toml, this crate performs various compile-time version and feature detections and exposes the results in additional flags. These flags are briefly documented below; run
cargo build -vv to view more details.
ffmpeg_<x>_<y>flags (new in v4.3.2), e.g.
ffmpeg_4_4, indicating the FFmpeg installation being compiled against is at least version
<x>.<y>. Currently available:
avcodec_version_greater_than_<x>_<y>(new in v4.3.2), e.g.,
avcodec_version_greater_than_58_90. The name should be self-explanatory.
ff_api_vaapi, corresponding to whether their respective uppercase deprecation guards evaluate to true.
ff_api_vappi_is_defined, similar to above except these are enabled as long as the corresponding deprecation guards are defined.