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

ffmpeg and x264 static libraries with static runtime #116

Open
finiteabelian opened this issue Dec 29, 2024 · 1 comment
Open

ffmpeg and x264 static libraries with static runtime #116

finiteabelian opened this issue Dec 29, 2024 · 1 comment

Comments

@finiteabelian
Copy link

Context

Would it be possible to create a distribution of ffmpeg and x264 static libraries with static runtime (/MT) instead of dynamic runtime (/MD)? It simplifies my application deployment without any DLLs. I note that all Visual Studio projects are in the SMP directory for each repository. So it would be a matter of downloading both ffmpeg and x264 repositories along with their dependency repositories and run Visual Studio and modify the C++ build property. See https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170. With your repositories and their dependences already configured, it might be faster than me to create static libraries with static runtime (/MT).

@Sibras
Copy link
Member

Sibras commented Dec 31, 2024

Thats something youll have to do yourself as the release builds are done by a CI and mofifying every project for a 1 off would take alor of time.
If you just want ffmpeg+x264 and nothing else then just download the x265 repo and ffmpeg and then FFVS to generate a ffmpeg project that only depends on x264 (project_generate.exe --enable-x64) and then you only need to modify the generated ffmpeg project files and x264 project files to /MT which can be done quickly through the VS UI

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