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

Does the custom compilation functionality of this library still work? In 2024, are there still people who have successfully compiled it? #194

Open
Xikee2023 opened this issue Jul 9, 2024 · 1 comment

Comments

@Xikee2023
Copy link

I am compiling through docker on a Windows 11 machine, but I always get a "Not found" error. I don't know if it's because my system environment doesn't support it or because this library hasn't been updated for a long time, so it can't run in some new environments. Here are the steps I took for the compilation:

  1. Open Windows PowerShell, navigate to a specific directory, and run: git clone https://github.com/Kagami/ffmpeg.js.git --recurse-submodules, as shown in the image:
    QQ截图20240709133046

  2. After the project is successfully cloned, I execute the command: docker run --rm -it -v E:\FFMPEG\ffmpeg.js:/mnt -w /opt kagamihi/ffmpeg.js, as shown in the image, and successfully enter the docker system:
    QQ截图20240709133410

  3. Execute the build command: cp -a /mnt/{.git,build,Makefile} . && source /root/emsdk/emsdk_env.sh && make && cp ffmpeg*.js /mnt. After a few minutes, this error will occur, showing "./autogen.sh: not found", as shown in the image:
    QQ截图20240709133742

  4. I tried to find the autogen.sh in the docker /mnt/build/opus, and it does exist, as shown in the image:
    QQ截图20240709134134

  5. I tried to delete the opus module in the Makefile, but then other dependency modules' "not found" errors will occur. I used ls to find these "not found" files, and they do exist.

Has any brother encountered the same problem when compiling this library? Can you provide your valuable advice? Thank you!

@timrobinson33
Copy link

did you get anywhere with this? I'm loking for a solution to run ffmpeg on nodejs (specifically AWS lambda) and it seems like https://ffmpegwasm.netlify.app only works in the browser whereas this one claims to work in nodejs as well

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