[![build test](https://github.com/markus-perl/ffmpeg-build-script/workflows/build%20test/badge.svg)](https://github.com/markus-perl/ffmpeg-build-script/actions) ![FFmpeg build script](https://raw.github.com/markus-perl/ffmpeg-build-script/main/ffmpeg-build-script.png) ### If you like the script, please "★" this project! build-ffmpeg ========== The FFmpeg build script provides an easy way to build a **static** FFmpeg on **macOS** and **Linux** with optional **non-free and GPL codecs** (--enable-gpl-and-non-free, see https://ffmpeg.org/legal.html) included. [![How-To build FFmpeg on MacOS](https://img.youtube.com/vi/Z9p3mM757cM/0.jpg)](https://www.youtube.com/watch?v=Z9p3mM757cM "How-To build FFmpeg on OSX") *Youtube: How-To build and install FFmpeg on macOS* ## Pick your system | Your system | Go to | | --- | --- | | **macOS** (Intel or Apple Silicon) | [Build on macOS](#build-on-macos) | | **Debian / Ubuntu** | [Build on Linux](#build-on-linux) | | **Fedora / RHEL / Rocky / Oracle Linux** | [Build on Linux](#build-on-linux) | | **Any OS with Docker** (no changes to the host) | [Build with Docker](#build-with-docker) | | **Just want to run FFmpeg in a container** | [Run FFmpeg with Docker](#run-ffmpeg-with-docker) | | Windows | not supported — use Docker or WSL2 with the Linux instructions | Then, if you want GPU acceleration, continue with [Hardware acceleration](#hardware-acceleration). ## Disclaimer And Data Privacy Notice This script will download different packages with different licenses from various sources, which may track your usage. These sources are out of control by the developers of this script. Also, this script can create a non-free and unredistributable binary. By downloading and using this script, you are fully aware of this. Use this script at your own risk. I maintain this script in my spare time. Please do not file bug reports for systems other than Debian and macOS, because I don't have the resources or time to maintain different systems. --- # Build on macOS **Supported:** macOS on Intel and on Apple Silicon (M1 and newer). ### 1. Install the prerequisites * XCode 14.x or greater. `xcode-select --install` is enough — the full IDE is not required: ```bash $ xcode-select --install ``` The script builds its own `pkg-config`, `nasm`, `yasm`, autotools and `cmake` into `workspace/`, so nothing else has to be installed. Homebrew is **not** required. Optional, for extra features: | Tool | What you get | Install | | --- | --- | --- | | `python3`, `meson`, `ninja` | dav1d (fast AV1 decoding), LV2 filters | `brew install python meson ninja` | | `cargo` / `rust` | rav1e (AV1 encoding) | see [rust installation](https://doc.rust-lang.org/cargo/getting-started/installation.html) | ### 2. Build Fastest way — download and build in one command: ```bash # Without GPL and non-free codecs, see https://ffmpeg.org/legal.html $ bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/main/web-install.sh") # With GPL and non-free codecs, see https://ffmpeg.org/legal.html $ bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/main/web-install-gpl-and-non-free.sh") ``` The installer creates an `ffmpeg-build` directory, downloads the source archive of the latest release into it, extracts it and runs `build-ffmpeg --build` — the GPL and non-free variant appends `--enable-gpl-and-non-free`. To build a different revision, set `FFMPEG_BUILD_SCRIPT_REF` to a release tag (`v9.0.3`) or a branch name (`main`, for unreleased work). It must be a single tag or branch name; slashes are rejected. Or clone the repository and build from it: ```bash $ git clone https://github.com/markus-perl/ffmpeg-build-script.git $ cd ffmpeg-build-script # Without GPL and non-free codecs $ ./build-ffmpeg --build # With GPL and non-free codecs $ ./build-ffmpeg --enable-gpl-and-non-free --build ``` See [Build script options](#build-script-options) for all switches. ### 3. Install Upon completion, `build-ffmpeg` prompts you for whether to install the binaries into `/usr/local/bin`. The binaries are also left in the `workspace/bin/` subdirectory. Once installed, the `ffmpeg-build-script` directory can be removed completely. Hardware acceleration on macOS comes from [Video Toolbox](#video-toolbox-macos) and, if available, [Vulkan/MoltenVK](#vulkan). OpenCL is not available, as Apple has discontinued support for it. --- # Build on Linux Install commands for the common distributions are below. Which of them are actually supported, and what an older release costs you, is in [CONTRIBUTING.md](CONTRIBUTING.md#before-you-open-an-issue). ### 1. Install the prerequisites The script builds its own `pkg-config`, `nasm`, `yasm`, autotools and `cmake` into `workspace/`, so the host only has to provide a C/C++ toolchain and a few tools. Everything else is downloaded and compiled by the script. **Required:** | Tool | Why | | --- | --- | | `make`, `g++` | compiling every package — the script exits at startup if either is missing | | `curl` | downloading the sources — same check | | `tar`, `xz`, `gzip` | unpacking the source archives | | `diffutils`, `findutils` | used by the packages' own `configure` scripts; absent on minimal/UBI images | (`file` is used only to report the type of the finished binary and is not required.) **Optional, but parts of FFmpeg are silently skipped without them:** | Tool | What is lost if missing | | --- | --- | | `python3` | meson/ninja bootstrap → no dav1d (AV1 decoding), no LV2 filters | | `meson`, `ninja` | same as above. Installing them from your package manager is more reliable than the script's `pip` fallback (see the [PEP 668 note](#meson-fails-with-externally-managed-environment)) | | `cargo` / `rust` | no rav1e (AV1 encoding) | | X11 development headers | `ffplay`. SDL is compiled from source and picks up whatever X11 headers it finds — a partial set makes the SDL build fail (`X11/extensions/Xext.h: No such file`), and no X11 at all leaves `ffplay` unable to open a video device | Pick the block for your distribution. In every block, the first line is the required toolchain and the following lines are optional: they buy you dav1d, rav1e and `ffplay`. **Debian, Ubuntu** (and derivatives: Linux Mint, Pop!\_OS, Raspberry Pi OS, Kali) ```bash $ sudo apt install build-essential curl tar xz-utils file \ python3 python3-pip meson ninja-build \ cargo \ libx11-dev libxext-dev ``` **Fedora** ```bash $ sudo dnf install @development-tools curl tar xz file \ python3 python3-pip meson ninja-build \ cargo \ libX11-devel libXext-devel ``` **RHEL, Rocky Linux, AlmaLinux, CentOS Stream, Oracle Linux** (8 and newer, including minimal and UBI images) ```bash $ sudo dnf install gcc gcc-c++ make curl tar gzip xz diffutils findutils file \ python3 python3-pip meson ninja-build \ cargo \ libX11-devel libXext-devel ``` On RHEL 8 and clones, `meson`, `ninja-build` and `cargo` live in the *AppStream* and *CodeReady Builder* repositories. If `dnf` cannot find them, enable CRB first (`sudo dnf config-manager --set-enabled crb`, or `powertools` on 8) or drop those packages and build without dav1d and rav1e. **openSUSE Leap and Tumbleweed** ```bash $ sudo zypper install -t pattern devel_C_C++ $ sudo zypper install curl tar gzip xz diffutils findutils file \ python3 python3-pip meson ninja \ cargo \ libX11-devel libXext-devel ``` **Arch Linux** (and derivatives: Manjaro, EndeavourOS) ```bash $ sudo pacman -S --needed base-devel curl tar xz \ python python-pip meson ninja \ rust \ libx11 libxext ``` On Arch, `base-devel` already provides `make`, `gcc`, `file`, `findutils` and `gzip`, and the `libx11`/`libxext` packages ship the headers — there are no separate `-dev` packages. **Alpine Linux** ```bash $ sudo apk add bash build-base linux-headers curl tar xz gzip diffutils findutils file \ python3 py3-pip meson ninja \ cargo \ libx11-dev libxext-dev ``` `bash` is required because the build script itself is a bash script, and `linux-headers` because several packages do not compile against musl without them. Alpine is not part of the CI matrix, so treat a musl build as best effort. If you want GPU acceleration, install the corresponding driver/SDK now — see [CUDA](#cuda-nvidia), [VAAPI](#vaapi-most-gpus) or [AMF](#amf-amd) — because the build only enables what it finds on the system. ### 2. Build Fastest way — download and build in one command: ```bash # Without GPL and non-free codecs, see https://ffmpeg.org/legal.html $ bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/main/web-install.sh") # With GPL and non-free codecs, see https://ffmpeg.org/legal.html $ bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/main/web-install-gpl-and-non-free.sh") ``` The installer creates an `ffmpeg-build` directory, downloads the source archive of the latest release into it, extracts it and runs `build-ffmpeg --build` — the GPL and non-free variant appends `--enable-gpl-and-non-free`. To build a different revision, set `FFMPEG_BUILD_SCRIPT_REF` to a release tag (`v9.0.3`) or a branch name (`main`, for unreleased work). It must be a single tag or branch name; slashes are rejected. Or clone the repository and build from it: ```bash $ git clone https://github.com/markus-perl/ffmpeg-build-script.git $ cd ffmpeg-build-script # Without GPL and non-free codecs $ ./build-ffmpeg --build # With GPL and non-free codecs $ ./build-ffmpeg --enable-gpl-and-non-free --build ``` See [Build script options](#build-script-options) for all switches, for example `--full-static` for a completely static binary or `--small` for a size-optimized one. ### 3. Install - Packages will be under the `packages/` subdirectory. - Build results will be under the `workspace/` subdirectory. Upon completion, `build-ffmpeg` prompts you for whether to install the binaries into `/usr/local/bin`. Once installed, the `ffmpeg-build-script` directory can be removed completely. --- # Build with Docker With Docker, FFmpeg can be built reliably without altering the host system. Also, there is no need to have the CUDA SDK installed outside of the Docker image. This works on Linux and macOS hosts. ### Default ```bash $ docker build --tag=ffmpeg:default --output type=local,dest=build -f Dockerfile . ``` ### Full static version If you're running an operating system other than the ones listed above, a completely static build may work: ```bash $ sudo -E docker build --tag=ffmpeg:cuda-static --output type=local,dest=build -f full-static.dockerfile . ``` ### CUDA These builds are always built with the `--enable-gpl-and-non-free` switch, as CUDA is non-free. See https://ffmpeg.org/legal.html ```bash ## Start the build $ docker build --tag=ffmpeg:cuda --output type=local,dest=build -f cuda-ubuntu.dockerfile . ``` Build an `export.dockerfile` that copies only what you need from the image you just built as follows. When running, move the library in the lib to a location where the linker can find it or set the `LD_LIBRARY_PATH`. Since we have matched the operating system and version, it should work well with dynamic links. If it doesn't work, edit the `export.dockerfile` and copy the necessary libraries and try again. ```bash $ docker build --output type=local,dest=build -f export.dockerfile . $ ls build bin lib $ ls build/bin ffmpeg ffprobe $ ls build/lib libnppc.so.11 libnppicc.so.11 libnppidei.so.11 libnppig.so.11 ``` #### Enabling GPU access during the build By default, newer docker versions don't allow GPU access while building the image. **If you intend to build with docker on the same system you intend to run the built image on**, allowing this access is beneficial for detecting CUDA compute capability, and tailoring the build to your hardware. [some steps](https://stackoverflow.com/a/77348905/7764138) are required on the host machine to allow CUDA access during build: 1. Install NVIDIA docker runtime and toolkit `sudo apt install nvidia-container-runtime nvidia-container-toolkit` 2. Modify `/etc/docker/daemon.json` and add the line `"default-runtime": "nvidia"` 3. Restart Docker: `sudo systemctl restart docker` 4. Disable buildkit with `export DOCKER_BUILDKIT=0` before building 5. If all this doesn't work, also remove buildx: `sudo apt remove docker-buildx-plugin` You should now see the message `CUDA env variable provided` during the docker build process. --- # Run FFmpeg with Docker You can also run FFmpeg directly inside a Docker container, without installing anything on the host. ### Without CUDA (macOS, Linux) ```bash $ sudo docker build --tag=ffmpeg . $ sudo docker run ffmpeg -i https://files.coconut.co.s3.amazonaws.com/test.mp4 -f webm -c:v libvpx -c:a libvorbis - > test.mp4 ``` ### With CUDA (Linux) To use CUDA from inside the container, the installed Docker version must be >= 19.03. Install the driver and `nvidia-docker2` from [here](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#installing-docker-ce). You can then run FFmpeg inside Docker with GPU hardware acceleration enabled, as follows: ```bash $ sudo docker build --tag=ffmpeg:cuda -f cuda-ubuntu.dockerfile . $ sudo docker run --gpus all ffmpeg-cuda -hwaccel cuvid -c:v h264_cuvid -i https://files.coconut.co.s3.amazonaws.com/test.mp4 -c:v hevc_nvenc -vf scale_npp=-1:1080 - > test.mp4 ``` --- # Build script options ```bash Usage: build-ffmpeg [OPTIONS] Options: -h, --help Display usage information --version Display version information --update Update this script to the latest release and exit --list-packages List the packages in build order, with versions -b, --build Starts the build process --enable-gpl-and-non-free Enable GPL and non-free codecs - https://ffmpeg.org/legal.html --disable=NAME[,NAME...] Do not build these libraries. Repeatable. --list-packages shows every name that can be disabled. --ffmpeg-version=VERSION Build this FFmpeg release instead of the latest 9.x release. VERSION is a release number (e.g. 9.0.2), "latest", or "snapshot" for the current FFmpeg master. Default: the latest 9.x release, looked up at https://ffmpeg.org/releases/ at the start of every build. "latest" here is the newest release of any major version, not just 9.x. No release is checksum-verified; the library versions this script builds were chosen and tested against 9.x. --tls=BACKEND TLS backend for https/tls/dtls: gnutls or openssl Default: openssl with --enable-gpl-and-non-free, gnutls otherwise. --whisper=BACKEND Build whisper.cpp for the af_whisper filter (speech to text). BACKEND is cpu, metal (macOS), cuda (Linux, needs nvcc) or vulkan (Linux, needs glslc and a Vulkan loader). Off by default: exactly one backend is compiled in, so it has to match the machine that runs the binary. Speech models are not shipped - af_whisper takes a model=/path at runtime, see the README. -c, --cleanup Remove all working dirs --small Prioritize small size over speed and usability; don't build manpages --full-static Build a full static FFmpeg binary (eg. glibc, pthreads etc...) **only Linux** Note: Because of the NSS (Name Service Switch), glibc does not recommend static links. --skip-install Don't install FFmpeg, FFprobe, and FFplay binaries to your system --auto-install Install FFmpeg, FFprobe, and FFplay binaries to your system Note: Without --skip-install or --auto-install the script will prompt you to install. ``` There is no option to rebuild dependencies: a package whose pinned version changed is rebuilt automatically on the next build. ## Choosing the FFmpeg version The script tracks a major FFmpeg release line rather than one pinned release: it currently supports 9.x, set as `FFMPEG_MAJOR_VERSION` in `src/00-header.sh`. Every build starts by looking up the highest 9.x release listed at and building that, so a `9.0.3` released after this script's last update is picked up automatically, with no script change needed. The version it found is printed before the build starts: ``` Looking up the latest FFmpeg 9.x release on https://ffmpeg.org/releases/ ... Building FFmpeg 9.0.2, the latest 9.x release. ``` `--ffmpeg-version` overrides that lookup: ```bash ./build-ffmpeg --build --ffmpeg-version=latest # newest release on ffmpeg.org, any major version ./build-ffmpeg --build --ffmpeg-version=8.1.2 # a specific release ./build-ffmpeg --build --ffmpeg-version=snapshot # current FFmpeg master ``` `latest` here is unrestricted - it takes the highest version listed at regardless of major version, unlike the default which stays on 9.x. `snapshot` downloads the current nightly archive of FFmpeg's master branch from . The GitHub mirror is not consulted for any of this: it publishes no GitHub releases, so there is nothing there to ask for. No FFmpeg release is checksum-verified, pinned default or explicit override alike - `src/10-versions.sh` carries no checksum for it, since there is no longer one fixed tarball to describe. The library versions this script pins were picked and tested against 9.x, so an explicit override to a different major version, or to `snapshot`, may not configure or compile; the script says so before it starts, and a build that fails this way is worth retrying without `--ffmpeg-version` before reporting it. A release version that does not exist is rejected up front rather than an hour later, when the FFmpeg download happens. ## Leaving libraries out `--disable` takes any package name from `--list-packages`, comma-separated or repeated: ```bash ./build-ffmpeg --build --disable=rav1e,x265 ./build-ffmpeg --build --disable=lv2 --disable=vulkan ``` Four names stand for a group rather than one package, because disabling a single member of these is never what anyone means: | Group | Packages | | --- | --- | | `lv2` | lv2, waflib, serd, pcre, zix, sord, sratom, lilv | | `vulkan` | vulkan_headers, spirv_headers, spirv_tools, glslang, libplacebo | | `opencl` | opencl_headers, opencl_icd_loader | | `bluray` | libudfread, libbluray | Disabling a package also disables the ones that cannot build without it, and says so — for example `--disable=libogg` takes libvorbis and libtheora with it. That table only covers dependencies the build blocks state explicitly; it is not a general solver, so it is still possible to disable something another package quietly needs. The build tools and the TLS stack cannot be disabled — they are marked `always built` in `--list-packages`. Use `--tls` to choose between GnuTLS and OpenSSL. Names are validated before anything is built, so a typo costs a second rather than an hour. ## TLS backend FFmpeg needs one TLS library to open `https://`, `tls://` and `dtls://` URLs, and its configure refuses to enable two at once. `--tls` picks which one is built: | | built | ffmpeg flag | also affected | | --- | --- | --- | --- | | `--tls=gnutls` | gmp, nettle, gnutls | `--enable-gnutls` | libssh and libsrt are skipped | | `--tls=openssl` | openssl | `--enable-openssl` | — | The default is `openssl` with `--enable-gpl-and-non-free` and `gnutls` otherwise, which is what the script always did — but the GnuTLS half used to be built and then never enabled, so LGPL Linux builds shipped with no TLS backend at all and could not open an `https://` URL. That is fixed; macOS was never affected, because FFmpeg autodetects SecureTransport there. Two packages are built against OpenSSL and are skipped under `--tls=gnutls`, which the script says up front rather than an hour into the build: - **libssh** (`sftp://`) — its build picks between OpenSSL, gcrypt and mbedTLS, with no GnuTLS option. - **libsrt** — its GnuTLS backend still uses nettle's legacy `struct aes_ctx`, removed in nettle 4.0. Environment variables: | Variable | Effect | | --- | --- | | `SKIPINSTALL=yes` | do not prompt for installing the binaries after the build | | `CUDA_COMPUTE_CAPABILITY=75` | override the auto-detected CUDA compute capability, see [CUDA](#cuda-nvidia) | ## Speech recognition (whisper.cpp) `--whisper=BACKEND` builds [whisper.cpp](https://github.com/ggml-org/whisper.cpp) and enables FFmpeg's `af_whisper` filter, which turns speech into text (subtitles, `-f srt`, or JSON metadata) inside a filter graph: ```bash ./build-ffmpeg --build --whisper=metal ``` It is off by default, and that is deliberate: **exactly one compute backend is compiled into the binary.** whisper.cpp's ggml can also load backends at runtime, but only when it is built as a shared library — everything this script produces is statically linked, so the backend has to be chosen at build time and it has to match the machine that will run the binary. | `--whisper=` | Runs on | Needs | | --- | --- | --- | | `cpu` | anything | nothing extra (on Apple hardware it still uses Accelerate) | | `metal` | macOS | macOS only, rejected elsewhere | | `cuda` | Linux | Linux only, plus `nvcc` from the CUDA toolkit | | `vulkan` | Linux | Linux only, plus `glslc` (shaderc) and a Vulkan loader — the script builds only the Vulkan *headers* | An unusable combination is rejected while the command line is parsed, not an hour into the build. ### Models are not included No speech model is downloaded or installed. `af_whisper` takes the model as a runtime option and the files are large — roughly 75 MB for `tiny` up to ~3 GB for `large-v3`: ```bash # fetch a model once, with whisper.cpp's own script git clone https://github.com/ggml-org/whisper.cpp ./whisper.cpp/models/download-ggml-model.sh base.en # transcribe to SRT ffmpeg -i input.mp4 -vn -af "aformat=sample_fmts=s16:sample_rates=16000:channel_layouts=mono,\ whisper=model=./whisper.cpp/models/ggml-base.en.bin:language=en:format=srt:destination=output.srt" \ -f null - ``` `af_whisper` wants 16 kHz mono signed 16-bit audio, which is what the `aformat` above is for; it passes the audio through unchanged and writes the transcription to `destination` (stdout when empty) in `text`, `srt` or `json`. Run `ffmpeg -h filter=whisper` for the full option list. --- # Updating ```bash $ ./build-ffmpeg --update ``` This fetches the latest release, replaces the script and its `src/` directory in place and exits without building. Your downloaded tarballs in `packages/` and the built libraries in `workspace/` are left alone, so the next build only redoes the packages whose version changed. If you cloned the repository with git, use `git pull` instead — the update refuses to overwrite a working tree. Every `--build` also checks in passing whether a newer release exists, and says so up front: ``` A newer version of ffmpeg-build-script is available: v9.0.11 (you have v9.0.10). Update with: build-ffmpeg --update ``` (or `git pull` for a git checkout). This check is best-effort: a network hiccup skips it silently rather than failing the build, and `--list-packages`/`--help`/`--update` itself never trigger it. --- # Hardware acceleration Hardware encoders and decoders are only compiled in if the corresponding SDK or driver is found **while building**, so install these before running the build. | Backend | Platform | Setup | | --- | --- | --- | | [CUDA / NVENC / NVDEC](#cuda-nvidia) | Linux (NVIDIA GPU) | install the CUDA toolkit | | [VAAPI](#vaapi-most-gpus) | Linux (most GPUs) | install the libva driver | | [Intel QSV](#intel-quick-sync-video-qsv) | Linux x86_64 (Intel GPU) | install libva and the Intel media runtime | | [AMF](#amf-amd) | Linux (AMD GPU) | install the AMD GPU Pro drivers | | [Vulkan](#vulkan) | Linux, macOS (MoltenVK) | install Vulkan drivers | | [OpenCL](#opencl) | Linux | install an OpenCL runtime | | [Video Toolbox](#video-toolbox-macos) | macOS | nothing to do, always available | ### CUDA (NVIDIA) CUDA is a parallel computing platform developed by NVIDIA. To be able to compile ffmpeg with CUDA support, you first need a compatible NVIDIA GPU and the NVIDIA compiler nvcc from the CUDA toolkit. - Ubuntu: To install the CUDA toolkit on Ubuntu, run ```bash sudo apt install nvidia-cuda-toolkit ``` After compilation, you can run ```bash sudo apt install nvidia-cuda-dev && sudo apt remove nvidia-cuda-toolkit ``` This removes the compilers but leaves the needed shared library `libnpp`. - Other Linux distributions: Once you have the GPU and display driver installed, you can follow the [official instructions](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) or [this blog](https://www.pugetsystems.com/labs/hpc/How-To-Install-CUDA-10-1-on-Ubuntu-19-04-1405/) to setup the CUDA toolkit. The build is tailored to your hardware automatically: the compute capability is read from the installed GPU with `nvidia-smi` and checked against your CUDA toolkit before it is used. FFmpeg cannot produce a multi-architecture CUDA build, so exactly one is compiled. Set the `CUDA_COMPUTE_CAPABILITY` environment variable to override that — when you build on one machine and run on another, when several GPUs are installed, or when detection reports a card your CUDA toolkit does not support. There are many ways to look yours up, for example with [nvidia-smi](https://stackoverflow.com/questions/40695455/what-utility-binary-can-i-call-to-determine-an-nvidia-gpus-compute-capability). Note that a binary built for a newer architecture than the GPU it runs on will not use the GPU at all, which is why detection is preferred over a fixed default. CUDA cannot be combined with `--full-static`: NVENC and CUVID load the NVIDIA driver with `dlopen()`, which a static glibc binary cannot do. The script stops with an error if `nvcc` is found. Add `--disable=nv_codec` to build the static binary without CUDA. Supported codecs in [nv-codec](https://devblogs.nvidia.com/nvidia-ffmpeg-transcoding-guide/): * Decoders * AV1 `av1_cuvid` (Ampere and newer) * H264 `h264_cuvid` * H265 `hevc_cuvid` * Motion JPEG `mjpeg_cuvid` * MPEG1 video `mpeg1_cuvid` * MPEG2 video `mpeg2_cuvid` * MPEG4 part 2 video `mepg4_cuvid` * VC-1 `vc1_cuvid` * VP8 `vp8_cuvid` * VP9 `vp9_cuvid` * Encoders * H264 `nvenc_h264` * H265 `nvenc_hevc` ### VAAPI (most GPUs) [Video Acceleration API](https://trac.ffmpeg.org/wiki/Hardware/VAAPI). You will need the libva driver: ```bash # Debian and Ubuntu $ sudo apt install libva-dev vainfo # Fedora and CentOS $ sudo dnf install libva-devel libva-intel-driver libva-utils ``` Supported codecs in vaapi: * Encoders * H264 `h264_vaapi` * H265 `hevc_vaapi` * Motion JPEG `mjpeg_vaapi` * MPEG2 video `mpeg2_vaapi` * VP8 `vp8_vaapi` * VP9 `vp9_vaapi` Note: vaapi cannot be statically linked. ### Intel Quick Sync Video (QSV) QSV is built through [libvpl](https://github.com/intel/libvpl) on Linux x86_64, except in `--full-static` builds. On Linux, FFmpeg opens a QSV device through VAAPI, so the [VAAPI](#vaapi-most-gpus) development package must be installed **before** you build. Without it, `-hwaccel qsv` and `-init_hw_device qsv` fail with `No supported child device type is enabled`. The build prints a warning when this happens. On the machine that runs ffmpeg, you also need the Intel media driver and the oneVPL GPU runtime: ```bash # Debian and Ubuntu $ sudo apt install libva-dev intel-media-va-driver-non-free libmfx-gen1.2 # Fedora (intel-media-driver comes from RPM Fusion) $ sudo dnf install libva-devel intel-media-driver intel-vpl-gpu-rt ``` Check that `ffmpeg -buildconf` lists both `--enable-libvpl` and `--enable-vaapi`. ### AMF (AMD) [AMD's Advanced Media Framework](https://github.com/GPUOpen-LibrariesAndSDKs/AMF). These encoders/decoders will only be available if `amdgpu` drivers are detected in use on the system with `lspci -v`. To use the AMF encoder, you will need to be using the AMD GPU Pro drivers with OpenCL support. Download the drivers from https://www.amd.com/en/support and install the appropriate opencl versions. ```bash ./amdgpu-pro-install -y --opencl=rocr,legacy ``` * Decoders * H264 `h264_amf` * H265 `hevc_amf` * AV1 `av1_amf` * VP9 `vp9_amf` * Encoders * H264 `h264_amf` * H265 `hevc_amf` * AV1 `av1_amf` ### Vulkan [Cross-platform graphics and compute API](https://www.vulkan.org/). These encoders/decoders will only be available if Vulkan drivers are detected on the system. Follow the [Wiki](https://trac.ffmpeg.org/wiki/HWAccelIntro#Vulkan) to enable Vulkan decoding. macOS is supported when MoltenVK is available, but functionality may be limited. These encoders/decoders will be available using fixed-function blocks in the GPU: * Decoders * H264 * H265 * AV1 * VP9 * Encoders * H264 `h264_vulkan` * H265 `hevc_vulkan` * AV1 `av1_vulkan` Additionally, FFmpeg implements [video filters](https://ffmpeg.org/ffmpeg-filters.html#Vulkan-Video-Filters) using shaders on the GPU, as well as these encoders/decoders: * Decoders * FFV1 * ProRes RAW * Encoders * FFV1 `ffv1_vulkan` ### OpenCL [Cross-platform compute API](https://www.khronos.org/opencl/). Several [filters](https://ffmpeg.org/ffmpeg-filters.html#OpenCL-Video-Filters) are implemented in FFmpeg using OpenCL. As Apple has discontinued support for OpenCL, it is not available on macOS. ### Video Toolbox (macOS) [Apple API](https://developer.apple.com/documentation/videotoolbox) to access hardware-accelerated encoders/decoders on macOS. Always available on macOS, nothing to install: * Encoders and decoders * H264 `h264_videotoolbox` * H265 `hevc_videotoolbox` * ProRes `prores_videotoolbox` --- # Supported codecs and libraries * `x264`: H.264 Video Codec (MPEG-4 AVC) * `x265`: H.265 Video Codec (HEVC) * `libvvenc`: H.266/VVC encoder (Fraunhofer VVenC). FFmpeg's own VVC decoder is built in, so this adds the encoding half. Encoder name: `libvvenc`. * `libsvtav1`: SVT-AV1 Encoder and Decoder * `aom`: AV1 Video Codec (Experimental and very slow!) * `librav1e`: rust based AV1 encoder (only available if [`cargo` is installed](https://doc.rust-lang.org/cargo/getting-started/installation.html)) * `libdav1d`: Fastest AV1 decoder developed by the VideoLAN and FFmpeg communities and sponsored by the AOMedia (only available if `meson` and `ninja` are available) * `fdk_aac`: Fraunhofer FDK AAC Codec * `xvidcore`: MPEG-4 video coding standard * `VP8/VP9/webm`: VP8 / VP9 Video Codec for the WebM video file format * `mp3`: MPEG-1 or MPEG-2 Audio Layer III * `ogg`: Free, open container format * `vorbis`: Lossy audio compression format * `theora`: Free lossy video compression format * `opus`: Lossy audio coding format * `opencore-amr`: AMR-NB and AMR-WB speech codecs * `srt`: Secure Reliable Transport * `webp`: Image format both lossless and lossy * `libjxl`: JPEG XL image format * `lcms2`: ICC profile support in the image decoders and the `iccdetect` and `iccgen` filters * `libmysofa`: SOFA HRTF reader for the `sofalizer` filter (binaural rendering) * `libsoxr`: SoX Resampler Library * `libzimg`: Scaling and colorspace conversion for the `zscale` filter * `vid.stab`: Video stabilization for the `vidstabdetect` and `vidstabtransform` filters (only with `--enable-gpl-and-non-free`) * `zvbi`: Teletext decoding (only with `--enable-gpl-and-non-free`) * `libzmq`: The `zmq` and `azmq` filters, for changing filter options of a running ffmpeg via ZeroMQ * `lv2`: LV2 audio plugin hosting. If python 3 is available, the script builds a ffmpeg binary with [Lv2 filter](https://github.com/lv2/lv2/wiki) plugin support. * `vapoursynth`: Reading of VapourSynth script files. Only the headers are built; the VapourSynth library itself is loaded at runtime and has to be installed separately. * `openssl`: TLS for the `https` and `tls` protocols * `libass`: Subtitle renderer for the `subtitles` and `ass` filters, so SRT and ASS subtitles can be burned into video. Built together with `fribidi` (bidirectional text), `harfbuzz` (text shaping), `libunibreak` (Unicode line breaking for CJK and Thai) and `fontconfig` (font lookup by name). The latter three also make `drawtext` accept `font=Helvetica` instead of only an explicit `fontfile=` path. * `whisper`: whisper.cpp speech recognition for the `whisper` audio filter. Only built with [`--whisper=BACKEND`](#speech-recognition-whispercpp), and no speech model is shipped. * `libxml2`: XML parser required for the DASH and IMF demuxers * `avisynth`: Reading of [AviSynth+](http://avs-plus.net/) script files (only with `--enable-gpl-and-non-free`). Only the headers are built; the AviSynth+ library itself is loaded at runtime and has to be installed separately. --- # Troubleshooting and notes ### meson fails with `externally-managed-environment` If `meson` is not already installed, the script tries to install it with `pip3`. On Debian 12, Ubuntu 24.04 and other distributions that mark the system Python as externally managed, that call fails with `error: externally-managed-environment` and takes the build with it. Installing `meson` and `ninja` from your package manager beforehand — as in the [Linux prerequisites](#1-install-the-prerequisites-1) — avoids the problem entirely. ### SDL fails with `X11/extensions/Xext.h: No such file` A partial set of X11 development headers makes the SDL build fail. Install `libx11-dev` and `libxext-dev` (Debian/Ubuntu) or `libX11-devel` and `libXext-devel` (Fedora/RHEL), or remove the X11 headers entirely — then `ffplay` is built without video device support. ### Notes on static linking - Because of the NSS (Name Service Switch), glibc does **not recommend** static links. See [more details here](https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F). - The libnpp in the CUDA SDK cannot be statically linked. - Vaapi cannot be statically linked. - NVENC and CUVID cannot be statically linked: the NVIDIA driver is loaded with `dlopen()`. `--full-static` stops when `nvcc` is found; add `--disable=nv_codec` to build without CUDA. --- # Example build output
Click to expand a full build log ``` CUDA_COMPUTE_CAPABILITY=75 SKIPINSTALL=yes ./build-ffmpeg --build --enable-gpl-and-non-free ffmpeg-build-script v1.xx ========================= Using 12 make jobs simultaneously. With GPL and non-free codecs cargo not installed. rav1e encoder will not be available. building giflib - version 5.2.1 ======================= Downloading https://netcologne.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz as giflib-5.2.1.tar.gz ... Done Extracted giflib-5.2.1.tar.gz $ make $ make PREFIX=/app/workspace install building pkg-config - version 0.29.2 ======================= Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz as pkg-config-0.29.2.tar.gz ... Done Extracted pkg-config-0.29.2.tar.gz $ ./configure --silent --prefix=/app/workspace --with-pc-path=/app/workspace/lib/pkgconfig --with-internal-glib $ make -j 12 $ make install building yasm - version 1.3.0 ======================= Downloading https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0.tar.gz as yasm-1.3.0.tar.gz ... Done Extracted yasm-1.3.0.tar.gz $ ./configure --prefix=/app/workspace $ make -j 12 $ make install building nasm - version 2.16.01 ======================= Downloading https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.xz as nasm-2.16.01.tar.xz ... Done Extracted nasm-2.16.01.tar.xz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building zlib - version 1.2.13 ======================= Downloading https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz as zlib-1.2.13.tar.gz ... Done Extracted zlib-1.2.13.tar.gz $ ./configure --static --prefix=/app/workspace $ make -j 12 $ make install building m4 - version 1.4.19 ======================= Downloading https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz as m4-1.4.19.tar.gz ... Done Extracted m4-1.4.19.tar.gz $ ./configure --prefix=/app/workspace $ make -j 12 $ make install building autoconf - version 2.71 ======================= Downloading https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz as autoconf-2.71.tar.gz ... Done Extracted autoconf-2.71.tar.gz $ ./configure --prefix=/app/workspace $ make -j 12 $ make install building automake - version 1.16.5 ======================= Downloading https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz as automake-1.16.5.tar.gz ... Done Extracted automake-1.16.5.tar.gz $ ./configure --prefix=/app/workspace $ make -j 12 $ make install building libtool - version 2.4.7 ======================= Downloading https://ftpmirror.gnu.org/libtool/libtool-2.4.7.tar.gz as libtool-2.4.7.tar.gz ... Done Extracted libtool-2.4.7.tar.gz $ ./configure --prefix=/app/workspace --enable-static --disable-shared $ make -j 12 $ make install building openssl - version 1.1.1w ======================= Downloading https://www.openssl.org/source/openssl-1.1.1w.tar.gz as openssl-1.1.1w.tar.gz ... Done Extracted openssl-1.1.1w.tar.gz $ ./config --prefix=/app/workspace --openssldir=/app/workspace --with-zlib-include=/app/workspace/include/ --with-zlib-lib=/app/workspace/lib no-shared zlib $ make -j 12 $ make install_sw building cmake - version 3.27.7 ======================= Downloading https://github.com/Kitware/CMake/releases/download/v3.27.7/cmake-3.27.7.tar.gz as cmake-3.27.7.tar.gz ... Done Extracted cmake-3.27.7.tar.gz $ ./configure --prefix=/app/workspace --parallel=12 -- -DCMAKE_USE_OPENSSL=OFF $ make -j 12 $ make install building dav1d - version 1.1.0 ======================= Downloading https://code.videolan.org/videolan/dav1d/-/archive/1.1.0/dav1d-1.1.0.tar.gz as dav1d-1.1.0.tar.gz ... Done Extracted dav1d-1.1.0.tar.gz $ meson build --prefix=/app/workspace --buildtype=release --default-library=static --libdir=/app/workspace/lib $ ninja -C build $ ninja -C build install building svtav1 - version 1.7.0 ======================= Downloading https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.7.0/SVT-AV1-v1.7.0.tar.gz as svtav1-1.7.0.tar.gz ... Done Extracted svtav1-1.7.0.tar.gz $ cmake -DCMAKE_INSTALL_PREFIX=/app/workspace -DENABLE_SHARED=off -DBUILD_SHARED_LIBS=OFF ../.. -GUnix Makefiles -DCMAKE_BUILD_TYPE=Release $ make -j 12 $ make install $ cp SvtAv1Enc.pc /app/workspace/lib/pkgconfig/ $ cp SvtAv1Dec.pc /app/workspace/lib/pkgconfig/ building x264 - version 941cae6d ======================= Downloading https://code.videolan.org/videolan/x264/-/archive/941cae6d/x264-941cae6d.tar.gz as x264-941cae6d.tar.gz ... Done Extracted x264-941cae6d.tar.gz $ ./configure --prefix=/app/workspace --enable-static --enable-pic CXXFLAGS=-fPIC $ make -j 12 $ make install $ make install-lib-static building x265 - version 3.5 ======================= Downloading https://github.com/videolan/x265/archive/Release_3.5.tar.gz as x265-3.5.tar.gz ... Done Extracted x265-3.5.tar.gz $ cmake ../../../source -DCMAKE_INSTALL_PREFIX=/app/workspace -DENABLE_SHARED=OFF -DBUILD_SHARED_LIBS=OFF -DHIGH_BIT_DEPTH=ON -DENABLE_HDR10_PLUS=ON -DEXPORT_C_API=OFF -DENABLE_CLI=OFF -DMAIN12=ON $ make -j 12 $ cmake ../../../source -DCMAKE_INSTALL_PREFIX=/app/workspace -DENABLE_SHARED=OFF -DBUILD_SHARED_LIBS=OFF -DHIGH_BIT_DEPTH=ON -DENABLE_HDR10_PLUS=ON -DEXPORT_C_API=OFF -DENABLE_CLI=OFF $ make -j 12 $ cmake ../../../source -DCMAKE_INSTALL_PREFIX=/app/workspace -DENABLE_SHARED=OFF -DBUILD_SHARED_LIBS=OFF -DEXTRA_LIB=x265_main10.a;x265_main12.a;-ldl -DEXTRA_LINK_FLAGS=-L. -DLINKED_10BIT=ON -DLINKED_12BIT=ON $ make -j 12 $ ar -M $ make install building libvpx - version 1.13.1 ======================= Downloading https://github.com/webmproject/libvpx/archive/refs/tags/v1.13.1.tar.gz as libvpx-1.13.1.tar.gz ... Done Extracted libvpx-1.13.1.tar.gz $ ./configure --prefix=/app/workspace --disable-unit-tests --disable-shared --disable-examples --as=yasm --enable-vp9-highbitdepth $ make -j 12 $ make install building xvidcore - version 1.3.7 ======================= Downloading https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.gz as xvidcore-1.3.7.tar.gz ... Done Extracted xvidcore-1.3.7.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install $ rm /app/workspace/lib/libxvidcore.so /app/workspace/lib/libxvidcore.so.4 /app/workspace/lib/libxvidcore.so.4.3 building vid_stab - version 1.1.1 ======================= Downloading https://github.com/georgmartius/vid.stab/archive/v1.1.1.tar.gz as vid.stab-1.1.1.tar.gz ... Done Extracted vid.stab-1.1.1.tar.gz $ cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/app/workspace -DUSE_OMP=OFF -DENABLE_SHARED=off . $ make $ make install building av1 - version 7b5f665 ======================= Downloading https://aomedia.googlesource.com/aom/+archive/7b5f665.tar.gz as av1.tar.gz ... Done Extracted av1.tar.gz $ cmake -DENABLE_TESTS=0 -DENABLE_EXAMPLES=0 -DCMAKE_INSTALL_PREFIX=/app/workspace -DCMAKE_INSTALL_LIBDIR=lib /app/packages/av1 $ make -j 12 $ make install building zimg - version 3.0.5 ======================= Downloading https://github.com/sekrit-twc/zimg/archive/refs/tags/release-3.0.5.tar.gz as zimg-3.0.5.tar.gz ... Done Extracted zimg-3.0.5.tar.gz $ /app/workspace/bin/libtoolize -i -f -q $ ./autogen.sh --prefix=/app/workspace $ ./configure --prefix=/app/workspace --enable-static --disable-shared $ make -j 12 $ make install building lv2 - version 1.18.10 ======================= Downloading https://lv2plug.in/spec/lv2-1.18.10.tar.xz as lv2-1.18.10.tar.xz ... Done Extracted lv2-1.18.10.tar.xz $ meson build --prefix=/app/workspace --buildtype=release --default-library=static --libdir=/app/workspace/lib $ ninja -C build $ ninja -C build install building waflib - version b600c92 ======================= Downloading https://gitlab.com/drobilla/autowaf/-/archive/b600c92/autowaf-b600c92.tar.gz as autowaf.tar.gz ... Done Extracted autowaf.tar.gz building serd - version 0.30.16 ======================= Downloading https://gitlab.com/drobilla/serd/-/archive/v0.30.16/serd-v0.30.16.tar.gz as serd-v0.30.16.tar.gz ... Done Extracted serd-v0.30.16.tar.gz $ meson build --prefix=/app/workspace --buildtype=release --default-library=static --libdir=/app/workspace/lib $ ninja -C build $ ninja -C build install building pcre - version 8.45 ======================= Downloading https://altushost-swe.dl.sourceforge.net/project/pcre/pcre/8.45/pcre-8.45.tar.gz as pcre-8.45.tar.gz ... Done Extracted pcre-8.45.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building sord - version 0.16.14 ======================= Downloading https://gitlab.com/drobilla/sord/-/archive/v0.16.14/sord-v0.16.14.tar.gz as sord-v0.16.14.tar.gz ... Done Extracted sord-v0.16.14.tar.gz $ meson build --prefix=/app/workspace --buildtype=release --default-library=static --libdir=/app/workspace/lib $ ninja -C build $ ninja -C build install building sratom - version 0.6.14 ======================= Downloading https://gitlab.com/lv2/sratom/-/archive/v0.6.14/sratom-v0.6.14.tar.gz as sratom-v0.6.14.tar.gz ... Done Extracted sratom-v0.6.14.tar.gz $ meson build --prefix=/app/workspace --buildtype=release --default-library=static --libdir=/app/workspace/lib $ ninja -C build $ ninja -C build install building lilv - version 0.24.20 ======================= Downloading https://gitlab.com/lv2/lilv/-/archive/v0.24.20/lilv-v0.24.20.tar.gz as lilv-v0.24.20.tar.gz ... Done Extracted lilv-v0.24.20.tar.gz $ meson build --prefix=/app/workspace --buildtype=release --default-library=static --libdir=/app/workspace/lib $ ninja -C build $ ninja -C build install building opencore - version 0.1.6 ======================= Downloading https://deac-ams.dl.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.6.tar.gz as opencore-amr-0.1.6.tar.gz ... Done Extracted opencore-amr-0.1.6.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building lame - version 3.100 ======================= Downloading https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz/download?use_mirror=gigenet as lame-3.100.tar.gz ... Done Extracted lame-3.100.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building opus - version 1.4 ======================= Downloading https://downloads.xiph.org/releases/opus/opus-1.4.tar.gz as opus-1.4.tar.gz ... Done Extracted opus-1.4.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building libogg - version 1.3.5 ======================= Downloading https://ftp.osuosl.org/pub/xiph/releases/ogg/libogg-1.3.5.tar.xz as libogg-1.3.5.tar.xz ... Done Extracted libogg-1.3.5.tar.xz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building libvorbis - version 1.3.7 ======================= Downloading https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-1.3.7.tar.gz as libvorbis-1.3.7.tar.gz ... Done Extracted libvorbis-1.3.7.tar.gz $ ./configure --prefix=/app/workspace --with-ogg-libraries=/app/workspace/lib --with-ogg-includes=/app/workspace/include/ --enable-static --disable-shared --disable-oggtest $ make -j 12 $ make install building libtheora - version 1.1.1 ======================= Downloading https://ftp.osuosl.org/pub/xiph/releases/theora/libtheora-1.1.1.tar.gz as libtheora-1.1.1.tar.gz ... Done Extracted libtheora-1.1.1.tar.gz $ ./configure --prefix=/app/workspace --with-ogg-libraries=/app/workspace/lib --with-ogg-includes=/app/workspace/include/ --with-vorbis-libraries=/app/workspace/lib --with-vorbis-includes=/app/workspace/include/ --enable-static --disable-shared --disable-oggtest --disable-vorbistest --disable-examples --disable-asm --disable-spec $ make -j 12 $ make install building fdk_aac - version 2.0.2 ======================= Downloading https://sourceforge.net/projects/opencore-amr/files/fdk-aac/fdk-aac-2.0.2.tar.gz/download?use_mirror=gigenet as fdk-aac-2.0.2.tar.gz ... Done Extracted fdk-aac-2.0.2.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static --enable-pic $ make -j 12 $ make install building libtiff - version 4.5.0 ======================= Downloading https://download.osgeo.org/libtiff/tiff-4.5.0.tar.xz as tiff-4.5.0.tar.xz ... Done Extracted tiff-4.5.0.tar.xz $ ./configure --prefix=/app/workspace --disable-shared --enable-static --disable-dependency-tracking --disable-lzma --disable-webp --disable-zstd --without-x $ make -j 12 $ make install building libpng - version 1.6.39 ======================= Downloading https://gigenet.dl.sourceforge.net/project/libpng/libpng16/1.6.39/libpng-1.6.39.tar.gz as libpng-1.6.39.tar.gz ... Done Extracted libpng-1.6.39.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building libwebp - version 1.2.2 ======================= Downloading https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.2.tar.gz as libwebp-1.2.2.tar.gz ... Done Extracted libwebp-1.2.2.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static --disable-dependency-tracking --disable-gl --with-zlib-include=/app/workspace/include/ --with-zlib-lib=/app/workspace/lib $ cmake -DCMAKE_INSTALL_PREFIX=/app/workspace -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=include -DENABLE_SHARED=OFF -DENABLE_STATIC=ON ../ $ make -j 12 $ make install building libsdl - version 2.28.5 ======================= Downloading https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.tar.gz as SDL2-2.28.5.tar.gz ... Done Extracted SDL2-2.28.5.tar.gz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building FreeType2 - version 2.11.1 ======================= Downloading https://downloads.sourceforge.net/freetype/freetype-2.11.1.tar.xz as freetype-2.11.1.tar.xz ... Done Extracted freetype-2.11.1.tar.xz $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building srt - version 1.5.3 ======================= Downloading https://github.com/Haivision/srt/archive/v1.5.3.tar.gz as srt-1.5.3.tar.gz ... Done Extracted srt-1.5.3.tar.gz $ cmake . -DCMAKE_INSTALL_PREFIX=/app/workspace -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=include -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DENABLE_APPS=OFF -DUSE_STATIC_LIBSTDCXX=ON $ make install building libzmq - version 4.3.5 ======================= Downloading https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz as zeromq-4.3.5.tar.gz ... Done Extracted zeromq-4.3.5.tar.gz $ ./autogen.sh $ ./configure --prefix=/app/workspace --disable-shared --enable-static $ make -j 12 $ make install building nv-codec - version 11.1.5.3 ======================= Downloading https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.3/nv-codec-headers-11.1.5.3.tar.gz as nv-codec-headers-11.1.5.3.tar.gz ... Done Extracted nv-codec-headers-11.1.5.3.tar.gz $ make PREFIX=/app/workspace $ make PREFIX=/app/workspace install building amf - version 1.4.30 ======================= Downloading https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.30.tar.gz as AMF-1.4.30.tar.gz ... Done Extracted AMF-1.4.30.tar.gz $ rm -rf /app/workspace/include/AMF $ mkdir -p /app/workspace/include/AMF $ cp -r /app/packages/AMF-1.4.30/AMF-1.4.30/amf/public/include/components /app/packages/AMF-1.4.30/AMF-1.4.30/amf/public/include/core /app/workspace/include/AMF/ building ffmpeg - version 6.0 ======================= Downloading https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/6.0.tar.gz as FFmpeg-release-6.0.tar.gz ... Done Extracted FFmpeg-release-6.0.tar.gz install prefix /app/workspace source path . C compiler gcc C library glibc ARCH x86 (generic) big-endian no runtime cpu detection yes standalone assembly yes x86 assembler nasm MMX enabled yes MMXEXT enabled yes 3DNow! enabled yes 3DNow! extended enabled yes SSE enabled yes SSSE3 enabled yes AESNI enabled yes AVX enabled yes AVX2 enabled yes AVX-512 enabled yes AVX-512ICL enabled yes XOP enabled yes FMA3 enabled yes FMA4 enabled yes i686 features enabled yes CMOV is fast yes EBX available yes EBP available yes debug symbols no strip symbols yes optimize for size no optimizations yes static yes shared no postprocessing support yes network support yes threading support pthreads safe bitstream reader yes texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled no makeinfo supports HTML no xmllint enabled no External libraries: iconv libsrt libxvid libaom libsvtav1 libzimg libdav1d libtheora libzmq libfdk_aac libvidstab lv2 libfreetype libvorbis openssl libmp3lame libvpx sdl2 libopencore_amrnb libwebp zlib libopencore_amrwb libx264 libopus libx265 External libraries providing hardware acceleration: amf cuvid nvenc cuda ffnvcodec v4l2_m2m cuda_llvm libnpp vaapi cuda_nvcc nvdec Libraries: avcodec avformat swresample avdevice avutil swscale avfilter postproc Programs: ffmpeg ffplay ffprobe Enabled decoders: aac fmvc pcx aac_fixed fourxm pfm aac_latm fraps pgm aasc frwu pgmyuv ac3 ftr pgssub ac3_fixed g2m pgx acelp_kelvin g723_1 phm adpcm_4xm g729 photocd adpcm_adx gdv pictor adpcm_afc gem pixlet adpcm_agm gif pjs adpcm_aica gremlin_dpcm png adpcm_argo gsm ppm adpcm_ct gsm_ms prores adpcm_dtk h261 prosumer adpcm_ea h263 psd adpcm_ea_maxis_xa h263_v4l2m2m ptx adpcm_ea_r1 h263i qcelp adpcm_ea_r2 h263p qdm2 adpcm_ea_r3 h264 qdmc adpcm_ea_xas h264_cuvid qdraw adpcm_g722 h264_v4l2m2m qoi adpcm_g726 hap qpeg adpcm_g726le hca qtrle adpcm_ima_acorn hcom r10k adpcm_ima_alp hdr r210 adpcm_ima_amv hevc ra_144 adpcm_ima_apc hevc_cuvid ra_288 adpcm_ima_apm hevc_v4l2m2m ralf adpcm_ima_cunning hnm4_video rasc adpcm_ima_dat4 hq_hqa rawvideo adpcm_ima_dk3 hqx realtext adpcm_ima_dk4 huffyuv rka adpcm_ima_ea_eacs hymt rl2 adpcm_ima_ea_sead iac roq adpcm_ima_iss idcin roq_dpcm adpcm_ima_moflex idf rpza adpcm_ima_mtf iff_ilbm rscc adpcm_ima_oki ilbc rv10 adpcm_ima_qt imc rv20 adpcm_ima_rad imm4 rv30 adpcm_ima_smjpeg imm5 rv40 adpcm_ima_ssi indeo2 s302m adpcm_ima_wav indeo3 sami adpcm_ima_ws indeo4 sanm adpcm_ms indeo5 sbc adpcm_mtaf interplay_acm scpr adpcm_psx interplay_dpcm screenpresso adpcm_sbpro_2 interplay_video sdx2_dpcm adpcm_sbpro_3 ipu sga adpcm_sbpro_4 jacosub sgi adpcm_swf jpeg2000 sgirle adpcm_thp jpegls sheervideo adpcm_thp_le jv shorten adpcm_vima kgv1 simbiosis_imx adpcm_xa kmvc sipr adpcm_xmd lagarith siren adpcm_yamaha libaom_av1 smackaud adpcm_zork libdav1d smacker agm libfdk_aac smc aic libopencore_amrnb smvjpeg alac libopencore_amrwb snow alias_pix libopus sol_dpcm als libvorbis sonic amrnb libvpx_vp8 sp5x amrwb libvpx_vp9 speedhq amv loco speex anm lscr srgc ansi m101 srt anull mace3 ssa apac mace6 stl ape magicyuv subrip apng mdec subviewer aptx media100 subviewer1 aptx_hd metasound sunrast arbc microdvd svq1 argo mimic svq3 ass misc4 tak asv1 mjpeg targa asv2 mjpeg_cuvid targa_y216 atrac1 mjpegb tdsc atrac3 mlp text atrac3al mmvideo theora atrac3p mobiclip thp atrac3pal motionpixels tiertexseqvideo atrac9 movtext tiff aura mp1 tmv aura2 mp1float truehd av1 mp2 truemotion1 av1_cuvid mp2float truemotion2 avrn mp3 truemotion2rt avrp mp3adu truespeech avs mp3adufloat tscc avui mp3float tscc2 ayuv mp3on4 tta bethsoftvid mp3on4float twinvq bfi mpc7 txd bink mpc8 ulti binkaudio_dct mpeg1_cuvid utvideo binkaudio_rdft mpeg1_v4l2m2m v210 bintext mpeg1video v210x bitpacked mpeg2_cuvid v308 bmp mpeg2_v4l2m2m v408 bmv_audio mpeg2video v410 bmv_video mpeg4 vb bonk mpeg4_cuvid vble brender_pix mpeg4_v4l2m2m vbn c93 mpegvideo vc1 cavs mpl2 vc1_cuvid cbd2_dpcm msa1 vc1_v4l2m2m ccaption mscc vc1image cdgraphics msmpeg4v1 vcr1 cdtoons msmpeg4v2 vmdaudio cdxl msmpeg4v3 vmdvideo cfhd msnsiren vmnc cinepak msp2 vnull clearvideo msrle vorbis cljr mss1 vp3 cllc mss2 vp4 comfortnoise msvideo1 vp5 cook mszh vp6 cpia mts2 vp6a cri mv30 vp6f cscd mvc1 vp7 cyuv mvc2 vp8 dca mvdv vp8_cuvid dds mvha vp8_v4l2m2m derf_dpcm mwsc vp9 dfa mxpeg vp9_cuvid dfpwm nellymoser vp9_v4l2m2m dirac notchlc vplayer dnxhd nuv vqa dolby_e on2avc vqc dpx opus wady_dpcm dsd_lsbf paf_audio wavarc dsd_lsbf_planar paf_video wavpack dsd_msbf pam wbmp dsd_msbf_planar pbm wcmv dsicinaudio pcm_alaw webp dsicinvideo pcm_bluray webvtt dss_sp pcm_dvd wmalossless dst pcm_f16le wmapro dvaudio pcm_f24le wmav1 dvbsub pcm_f32be wmav2 dvdsub pcm_f32le wmavoice dvvideo pcm_f64be wmv1 dxa pcm_f64le wmv2 dxtory pcm_lxf wmv3 dxv pcm_mulaw wmv3image eac3 pcm_s16be wnv1 eacmv pcm_s16be_planar wrapped_avframe eamad pcm_s16le ws_snd1 eatgq pcm_s16le_planar xan_dpcm eatgv pcm_s24be xan_wc3 eatqi pcm_s24daud xan_wc4 eightbps pcm_s24le xbin eightsvx_exp pcm_s24le_planar xbm eightsvx_fib pcm_s32be xface escape124 pcm_s32le xl escape130 pcm_s32le_planar xma1 evrc pcm_s64be xma2 exr pcm_s64le xpm fastaudio pcm_s8 xsub ffv1 pcm_s8_planar xwd ffvhuff pcm_sga y41p ffwavesynth pcm_u16be ylc fic pcm_u16le yop fits pcm_u24be yuv4 flac pcm_u24le zero12v flashsv pcm_u32be zerocodec flashsv2 pcm_u32le zlib flic pcm_u8 zmbv flv pcm_vidc Enabled encoders: a64multi hevc_vaapi pcm_vidc a64multi5 huffyuv pcx aac jpeg2000 pfm ac3 jpegls pgm ac3_fixed libaom_av1 pgmyuv adpcm_adx libfdk_aac phm adpcm_argo libmp3lame png adpcm_g722 libopencore_amrnb ppm adpcm_g726 libopus prores adpcm_g726le libsvtav1 prores_aw adpcm_ima_alp libtheora prores_ks adpcm_ima_amv libvorbis qoi adpcm_ima_apm libvpx_vp8 qtrle adpcm_ima_qt libvpx_vp9 r10k adpcm_ima_ssi libwebp r210 adpcm_ima_wav libwebp_anim ra_144 adpcm_ima_ws libx264 rawvideo adpcm_ms libx264rgb roq adpcm_swf libx265 roq_dpcm adpcm_yamaha libxvid rpza alac ljpeg rv10 alias_pix magicyuv rv20 amv mjpeg s302m anull mjpeg_vaapi sbc apng mlp sgi aptx movtext smc aptx_hd mp2 snow ass mp2fixed sonic asv1 mpeg1video sonic_ls asv2 mpeg2_vaapi speedhq av1_amf mpeg2video srt avrp mpeg4 ssa avui mpeg4_v4l2m2m subrip ayuv msmpeg4v2 sunrast bitpacked msmpeg4v3 svq1 bmp msvideo1 targa cfhd nellymoser text cinepak opus tiff cljr pam truehd comfortnoise pbm tta dca pcm_alaw ttml dfpwm pcm_bluray utvideo dnxhd pcm_dvd v210 dpx pcm_f32be v308 dvbsub pcm_f32le v408 dvdsub pcm_f64be v410 dvvideo pcm_f64le vbn eac3 pcm_mulaw vc2 exr pcm_s16be vnull ffv1 pcm_s16be_planar vorbis ffvhuff pcm_s16le vp8_v4l2m2m fits pcm_s16le_planar vp8_vaapi flac pcm_s24be vp9_vaapi flashsv pcm_s24daud wavpack flashsv2 pcm_s24le wbmp flv pcm_s24le_planar webvtt g723_1 pcm_s32be wmav1 gif pcm_s32le wmav2 h261 pcm_s32le_planar wmv1 h263 pcm_s64be wmv2 h263_v4l2m2m pcm_s64le wrapped_avframe h263p pcm_s8 xbm h264_amf pcm_s8_planar xface h264_nvenc pcm_u16be xsub h264_v4l2m2m pcm_u16le xwd h264_vaapi pcm_u24be y41p hdr pcm_u24le yuv4 hevc_amf pcm_u32be zlib hevc_nvenc pcm_u32le zmbv hevc_v4l2m2m pcm_u8 Enabled hwaccels: av1_nvdec mjpeg_vaapi vp8_nvdec av1_vaapi mpeg1_nvdec vp8_vaapi h263_vaapi mpeg2_nvdec vp9_nvdec h264_nvdec mpeg2_vaapi vp9_vaapi h264_vaapi mpeg4_nvdec wmv3_nvdec hevc_nvdec mpeg4_vaapi wmv3_vaapi hevc_vaapi vc1_nvdec mjpeg_nvdec vc1_vaapi Enabled parsers: aac dvdsub opus aac_latm flac png ac3 ftr pnm adx g723_1 qoi amr g729 rv30 av1 gif rv40 avs2 gsm sbc avs3 h261 sipr bmp h263 tak cavsvideo h264 vc1 cook hdr vorbis cri hevc vp3 dca ipu vp8 dirac jpeg2000 vp9 dnxhd misc4 webp dolby_e mjpeg xbm dpx mlp xma dvaudio mpeg4video xwd dvbsub mpegaudio dvd_nav mpegvideo Enabled demuxers: aa idf pcm_s16be aac iff pcm_s16le aax ifv pcm_s24be ac3 ilbc pcm_s24le ace image2 pcm_s32be acm image2_alias_pix pcm_s32le act image2_brender_pix pcm_s8 adf image2pipe pcm_u16be adp image_bmp_pipe pcm_u16le ads image_cri_pipe pcm_u24be adx image_dds_pipe pcm_u24le aea image_dpx_pipe pcm_u32be afc image_exr_pipe pcm_u32le aiff image_gem_pipe pcm_u8 aix image_gif_pipe pcm_vidc alp image_hdr_pipe pjs amr image_j2k_pipe pmp amrnb image_jpeg_pipe pp_bnk amrwb image_jpegls_pipe pva anm image_jpegxl_pipe pvf apac image_pam_pipe qcp apc image_pbm_pipe r3d ape image_pcx_pipe rawvideo apm image_pfm_pipe realtext apng image_pgm_pipe redspark aptx image_pgmyuv_pipe rka aptx_hd image_pgx_pipe rl2 aqtitle image_phm_pipe rm argo_asf image_photocd_pipe roq argo_brp image_pictor_pipe rpl argo_cvg image_png_pipe rsd asf image_ppm_pipe rso asf_o image_psd_pipe rtp ass image_qdraw_pipe rtsp ast image_qoi_pipe s337m au image_sgi_pipe sami av1 image_sunrast_pipe sap avi image_svg_pipe sbc avr image_tiff_pipe sbg avs image_vbn_pipe scc avs2 image_webp_pipe scd avs3 image_xbm_pipe sdns bethsoftvid image_xpm_pipe sdp bfi image_xwd_pipe sdr2 bfstm ingenient sds bink ipmovie sdx binka ipu segafilm bintext ircam ser bit iss sga bitpacked iv8 shorten bmv ivf siff boa ivr simbiosis_imx bonk jacosub sln brstm jv smacker c93 kux smjpeg caf kvag smush cavsvideo laf sol cdg live_flv sox cdxl lmlm4 spdif cine loas srt codec2 lrc stl codec2raw luodat str concat lvf subviewer data lxf subviewer1 daud m4v sup dcstr matroska svag derf mca svs dfa mcc swf dfpwm mgsts tak dhav microdvd tedcaptions dirac mjpeg thp dnxhd mjpeg_2000 threedostr dsf mlp tiertexseq dsicin mlv tmv dss mm truehd dts mmf tta dtshd mods tty dv moflex txd dvbsub mov ty dvbtxt mp3 v210 dxa mpc v210x ea mpc8 vag ea_cdata mpegps vc1 eac3 mpegts vc1t epaf mpegtsraw vividas ffmetadata mpegvideo vivo filmstrip mpjpeg vmd fits mpl2 vobsub flac mpsub voc flic msf vpk flv msnwc_tcp vplayer fourxm msp vqf frm mtaf w64 fsb mtv wady fwse musx wav g722 mv wavarc g723_1 mvi wc3 g726 mxf webm_dash_manifest g726le mxg webvtt g729 nc wsaud gdv nistsphere wsd genh nsp wsvqa gif nsv wtv gsm nut wv gxf nuv wve h261 obu xa h263 ogg xbin h264 oma xmd hca paf xmv hcom pcm_alaw xvag hevc pcm_f32be xwma hls pcm_f32le yop hnm pcm_f64be yuv4mpegpipe ico pcm_f64le idcin pcm_mulaw Enabled muxers: a64 h263 pcm_s16le ac3 h264 pcm_s24be adts hash pcm_s24le adx hds pcm_s32be aiff hevc pcm_s32le alp hls pcm_s8 amr ico pcm_u16be amv ilbc pcm_u16le apm image2 pcm_u24be apng image2pipe pcm_u24le aptx ipod pcm_u32be aptx_hd ircam pcm_u32le argo_asf ismv pcm_u8 argo_cvg ivf pcm_vidc asf jacosub psp asf_stream kvag rawvideo ass latm rm ast lrc roq au m4v rso avi matroska rtp avif matroska_audio rtp_mpegts avm2 md5 rtsp avs2 microdvd sap avs3 mjpeg sbc bit mkvtimestamp_v2 scc caf mlp segafilm cavsvideo mmf segment codec2 mov smjpeg codec2raw mp2 smoothstreaming crc mp3 sox dash mp4 spdif data mpeg1system spx daud mpeg1vcd srt dfpwm mpeg1video stream_segment dirac mpeg2dvd streamhash dnxhd mpeg2svcd sup dts mpeg2video swf dv mpeg2vob tee eac3 mpegts tg2 f4v mpjpeg tgp ffmetadata mxf truehd fifo mxf_d10 tta fifo_test mxf_opatom ttml filmstrip null uncodedframecrc fits nut vc1 flac obu vc1t flv oga voc framecrc ogg w64 framehash ogv wav framemd5 oma webm g722 opus webm_chunk g723_1 pcm_alaw webm_dash_manifest g726 pcm_f32be webp g726le pcm_f32le webvtt gif pcm_f64be wsaud gsm pcm_f64le wtv gxf pcm_mulaw wv h261 pcm_s16be yuv4mpegpipe Enabled protocols: async http rtmpe cache httpproxy rtmps concat https rtmpt concatf icecast rtmpte crypto ipfs_gateway rtmpts data ipns_gateway rtp fd libsrt srtp ffrtmpcrypt libzmq subfile ffrtmphttp md5 tcp file mmsh tee ftp mmst tls gopher pipe udp gophers prompeg udplite hls rtmp unix Enabled filters: a3dscope dblur palettegen abench dcshift paletteuse abitscope dctdnoiz pan acompressor deband perms acontrast deblock perspective acopy decimate phase acrossfade deconvolve photosensitivity acrossover dedot pixdesctest acrusher deesser pixelize acue deflate pixscope addroi deflicker pp adeclick deinterlace_vaapi pp7 adeclip dejudder premultiply adecorrelate delogo prewitt adelay denoise_vaapi procamp_vaapi adenorm derain pseudocolor aderivative deshake psnr adrawgraph despill pullup adrc detelecine qp adynamicequalizer dialoguenhance random adynamicsmooth dilation readeia608 aecho displace readvitc aemphasis dnn_classify realtime aeval dnn_detect remap aevalsrc dnn_processing removegrain aexciter doubleweave removelogo afade drawbox repeatfields afdelaysrc drawgraph replaygain afftdn drawgrid reverse afftfilt drawtext rgbashift afifo drmeter rgbtestsrc afir dynaudnorm roberts afirsrc earwax rotate aformat ebur128 sab afreqshift edgedetect scale afwtdn elbg scale2ref agate entropy scale2ref_npp agraphmonitor epx scale_cuda ahistogram eq scale_npp aiir equalizer scale_vaapi aintegral erosion scdet ainterleave estdif scharr alatency exposure scroll alimiter extractplanes segment allpass extrastereo select allrgb fade selectivecolor allyuv feedback sendcmd aloop fftdnoiz separatefields alphaextract fftfilt setdar alphamerge field setfield amerge fieldhint setparams ametadata fieldmatch setpts amix fieldorder setrange amovie fifo setsar amplify fillborders settb amultiply find_rect sharpen_npp anequalizer firequalizer sharpness_vaapi anlmdn flanger shear anlmf floodfill showcqt anlms format showcwt anoisesrc fps showfreqs anull framepack showinfo anullsink framerate showpalette anullsrc framestep showspatial apad freezedetect showspectrum aperms freezeframes showspectrumpic aphasemeter fspp showvolume aphaser gblur showwaves aphaseshift geq showwavespic apsyclip gradfun shuffleframes apulsator gradients shufflepixels arealtime graphmonitor shuffleplanes aresample grayworld sidechaincompress areverse greyedge sidechaingate arnndn guided sidedata asdr haas sierpinski asegment haldclut signalstats aselect haldclutsrc signature asendcmd hdcd silencedetect asetnsamples headphone silenceremove asetpts hflip sinc asetrate highpass sine asettb highshelf siti ashowinfo hilbert smartblur asidedata histeq smptebars asoftclip histogram smptehdbars aspectralstats hqdn3d sobel asplit hqx spectrumsynth astats hstack speechnorm astreamselect hstack_vaapi split asubboost hsvhold spp asubcut hsvkey sr asupercut hue ssim asuperpass huesaturation ssim360 asuperstop hwdownload stereo3d atadenoise hwmap stereotools atempo hwupload stereowiden atilt hwupload_cuda streamselect atrim hysteresis super2xsai avectorscope identity superequalizer avgblur idet surround avsynctest il swaprect axcorrelate inflate swapuv azmq interlace tblend backgroundkey interleave telecine bandpass join testsrc bandreject kerndeint testsrc2 bass kirsch thistogram bbox lagfun threshold bench latency thumbnail bilateral lenscorrection thumbnail_cuda bilateral_cuda life tile biquad limitdiff tiltshelf bitplanenoise limiter tinterlace blackdetect loop tlut2 blackframe loudnorm tmedian blend lowpass tmidequalizer blockdetect lowshelf tmix blurdetect lumakey tonemap bm3d lut tonemap_vaapi boxblur lut1d tpad bwdif lut2 transpose cas lut3d transpose_npp cellauto lutrgb transpose_vaapi channelmap lutyuv treble channelsplit lv2 tremolo chorus mandelbrot trim chromahold maskedclamp unpremultiply chromakey maskedmax unsharp chromakey_cuda maskedmerge untile chromanr maskedmin v360 chromashift maskedthreshold vaguedenoiser ciescope maskfun varblur codecview mcompand vectorscope color median vflip colorbalance mergeplanes vfrdet colorchannelmixer mestimate vibrance colorchart metadata vibrato colorcontrast midequalizer vidstabdetect colorcorrect minterpolate vidstabtransform colorhold mix vif colorize monochrome vignette colorkey morpho virtualbass colorlevels movie vmafmotion colormap mpdecimate volume colormatrix mptestsrc volumedetect colorspace msad vstack colorspace_cuda multiply vstack_vaapi colorspectrum negate w3fdif colortemperature nlmeans waveform compand nnedi weave compensationdelay noformat xbr concat noise xcorrelate convolution normalize xfade convolve null xmedian copy nullsink xstack corr nullsrc xstack_vaapi cover_rect oscilloscope yadif crop overlay yadif_cuda cropdetect overlay_cuda yaepblur crossfeed overlay_vaapi yuvtestsrc crystalizer owdenoise zmq cue pad zoompan curves pal100bars zscale datascope pal75bars Enabled bsfs: aac_adtstoasc h264_redundant_pps opus_metadata av1_frame_merge hapqa_extract pcm_rechunk av1_frame_split hevc_metadata pgs_frame_merge av1_metadata hevc_mp4toannexb prores_metadata chomp imx_dump_header remove_extradata dca_core media100_to_mjpegb setts dts2pts mjpeg2jpeg text2movsub dump_extradata mjpega_dump_header trace_headers dv_error_marker mov2textsub truehd_core eac3_core mp3_header_decompress vp9_metadata extract_extradata mpeg2_metadata vp9_raw_reorder filter_units mpeg4_unpack_bframes vp9_superframe h264_metadata noise vp9_superframe_split h264_mp4toannexb null Enabled indevs: fbdev oss lavfi v4l2 Enabled outdevs: fbdev sdl2 oss v4l2 License: nonfree and unredistributable $ make -j 12 $ make install Building done. The following binaries can be found here: - ffmpeg: /app/workspace/bin/ffmpeg - ffprobe: /app/workspace/bin/ffprobe - ffplay: /app/workspace/bin/ffplay Install these binaries to your /usr/local/bin folder? Existing binaries will be replaced. [Y/n] y Password: Done. FFmpeg is now installed to your system. ```
--- # Project info ### Tested on * MacOS 26 * Debian 13 * Ubuntu 24.04 ### Continuous Integration ffmpeg-build-script is very stable. Every commit runs against Linux and macOS with https://github.com/markus-perl/ffmpeg-build-script/actions to make sure everything works as expected. ### Contributing Bug reports and pull requests are welcome — please read [CONTRIBUTING.md](CONTRIBUTING.md) first, it covers which systems are supported, how to run the lint checks and how to test a change without sitting through a full build every time. Found a security problem? Do not open a public issue — follow [SECURITY.md](SECURITY.md). ### Contact * Github: [http://www.github.com/markus-perl/](https://github.com/markus-perl/ffmpeg-build-script) ### Other Projects Of Mine - [Pushover CLI Client](https://github.com/markus-perl/pushover-cli) - [Gender API](https://gender-api.com): [Genderize A Name](https://gender-api.com) - [Gender API Client PHP](https://github.com/markus-perl/gender-api-client) - [Gender API Client NPM](https://github.com/markus-perl/gender-api-client-npm) - [Genderize Names](https://www.youtube.com/watch?v=2SLIAguaygo) - [Genderize API](https://gender-api.io)