Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has anyone managed to successfully use this on Windows? #205

Open
AlexHayton opened this issue Aug 14, 2024 · 1 comment
Open

Has anyone managed to successfully use this on Windows? #205

AlexHayton opened this issue Aug 14, 2024 · 1 comment

Comments

@AlexHayton
Copy link

AlexHayton commented Aug 14, 2024

I have been trying to use ffmpeg-next on Windows. I've tried using both MSVC and MSYS2 approaches and in both cases I get issues.

Can anyone share a HOWTO of how to get it working? It always fails on the build step.
All dependencies have been installed using MSYS2/pacman.

Most recent run:
https://github.com/AlexHayton/jaenokhwa/actions/runs/10198944664/job/28214917423

It has been trivial on Linux/MacOS but Windows proves elusive

@bukaOK
Copy link

bukaOK commented Oct 13, 2024

My problem was that I forgot to use the x64 version of LLVM.
I will try to reproduce my steps:

  1. Install Visual Studio, then via visual studio installer install Desktop development with c++ and Msbuild support for LLVM
    image
  2. Set environment variable LIBCLANG_PATH (in my case C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin)
  3. Download ffmpeg from https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z
  4. Unpack archive and set environment variable FFMPEG_DIR (for example D:\ffmpeg-7.1-full_build-shared)
  5. Add ffmpeg bin to the path (for example D:\ffmpeg-7.1-full_build-shared\bin)
  6. Check all your variables in powershell ($env:FFMPEG_DIR etc.)
  7. cargo build

Perhaps this will also help #160 and #138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants