Skip to content

Latest commit

 

History

History
1498 lines (1335 loc) · 66.7 KB

README.md

File metadata and controls

1498 lines (1335 loc) · 66.7 KB

build test

FFmpeg build script

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

Youtube: How-To build and install FFmpeg on macOS

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.

Requirements to build

macOS

  • XCode 14.x or greater

Linux

  • Debian >= Buster, Ubuntu => Focal Fossa; other distributions might work too
  • Rocky Linux 8
# Debian and Ubuntu
$ sudo apt install build-essential curl

# Fedora
$ sudo dnf install @development-tools curl

Quick Script Installation

Note: to enable hardware acceleration, see details below.

Quick install and build (macOS, Linux)

Open your command line and run (curl needs to be installed):

# Without GPL and non-free codes, see https://ffmpeg.org/legal.html 
$ bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install.sh?v1")

# With GPL and non-free codes, see https://ffmpeg.org/legal.html 
$ bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install-gpl-and-non-free.sh?v1")

This command downloads the build script and automatically starts the build process.

Common install and build (macOS, Linux)

$ 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

Supported Codecs

  • x264: H.264 Video Codec (MPEG-4 AVC)
  • x265: H.265 Video Codec (HEVC)
  • 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)
  • 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
  • srt: Secure Reliable Transport
  • webp: Image format both lossless and lossy

HardwareAccel

  • nv-codec: NVIDIA's GPU accelerated video codecs. These encoders/decoders will only be available if a CUDA installation was found while building the binary. Follow these instructions for installation. Supported codecs in nvcodec:
    • Decoders
      • 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: Video Acceleration API. These encoders/decoders will only be available if a libva driver installation was found while building the binary. Follow these instructions for installation. 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
  • AMF: AMD's Advanced Media Framework. These encoders will only be available if amdgpu drivers are detected in use on the system with lspci -v.
    • Encoders
      • H264 h264_amf

Build Script Usage

Usage: build-ffmpeg [OPTIONS]
Options:
  -h, --help                     Display usage information
      --version                  Display version information
  -b, --build                    Starts the build process
      --enable-gpl-and-non-free  Enable non-free codecs  - https://ffmpeg.org/legal.html
      --latest                   Build latest version of dependencies if newer available
  -c, --cleanup                  Remove all working dirs
      --small                    Prioritize small size over speed and usability; don't build manpages.
      --full-static              Complete static build of ffmpeg (eg. glibc, pthreads etc...) **only Linux**
                                 Note: Because of the NSS (Name Service Switch), glibc does not recommend static links.

Notes on static linking

  • Because of the NSS (Name Service Switch), glibc does not recommend static links. See more details here.

  • The libnpp in the CUDA SDK cannot be statically linked.

  • Vaapi cannot be statically linked.

Common full build (macOS, Linux)

  1. Install the prerequisites, above.

  2. Install optional dependencies, as desired.

    • If you have an NVIDIA GPU and want to enable CUDA acceleration, please refer to these instructions to install the SDK.

    • If you have an AMD GPU and want to enable AMF acceleration, please refer to these instructions to install the drivers.

    • If you want to enable Vaapi acceleration (for most GPUs), please refer to these instructions to install the driver.

    • If you want the librav1e AV1 encoder, please install rust to get cargo for the build process. Be sure to start a new shell before building, so that cargo is in the new path. If desired, it can be removed with rustup self uninstall after the build is complete.

    • If you want the dav1d AV1 decoder, please ensure that python3 is installed. If using the system python installation, also ensure that meson and ninja are installed before running (otherwise the script will try to install them using pip3).

    • If you want the Lv2 filter plugin, please ensure that python3 is installed.

  3. Run the downoaded build script from the current directory, with your desired options.

    $ ./build-ffmpeg [your parameters here] --build
    • Packages will be under the packages/ subdirectory.
    • Build results will be under the workspace/ subdirectory.

    Upon completion, build-ffmpeg will prompt you for whether to install.

  4. Once installed, if you are satisfied with your ffmpeg build, the ffmpeg-build-script directory can be removed completely.

CUDA installation

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

    sudo apt install nvidia-cuda-toolkit

    After compilation, you can run

    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 or this blog to setup the CUDA toolkit.

It is also beneficial to set the CUDA_COMPUTE_CAPABILITY environmental variable so the build is tailored to your hardware and its capabilities. There are many ways you can find your compute capability, for example by using nvidia-smi.

Vaapi installation

You will need the libva driver, so please install it below.

# Debian and Ubuntu
$ sudo apt install libva-dev vainfo

# Fedora and CentOS
$ sudo dnf install libva-devel libva-intel-driver libva-utils

AMF installation

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.

./amdgpu-pro-install -y --opencl=rocr,legacy

LV2 Plugin Support

If python 3 is available, the script will build a ffmpeg binary with Lv2 filter plugin support.

Apple M1 (Apple Silicon) Support

The script also builds FFmpeg on a new MacBook with an Apple Silicon M1 processor.

Build in Docker (Linux)

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.

Default

If you're running an operating system other than the one above, a completely static build may work. To build a full statically linked binary inside Docker, just run the following command:

$ docker build --tag=ffmpeg:default --output type=local,dest=build -f 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

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

$ 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

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

Full static version

If you're running an operating system other than the one above, a completely static build may work. To build a full statically linked binary inside Docker, just run the following command:

$ sudo -E docker build --tag=ffmpeg:cuda-static --output type=local,dest=build -f full-static.dockerfile .

Run with Docker (macOS, Linux)

You can also run the FFmpeg directly inside a Docker container.

Default - Without CUDA (macOS, Linux)

If CUDA is not required, a dockerized FFmpeg build can be executed with the following command:

$ 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. You can then run FFmpeg inside Docker with GPU hardware acceleration enabled, as follows:

$ 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

Contact

Tested on

  • MacOS 10.15
  • Debian 10
  • Ubuntu 20.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.

Example

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.

Other Projects Of Mine