9 stable releases (3 major)

4.0.0+ffmpeg-8.0 Sep 11, 2025
3.0.1+ffmpeg-7.1 Jun 13, 2025
3.0.0+ffmpeg-7.1 Dec 17, 2024
2.0.0+ffmpeg-7.0 May 6, 2024
1.0.0+ffmpeg-5.1.2 Jan 23, 2023

#696 in Video

Download history 361/week @ 2025-08-27 371/week @ 2025-09-03 578/week @ 2025-09-10 276/week @ 2025-09-17 343/week @ 2025-09-24 275/week @ 2025-10-01 205/week @ 2025-10-08 310/week @ 2025-10-15 456/week @ 2025-10-22 323/week @ 2025-10-29 293/week @ 2025-11-05 115/week @ 2025-11-12 58/week @ 2025-11-19 49/week @ 2025-11-26 109/week @ 2025-12-03 76/week @ 2025-12-10

328 downloads per month
Used in 11 crates (via ffmpeg-the-third)

WTFPL license

79KB
1.5K SLoC

ffmpeg-sys-the-third on crates.io build

This is a fork of the abandoned ffmpeg-sys crate. You can find this crate as ffmpeg-sys-the-third on crates.io.

This crate contains low level bindings to FFmpeg. You're probably interested in the high level bindings instead: ffmpeg-next.

A word on versioning: The crate version includes the maximum supported FFmpeg version for each release. E.g. ffmpeg-sys-the-third@2.0.0+ffmpeg-7.0 supports up to FFmpeg 7.0. The minimum supported FFmpeg version at the moment is 4.2.

Feature flags

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, e.g. ffmpeg_4_4, indicating the FFmpeg installation being compiled against is at least version <x>.<y>. Currently available:

    • "ffmpeg_4_3"
    • "ffmpeg_4_4"
    • "ffmpeg_5_0"
    • "ffmpeg_5_1"
    • "ffmpeg_6_0"
    • "ffmpeg_6_1"
    • "ffmpeg_7_0"
    • "ffmpeg_7_1"
  • avcodec_version_greater_than_<x>_<y>, e.g., avcodec_version_greater_than_58_90. The name should be self-explanatory.

  • ff_api_<feature>, e.g. ff_api_vaapi, corresponding to whether their respective uppercase deprecation guards evaluate to true.

  • ff_api_<feature>_is_defined, e.g. ff_api_vappi_is_defined, similar to above except these are enabled as long as the corresponding deprecation guards are defined.

Dependencies

~0–2.2MB
~43K SLoC