-
Notifications
You must be signed in to change notification settings - Fork 43
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
Static link ffmpeg #140
Comments
You can check this: https://github.com/CCExtractor/rusty_ffmpeg?tab=readme-ov-file#fine-grained-usage. |
@ldm0 |
It's not recommended to use prebuilt statically linked FFmpeg libraries due to the verbosity of build options and license issues(usage of different build options result in libraries with different open source licenses). You should compile it locally and tweak the build options according to your project requirements.
People only need to compile FFmpeg once as long as they don't change FFmpeg source code & version. BTW, FFmpeg compilation won't take that long time if you have disable the artifacts you don't want.
Nope. I compile FFmpeg for Windows with MinGW. But it should work fine as rsmpeg only needs to link the final static libraries. Here are some references you may need to compile FFmpeg with MSYS2
Feel free to file an issue here if you encounter any problem. |
How can I statically link ffmpeg into executable when compiling in windows inside msys2 ucrt64?
(windows-gnu rustc)
The text was updated successfully, but these errors were encountered: