rust-ffmpeg
rust-ffmpeg copied to clipboard
ERROR : failed to run custom build command for `ffmpeg-sys-next v6.0.1`
environment : win10 x64 intel tool chain : cargo built-in stable-x86_64-pc-windows-msvc describe : when I set all the environment variables as described on the wiki and compiled the project, the above exception occurred.
Struggled on this too. It seems I needed to add
[env] FFMPEG_DIR = { value = "ffmpegfolder", relative = true }
in .cargo/config.toml. Setting the environment variable to "./ffmpegfolder" (and a few variations, including absolute path I believe) from the command line didn't seem to work.
I also needed to add the av*.dll and sw*.dll in the root of the project (even in "static" mode, which I'm not able to make work). Hope this works for you
I also encountered this problem, the original issue was #138 and then after installation it became error: failed to run custom build command for 'ffmpeg-sys-next v6.1.0', I don't know how to solve this problem now