Go to file
Nyanmisaka 1a3e916b91 Upgrade python3-distutils to python3-setuptools
`distutils` (distutils package for Python 3.x) was deprecated a long time ago and will be removed in python 3.12. Upgrade to `setuptools` (Python3 Distutils Enhancements) instead.

See also https://bugs.launchpad.net/ubuntu/+source/python3-stdlib-extensions/+bug/2060772
2024-04-15 18:45:42 +02:00
.github Update release versions 2024-04-05 13:05:45 +02:00
addins Add 7.0 addin 2024-03-30 00:55:49 +01:00
images Upgrade python3-distutils to python3-setuptools 2024-04-15 18:45:42 +02:00
patches Switch zvbi mirror 2024-03-14 22:35:14 +01:00
scripts.d x265: use correct AR variable 2024-04-05 20:09:44 +02:00
util Reduce cache size further by not adding build dir to it 2024-01-27 00:03:56 +01:00
variants Add initial support for winarm64 2024-03-19 22:55:26 +01:00
.gitignore Add infrastructure for caching downloads in separate image 2023-06-18 19:57:13 +02:00
LICENSE Update license year 2021-05-18 15:39:22 +02:00
README.md Bump base image to 24.04 2024-03-12 22:51:16 +01:00
build.sh Add initial support for winarm64 2024-03-19 22:55:26 +01:00
download.sh Overhaul cache system 2023-12-21 01:31:23 +01:00
generate.sh Remove superfluous variable 2024-03-18 21:09:10 +01:00
makeimage.sh Only re-build step image if not in output cache yet 2024-03-12 22:52:22 +01:00

README.md

FFmpeg Static Auto-Builds

Static Windows (x86_64) and Linux (x86_64) Builds of ffmpeg master and latest release branch.

Windows builds are targetting Windows 7 and newer.

Linux builds are targetting RHEL/CentOS 8 (glibc-2.28 + linux-4.18) and anything more recent.

Auto-Builds

Builds run daily at 12:00 UTC (or GitHubs idea of that time) and are automatically released on success.

Auto-Builds run ONLY for win64 and linux(arm)64. There are no win32/x86 auto-builds, though you can produce win32 builds yourself following the instructions below.

Release Retention Policy

  • 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.

Package List

For a list of included dependencies check the scripts.d directory. Every file corresponds to its respective package.

How to make a build

Prerequisites

  • bash
  • docker

Build Image

  • ./makeimage.sh target variant [addin [addin] [addin] ...]

Build FFmpeg

  • ./build.sh target variant [addin [addin] [addin] ...]

On success, the resulting zip file will be in the artifacts subdir.

Targets, Variants and Addins

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.

  • davs2 and xavs2: aarch64 support is broken.
  • libmfx and libva: Library for Intel QSV, so there is no aarch64 support.

Available variants:

  • gpl Includes all dependencies, even those that require full GPL instead of just LGPL.
  • lgpl Lacking libraries that are GPL-only. Most prominently libx264 and libx265.
  • nonfree Includes fdk-aac in addition to all the dependencies of the gpl variant.
  • gpl-shared Same as gpl, but comes with the libav* family of shared libs instead of pure static executables.
  • lgpl-shared Same again, but with the lgpl set of dependencies.
  • nonfree-shared Same 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 to build from the respective release branch instead of master.
  • debug to not strip debug symbols from the binaries. This increases the output size by about 250MB.
  • lto build all dependencies and ffmpeg with -flto=auto (HIGHLY EXPERIMENTAL, broken for Windows, sometimes works for Linux)