This fork of BtbN/FFmpeg-Builds builds a single configuration on GitHub-hosted runners:
| Item | Value |
|---|---|
| FFmpeg | tag n9.0.2 (pinned by addins/9.0.2.sh) |
| Target | win64 |
| Variant | gpl-shared (GPL, shared libraries) with the slim addin |
| Dependencies | same scripts and pinned commits as upstream for the 9.0 branch |
Builds run on push to a builds/** branch or by manual dispatch (no schedule).
Each successful run publishes a release named <version>-win64-gpl-shared-build<run number>
with the zip and its SHA-256 checksum.
Changes compared to upstream:
addins/9.0.2.sh: build then9.0.2tag instead of the head ofrelease/9.0.patches/9.0.2/: build fix backported fromrelease/9.0(liboapvenc with openapv >= 1.1, upstream commita7502e5ff3), required because the 9.0 dependency set ships openapv 1.1. No functional change.build.sh: applypatches/<addin>/*.patchafter cloning FFmpeg, when that directory exists.addins/slim.sh,addins/slim.drop: drop libraries that only provide filters (frei0r, vidstab, rubberband, zmq, lv2, lcevc, vmaf), libraries for codecs this build does not need (librsvg, libjxl, vvenc, rav1e, xavs2, kvazaar, openh264, openapv, libwebp, openjpeg, xvid, twolame, opencore-amr, libaribb24), and the libopus/libvorbis wrapper decoders (native decoders exist; the encoders are kept).scripts.d/50-aom.sh: depend on vmaf and enable CONFIG_TUNE_VMAF only when vmaf is available, so vmaf can be dropped.scripts.d/50-libmp3lame.sh: LAME 3.100 release instead of a trunk snapshot (4.1 alpha), which was about 13% slower.util/vars.sh,generate.sh: generic support foraddins/<addin>.dropandFF_CONFIGURE_POST..github/workflows/build.yml: only the configuration above; no schedule, wiki update or release pruning.
The original upstream README follows.
Static Windows (x86_64) and Linux (x86_64) Builds of ffmpeg master and latest release branch.
Windows builds are targetting Windows 7 and newer, provided UCRT is installed. The minimum supported version is Windows 10 22H2, no guarantees on anything older.
Linux builds are targetting RHEL/CentOS 8 (glibc-2.28 + linux-4.18) and anything more recent.
Builds run daily at 12:00 UTC (or GitHubs idea of that time) and are automatically released on success.
Auto-Builds run ONLY for win(arm)64 and linux(arm)64. There are no win32/x86 auto-builds, though you can produce win32 builds yourself following the instructions below.
- The last build of each month is kept for two years.
- The last 14 daily builds are kept.
- The special "latest" build floats and provides consistent URLs always pointing to the latest build.
For a list of included dependencies check the scripts.d directory. Every file corresponds to its respective package.
- bash
- docker
./makeimage.sh target variant [addin [addin] [addin] ...]
./build.sh target variant [addin [addin] [addin] ...]
On success, the resulting zip file will be in the artifacts subdir.
Available targets:
win64(x86_64 Windows)win32(x86 Windows)linux64(x86_64 Linux, glibc>=2.28, linux>=4.18)linuxarm64(arm64 (aarch64) Linux, glibc>=2.28, linux>=4.18)
The linuxarm64 target will not build some dependencies due to lack of arm64 (aarch64) architecture support or cross-compiling restrictions.
davs2andxavs2: aarch64 support is broken.libmfxandlibva: Library for Intel QSV, so there is no aarch64 support.
Available variants:
gplIncludes all dependencies, even those that require full GPL instead of just LGPL.lgplLacking libraries that are GPL-only. Most prominently libx264 and libx265.nonfreeIncludes fdk-aac in addition to all the dependencies of the gpl variant.gpl-sharedSame as gpl, but comes with the libav* family of shared libs instead of pure static executables.lgpl-sharedSame again, but with the lgpl set of dependencies.nonfree-sharedSame again, but with the nonfree set of dependencies.
All of those can be optionally combined with any combination of addins:
4.4/5.0/5.1/6.0/6.1/7.0/7.1/8.0/8.1/9.0to build from the respective release branch instead of master.debugto not strip debug symbols from the binaries. This increases the output size by about 250MB.ltobuild all dependencies and ffmpeg with -flto=auto (HIGHLY EXPERIMENTAL, broken for Windows, sometimes works for Linux)