Unmodified pinned FFmpeg and zlib source. Static FFmpeg libraries and zlib are linked only into the separate tools.
Media Foundation codecs and remaining dynamic imports are Windows OS facilities. No external codec libraries.
GCC runtime exception and MinGW runtime notices are retained with exact tool/runtime archive hashes.
Run this retained recipe in the dedicated native Python3.12 Windows build venv with the recorded MSYS2 UCRT64 toolchain.
The source archives and recipe are included. Custom replacement tools may be selected using ORO_FFMPEG_DIR.
{
  "zlib_command": [
    "make",
    "-f",
    "win32/Makefile.gcc",
    "libz.a",
    "-j4"
  ],
  "configure_flags": [
    "--arch=x86_64",
    "--target-os=mingw32",
    "--disable-autodetect",
    "--windres=/ucrt64/bin/windres --use-temp-file",
    "--disable-gpl",
    "--disable-nonfree",
    "--disable-version3",
    "--disable-shared",
    "--enable-static",
    "--disable-ffplay",
    "--disable-doc",
    "--disable-indevs",
    "--enable-indev=lavfi",
    "--disable-outdevs",
    "--disable-bzlib",
    "--disable-iconv",
    "--disable-lzma",
    "--disable-pthreads",
    "--enable-w32threads",
    "--enable-mediafoundation",
    "--enable-d3d11va",
    "--enable-zlib",
    "--pkg-config=/ucrt64/bin/pkgconf",
    "--pkg-config-flags=--static",
    "--extra-cflags=-I/d/a/image-studio/image-studio/app-source/build/windows-ffmpeg/build-6ulnt32b/prefix/include",
    "--extra-ldflags=-L/d/a/image-studio/image-studio/app-source/build/windows-ffmpeg/build-6ulnt32b/prefix/lib -static -static-libgcc"
  ],
  "make_targets": [
    "ffmpeg.exe",
    "ffprobe.exe"
  ]
}
