How can I configure or use correctly ffmpeg_next with Windows

⚓ Rust    📅 2025-10-20    👤 surdeus    👁️ 2      

surdeus

I am trying to just use ffmpeg_next, but I am having a lot of trouble just getting it to work or compile correctly

I have in toml

[dependencies]
ffmpeg-next="*"

I installed the shared ffmpeg library, including the different binaries, libraries, includes, etc
and the lib/pkgconfig

I installed pkg-config-lite

ffmpeg and pkg-config-lite work correctly on terminal on their own, but when I use: cargo build I get this error:

error: failed to run custom build command for `ffmpeg-sys-next v6.1.0`

Caused by:
  process didn't exit successfully: `C:\Users\Santiago\Documents\Rust\vp9_encoder\target\debug\build\ffmpeg-sys-next-7f70885df708b488\build-script-build` (exit code: 101)

I used the --verbose flag, it still doesn't say anything in particular.

1 post - 1 participant

Read full topic

🏷️ Rust_feed