-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi,
thanks for this great project. With the release of FFmpeg 8 this library does not work anymore. I get this error message, where cargo is searching for the header files. I think they were removed...?
cargo:avcodec_version_greater_than_61_107=true
cargo:rustc-cfg=feature="ffmpeg_3_0"
cargo:ffmpeg_3_0=true
cargo:rustc-cfg=feature="ffmpeg_3_1"
cargo:ffmpeg_3_1=true
cargo:rustc-cfg=feature="ffmpeg_3_2"
cargo:ffmpeg_3_2=true
cargo:rustc-cfg=feature="ffmpeg_3_3"
cargo:ffmpeg_3_3=true
cargo:rustc-cfg=feature="ffmpeg_3_1"
cargo:ffmpeg_3_1=true
cargo:rustc-cfg=feature="ffmpeg_4_0"
cargo:ffmpeg_4_0=true
cargo:rustc-cfg=feature="ffmpeg_4_1"
cargo:ffmpeg_4_1=true
cargo:rustc-cfg=feature="ffmpeg_4_2"
cargo:ffmpeg_4_2=true
cargo:rustc-cfg=feature="ffmpeg_4_3"
cargo:ffmpeg_4_3=true
cargo:rustc-cfg=feature="ffmpeg_4_4"
cargo:ffmpeg_4_4=true
cargo:rustc-cfg=feature="ffmpeg_5_0"
cargo:ffmpeg_5_0=true
cargo:rustc-cfg=feature="ffmpeg_5_1"
cargo:ffmpeg_5_1=true
cargo:rustc-cfg=feature="ffmpeg_6_0"
cargo:ffmpeg_6_0=true
cargo:rustc-cfg=feature="ffmpeg_6_1"
cargo:ffmpeg_6_1=true
cargo:rustc-cfg=feature="ffmpeg_7_0"
cargo:ffmpeg_7_0=true
cargo:rustc-cfg=feature="ffmpeg_7_1"
cargo:ffmpeg_7_1=true
--- stderr
fatal error: '/usr/include/libavcodec/avfft.h' file not found
thread 'main' panicked at /Users/n2o/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ffmpeg-sys-next-7.1.3/build.rs:1619:10:
Unable to generate bindings: ClangDiagnostic("fatal error: '/usr/include/libavcodec/avfft.h' file not found\n")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtraceI am using macOS 26, ffmpeg 8.0.1
> ffmpeg -v
ffmpeg version 8.0 Copyright (c) 2000-2025 the FFmpeg developers
built with Apple clang version 17.0.0 (clang-1700.3.19.1)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels