Closed KevinvOosterhout closed 3 weeks ago
There is a known issue with system FFmpeg linking on macOS, but it's fixed on current master branch. Try using current master commit.
[dependencies.rusty_ffmpeg]
git = "https://github.com/CCExtractor/rusty_ffmpeg"
rev = "4011018dacd67e0651c5118d9f698e37bd80ac68"
features = ["ffmpeg7", "link_system_ffmpeg"]
Then remove the FFMPEG_INCLUDE_DIR
, FFMPEG_LIBS_DIR
env variables(if you enabled the link_system_ffmpeg
feature, rusty_ffmpeg
will invoke pkg-config
to find the FFmpeg directory and it's dependencies). Things should work.
Works perfectly, Thank you!
@KevinvOosterhout I published a new version (almost forgotten 😓 ), you can use 0.15.0
now.
[dependencies.rusty_ffmpeg]
features = ["ffmpeg7", "link_system_ffmpeg"]
version = "0.15.0"
Confirmed working!
I've added rusty_ffmpeg as a dependency to one of my projects, but i can't get it to build. it outputs avcodec not found but i've got ffmpeg 7.0.2 installed using homebrew. Am i missing a dependency?
I've also got the following environment variables set in my .zshrc
Cargo.toml
Console