#ffmpeg #audio-video #multimedia-video #video #audio

ffmpeg-rs

FFmpeg wrapper (FFmpeg 4 compatible fork of the ffmpeg crate)

5 stable releases

Uses old Rust 2015

5.2.1 Oct 13, 2022
5.2.0 Oct 12, 2022
5.1.0 Sep 1, 2022
5.0.8 Aug 27, 2022

#124 in Multimedia


Used in 3 crates (2 directly)

WTFPL license

440KB
13K SLoC

Rust FFmpeg wrapper

build

Pull requests are welcome. This is originally a fork of rust-ffmpeg crate by zmwangx.


Currently supported FFmpeg versions: 3.4.x through 4.4.x.

Build instructions can be found on the wiki.

Documentation:

Note on upgrading to v4.3.4 or later: v4.3.4 introduced automatic FFmpeg version detection, obsoleting feature flags ffmpeg4, ffmpeg41, ffmpeg42 and ffmpeg43. If you manually specify any of these features, now is the time to remove them; if you use ffmpeg43 through the default feature, it's still on for backward-compatibility but it has turned into a no-op, and you don't need to do anything. Deprecation plan: ffmpeg43 will be dropped from default features come 4.4, and all these features will be removed come 5.0.

See CHANGELOG.md for other information on version upgrades.

A word on versioning: major and minor versions of this crate 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 changes to this crate and does not track FFmpeg patch versions. Since we can only freely bump the patch level, versioning of this crate differs from semver: minor versions may behave like semver major versions and introduce backward-incompatible changes; patch versions may behave like semver minor versions and introduce new APIs. Please peg the version you use accordingly.

Dependencies

~0.1–5.5MB
~52K SLoC