[FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Apr 13 02:05:58 EEST 2020


Am Mo., 13. Apr. 2020 um 00:57 Uhr schrieb Mark Filipak
<markfilipak.windows+ffmpeg at gmail.com>:

> Following instructions here:
> https://github.com/rdp/ffmpeg-windows-build-helpers

We do not support external scripts on this mailing list.

If you want to compile for Windows, install wsl (wsl2 does not
work here, wsl works fine).
Then decide if you want to use msvc, clang or gcc for compilation.

For gcc, there is an Ubuntu incantation to install the Windows toolchain.
While this is not necessarily a cross-compilation, I suspect using
the configure option "cross-prefix" is easiest.

For msvc / clang, you do not need the whole Visual Studio, only
the Build Tools for Visual Studio are needed. For clang and msvc, use
the configure option "toolchain=msvc"

In both cases, you don't need a cross compilation, just tell the configure
script that your host os is win32.

Carl Eugen


More information about the ffmpeg-user mailing list