ffmpeg-the-third/ffmpeg-sys-the-third
kieran bdc65868e7
Some checks failed
build / Windows - FFmpeg 4.4 - build, test and lint (push) Has been cancelled
build / Windows - FFmpeg 5.0 - build, test and lint (push) Has been cancelled
build / Windows - FFmpeg 5.1 - build, test and lint (push) Has been cancelled
build / Windows - FFmpeg 6.0 - build, test and lint (push) Has been cancelled
build / Windows - FFmpeg 6.1 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 4.3 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 4.2 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 4.4 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 5.1 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 6.1 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 7.0 - build, test and lint (push) Has been cancelled
build / Linux - FFmpeg 7.1 - build, test and lint (push) Has been cancelled
build / macOS - FFmpeg 4 - build, test and lint (push) Has been cancelled
build / macOS - FFmpeg 5 - build, test and lint (push) Has been cancelled
build / macOS - FFmpeg 6 - build, test and lint (push) Has been cancelled
build / macOS - FFmpeg 7 - build, test and lint (push) Has been cancelled
build / Windows - FFmpeg 7.0 - build, test and lint (push) Has been cancelled
build / Windows - FFmpeg 7.1 - build, test and lint (push) Has been cancelled
build / msrv (push) Has been cancelled
fix versions for sws/swr/avfi
2024-11-21 14:25:09 +00:00
..
2023-01-23 09:59:27 -05:00
2024-11-21 14:25:09 +00:00
2024-11-01 11:02:46 -04:00
2024-04-29 21:39:18 -04:00
2024-11-06 07:37:03 -05:00

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.