I'm trying now to compile my own build of FFmpeg using MSYS2 environment. I want to compile standalone executables suitable for launching from Windows directly, without MSYS2, just like official build from https://ffmpeg.zeranoe.com/builds/ .
I've begun with vanilla build with simple
- make install
What should I do? I've googled at my best, but could not find suitable solution for this exact situation of building static linked standalone ffmpeg build with MSYS2.
Here is what I've done:
I'm launching environment with "MSYS2 MinGW 64-bit" shortcut from Start menu.
I've installed MSYS2 environment as it stated on it's page http://www.msys2.org/ with msys2-x86_64-20180531.exe build,
then updated packages according to https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW "Option 2: MSYS2" section with mingw-w64-x86_64-gcc package,
then cloned FFmpeg sorces from here "git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg"
and removed libpthread.dll.a, libwinpthread.dll.a, libSDL2.dll.a, libiconv.dll.a and libbz2.dll.a files from MinGW subfolders to force it compile that libraries statically, as was suggested here viewtopic.php?p=10251&sid=2752ca92b1ec9 ... ab6#p10251
I'm pretty new with operating *nix environments so would greatly appreciate any help.
My global goal now is to compile exactly the same https://ffmpeg.zeranoe.com/builds/ official build, but with libvmaf enabled, as I want to use this metrics.