{"id":16410382,"url":"https://github.com/ctrlcctrlv/bloated-ffmpeg-compile-command","last_synced_at":"2026-03-01T14:31:30.453Z","repository":{"id":62738227,"uuid":"482791996","full_name":"ctrlcctrlv/bloated-ffmpeg-compile-command","owner":"ctrlcctrlv","description":"what it says on the tin","archived":false,"fork":false,"pushed_at":"2023-04-29T12:07:31.000Z","size":332,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-12T06:24:09.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctrlcctrlv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-18T09:39:06.000Z","updated_at":"2023-05-18T05:13:16.000Z","dependencies_parsed_at":"2023-02-08T20:16:32.218Z","dependency_job_id":null,"html_url":"https://github.com/ctrlcctrlv/bloated-ffmpeg-compile-command","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlcctrlv%2Fbloated-ffmpeg-compile-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlcctrlv%2Fbloated-ffmpeg-compile-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlcctrlv%2Fbloated-ffmpeg-compile-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlcctrlv%2Fbloated-ffmpeg-compile-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctrlcctrlv","download_url":"https://codeload.github.com/ctrlcctrlv/bloated-ffmpeg-compile-command/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223897037,"owners_count":17221475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:24:09.659Z","updated_at":"2026-03-01T14:31:30.394Z","avatar_url":"https://github.com/ctrlcctrlv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bloated `ffmpeg` compile command v2.0.20230429\n\nonly tested in \u003cs\u003eUbuntu\u003c/s\u003e Arch but should work in \u003cs\u003eDebian\u003c/s\u003e Parabola\n\nUPDATE 2023-04-29: This is now an Arch PKGBUILD and is [ffmpeg-intel-full-git](https://aur.archlinux.org/packages/ffmpeg-intel-full-git).\n\n```plain\n#########################################################################\n#             ____  _      ___   ____ ______   ___ ___                  B\n#            |    \\| T    /   \\ /    |      T /  _|   \\                 L\n#            |  o  | |   Y     Y  o  |      |/  [_|    \\                O\n#            |     | l___|  O  |     l_j  l_Y    _|  D  Y               A\n#            |  O  |     |     |  _  | |  | |   [_|     |               T\n#            |     |     l     |  |  | |  | |     |     |               E\n#            |     |     l     |  |  | |  | |     |     |               D\n#            |     |     l     |  |  | |  | |     |     |               .\n#            l_____l_____j\\___/l__j__j l__j l_____l_____j               .\n#                                                                       .\n#                        _   .-')      _ (`-.    ('-.                   .\n#                       ( '.( OO )_   ( (OO  ) _(  OO)                  F\n#     ,------.   ,------.,--.   ,--.)_.`     \\(,------. ,----.          F\n#  ('-| _.---'('-| _.---'|   `.'   |(__...--'' |  .---''  .-./-')       M\n#  (OO|(_\\    (OO|(_\\    |         | |  /  | | |  |    |  |_( O- )      P\n#  /  |  '--. /  |  '--. |  |'.'|  | |  |_.' |(|  '--. |  | .--, \\      E\n#  \\_)|  .--' \\_)|  .--' |  |   |  | |  .___.' |  .--'(|  | '. (_/      G\n#    \\|  |_)    \\|  |_)  |  |   |  | |  |      |  `---.|  '--'  |       .\n#     `--'       `--'    `--'   `--' `--'      `------' `------'        .\n#                                                                       .\n#                                      ▀▀ ███                           .\n#            ███  ███  ███████  █████  ██ ▒██  ███  ████                M\n#           ██▒▒ ██▒██ ██▒██▒██ ▒██▒██ ██ ░██ ██▒██ ██▒██               A\n#           ██   ██▒██ ██▒██▒██ ▒██▒██ ██ ░██ ████▒ ██                  P\n#           ██   ██░██ ██▒██▒██ ▒██░██ ██ ░██ ██▒▒  ██                  A\n#           ▒███ ▒███▒ ██░██░███░████  ██ ░██ ▒███  ███                 C\n#            ▒▒▒  ▒▒▒  ▒▒ ▒▒ ▒▒▒░██▒▒  ▒▒ ░▒▒  ▒▒▒  ▒▒▒                 H\n#                               ███                                     E\n#                               ▒▒▒                                     🦝\n#                                                                       🎈\n#########################################################################\n```\n\nWhat it says on the tin.\n\nA friend saw my absurd `ffmpeg` invocation banner:\n\n```plain\n\u001b[1mOwO what's this?\u001b(B\u001b[m\nffmpeg version N-109562-g0431f9805e Copyright (c) 2000-2023 the FFmpeg developers\nconfiguration: --prefix=/opt --cc=clang --cxx=clang++ --enable-shared\n--enable-nvenc --enable-nvdec --enable-nonfree --enable-cuda-nvcc\n--enable-libnpp --extra-cflags=-I/usr/local/cuda/include\n--extra-ldflags='-L/usr/local/cuda/lib64 -L/opt/include/ffnvcodec'\n--enable-filter='stereo3d,asr,sofalizer' --enable-libaom --enable-libass\n--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus\n--enable-libdav1d --enable-libvorbis --enable-libvpx --enable-nonfree\n--enable-vaapi --enable-opencl --enable-opengl --enable-libtesseract\n--enable-libwebp --enable-openssl --enable-libfontconfig --enable-libbluray\n--enable-libv4l2 --enable-libfribidi --enable-libspeex --enable-librsvg\n--enable-libssh --enable-libpulse --enable-libcaca --enable-librubberband\n--enable-libxcb-xfixes --enable-libdavs2 --enable-frei0r --enable-libcdio\n--enable-libvidstab --enable-libsrt --enable-libglslang --enable-libsoxr\n--enable-pocketsphinx --enable-libflite --enable-libx264 --enable-libx265\n--enable-vdpau --enable-libzimg --enable-libsvtav1 --enable-gpl\n--enable-libaribb24 --enable-version3 --enable-libzvbi --enable-libmysofa\n--enable-ffplay --disable-stripping --enable-debug --enable-libjxl\nlibavutil      57. 43.100 / 57. 43.100\nlibavcodec     59. 56.100 / 59. 56.100\nlibavformat    59. 34.102 / 59. 34.102\nlibavdevice    59.  8.101 / 59.  8.101\nlibavfilter     8. 53.100 /  8. 53.100\nlibswscale      6.  8.112 /  6.  8.112\nlibswresample   4.  9.100 /  4.  9.100\nlibpostproc    56.  7.100 / 56.  7.100\n```\n\nAnd wanted to know how I got it. This version of ffmpeg has all of [these abilities](https://github.com/ctrlcctrlv/bloated-ffmpeg-compile-command/blob/main/doc/config_stdout.txt).\n\n# Just how bloated is bloated?\nQuite.\n\n\u003cimg src=\"doc/コピペ.webp\" width=\"200\"\u003e\n\u003csup\u003e\u003csub\u003eNot this much though! Art by @\u003ca href=\"https://twitter.com/Haruk000_\"\u003eharuk000_\u003c/a\u003e.\u003c/sub\u003e\u003c/sup\u003e\n\nFactoring in all shared libraries the Mapache bloated `ffmpeg` weighs 457 megabytes all told, with its `libavcodec.so` ranking first for size.\n```bash\n#!/bin/bash\ndoc/bin-size.sh ffmpeg | tac # | ansi2txt\n```\n```plain\n  400.08MB\ttotal\n   68.41MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnppif.so.11.5.1.107\n   64.36MB\t\t\t/opt/lib/libavcodec.so.59.51.101\n   30.95MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnppig.so.11.5.1.107\n   28.12MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libicudata.so.70.1\n   27.71MB\t\t\t/opt/lib/libavfilter.so.8.49.101\n   15.77MB\t\t\t/opt/lib/libavformat.so.59.34.101\n   15.33MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libx265.so.199\n   10.72MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/librsvg-2.so.2.48.0\n    9.22MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnppidei.so.11.5.1.107\n    7.22MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0\n    6.08MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnppicc.so.11.5.1.107\n    5.14MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libaom.so.3.3.0\n    4.71MB\t\t\t/opt/lib/libjxl.so.0.8.0\n    4.60MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_cmu_us_rms.so.2.2\n    4.25MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcrypto.so.3\n    3.97MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_cmu_us_slt.so.2.2\n    3.96MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_cmu_us_awb.so.2.2\n    3.85MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_cmu_us_kal16.so.2.2\n    3.13MB\t\t\t/opt/lib/libavutil.so.57.41.100\n    3.08MB\t\t\t/opt/lib/libwebp.so.7.1.5\n    3.03MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libvpx.so.7.0.0\n    3.03MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libtesseract.so.4.0.1\n    2.86MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0\n    2.67MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/liblept.so.5.0.4\n    2.51MB\t\t\t/opt/lib/libswscale.so.6.8.112\n    2.15MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30\n    2.12MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libc.so.6\n    1.97MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libicuuc.so.70.1\n    1.91MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgnutls.so.30.31.0\n    1.88MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxml2.so.2.9.13\n    1.84MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.7200.1\n    1.78MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libx264.so.163\n    1.67MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libunistring.so.2.2.0\n    1.60MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.18.2\n    1.53MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnppc.so.11.5.1.107\n    1.43MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsamplerate.so.0.2.2\n    1.40MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_cmu_us_kal.so.2.2\n    1.33MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libslang.so.2.3.2\n    1.26MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdav1d.so.5.1.1\n    1.25MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libX11.so.6.4.0\n    1.24MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgcrypt.so.20.3.4\n    1.23MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0\n    1.22MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.1\n    1.19MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libfdk-aac.so.2.0.2\n    1.15MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcairo.so.2.11600.0\n    1.14MB\t\t\t/opt/bin//ffmpeg\n    1.02MB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libasound.so.2.0.0\n  952.83KB\t\t\t/opt/lib/libavdevice.so.59.8.101\n  918.52KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libm.so.6\n  824.83KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20704.0\n  822.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libzstd.so.1.4.8\n  808.60KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libkrb5.so.3.3\n  807.97KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcaca.so.0.99.19\n  802.10KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libarchive.so.13.6.0\n  794.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libfreetype.so.6.18.1\n  789.00KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsystemd.so.0.32.0\n  742.93KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsrt-gnutls.so.1.4.4\n  698.44KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0\n  678.18KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.40.0\n  678.14KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.12\n  661.98KB\t\t\t/opt/lib/libbrotlienc.so.1.0.7\n  658.20KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdavs2.so.16\n  657.85KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0\n  652.22KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libssl.so.3\n  602.23KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_cmulex.so.2.2\n  598.70KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.4\n  530.33KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libGL.so.1.7.0\n  530.17KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libtiff.so.5.7.0\n  526.33KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so\n  514.55KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1\n  510.71KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2\n  496.54KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.31\n  466.11KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpcre.so.3.13.3\n  431.59KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libssh.so.4.8.7\n  407.75KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.5000.6\n  405.15KB\t\t\t/opt/lib/libswresample.so.4.9.100\n  378.39KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7200.1\n  374.41KB\t\t\t/opt/lib/libpostproc.so.56.7.100\n  370.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libopus.so.0.8.0\n  346.49KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libopenjp2.so.2.4.0\n  342.98KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libbluray.so.2.4.1\n  335.20KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpulse.so.0.24.1\n  330.78KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2\n  306.31KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdbus-1.so.3.19.13\n  291.78KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0\n  291.14KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.0\n  290.85KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpocketsphinx.so.3.0.0\n  283.01KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libhogweed.so.6.4\n  282.81KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0\n  282.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libmp3lame.so.0.0.0\n  278.55KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0\n  274.42KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnettle.so.8.4\n  266.66KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libmount.so.1.1.0\n  254.33KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsphinxbase.so.3.0.0\n  235.29KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2\n  234.10KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0\n  234.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libncursesw.so.6.3\n  230.17KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite.so.2.2\n  230.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpng16.so.16.37.0\n  218.17KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/librubberband.so.2.1.5\n  215.04KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libblkid.so.1.1.0\n  210.17KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libass.so.9.1.3\n  195.45KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libtinfo.so.6.3\n  195.06KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsoxr.so.0.1.2\n  190.52KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libva.so.2.1400.0\n  190.31KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libexpat.so.1.8.7\n  187.28KB\t\t\t/opt/lib/libwebpmux.so.3.0.10\n  186.37KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.4200.8\n  178.65KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1\n  174.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.9\n  166.47KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5\n  166.23KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libflite_usenglish.so.2.2\n  162.61KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0\n  162.39KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libselinux.so.1\n  158.45KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libv4lconvert.so.0.0.0\n  150.39KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcdio.so.19.0.0\n  150.30KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgraphite2.so.3.2.1\n  146.25KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgpg-error.so.0.32.1\n  138.58KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0\n  138.04KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdeflate.so.0\n  135.61KB\t\t\t/opt/lib/libbrotlicommon.so.1.0.7\n  126.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libidn2.so.0.3.7\n  122.55KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgcc_s.so.1\n  122.22KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/liblz4.so.1.9.3\n  114.04KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libspeex.so.1.5.0\n  106.39KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libz.so.1.2.11\n  106.32KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0\n  102.00KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.5000.6\n   90.15KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libtasn1.so.6.6.2\n   87.01KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libbsd.so.0.11.5\n   83.45KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libwayland-server.so.0.20.0\n   82.61KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0\n   79.73KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0\n   78.88KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libapparmor.so.1.8.2\n   74.54KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXi.so.6.1.0\n   74.30KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libvidstab.so.1.1\n   73.10KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libbz2.so.1.0.4\n   70.25KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libaribb24.so.0.0.0\n   67.67KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0\n   66.95KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libresolv.so.2\n   66.47KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libsndio.so.7.1\n   66.13KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.5000.6\n   65.01KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libjbig.so.0\n   63.26KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libwayland-client.so.0.20.0\n   63.21KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgbm.so.1.0.0\n   62.00KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libmysofa.so.1.1.0\n   61.75KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libv4l2.so.0.0.0\n   58.42KB\t\t\t/opt/lib/libbrotlidec.so.1.0.7\n   54.25KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0\n   50.86KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1\n   47.03KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0\n   46.61KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0\n   46.58KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libffi.so.8.1.0\n   46.40KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0\n   46.36KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libmd.so.0.0.5\n   42.47KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2\n   41.92KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2.11600.0\n   40.19KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libthai.so.0.3.1\n   38.11KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcap.so.2.44\n   38.00KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libudfread.so.0.1.0\n   38.00KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgif.so.7.1.0\n   37.97KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libogg.so.0.8.5\n   34.53KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.20.0\n   34.52KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdecor-0.so.0.100.0\n   34.22KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0\n   34.15KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcdio_cdda.so.2.0.0\n   34.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdatrie.so.1.4.0\n   34.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libacl.so.1.1.2301\n   30.20KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0\n   30.20KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcdio_paranoia.so.2.0.0\n   30.19KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0\n   26.69KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libva-x11.so.2.1400.0\n   26.18KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0\n   26.00KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1\n   23.61KB\t\t\t/opt/lib/libjxl_threads.so.0.8.0\n   22.45KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXv.so.1.0.0\n   22.34KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0\n   22.21KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.7200.1\n   22.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libkeyutils.so.1.9\n   20.95KB\t\t\t/usr/lib/x86_64-linux-gnu/libpthread.so.0\n   18.30KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0\n   18.29KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXau.so.6.0.0\n   18.16KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libvdpau.so.1.0.0\n   18.08KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libcom_err.so.2.1\n   14.34KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libXss.so.1.0.0\n   14.33KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/librt.so.1\n   14.32KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libva-drm.so.2.1400.0\n   14.23KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0\n   14.22KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0\n   14.10KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libdl.so.2\n   14.04KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.20.0\n   13.72KB\t(stripped!)\t/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0\n```\n\n# Effects\nYou will need to create `/opt` if it's not a directory you use as this script installs `ffmpeg` as `/opt/bin/ffmpeg`.\n\nNote: I may forget to update this section. Ground truth version to version is always in [`doc/config_stdout.txt`](doc/config_stdout.txt).\n\n## NVIDIA support\nEnables all these flags if it sees you have the binary `nvidia-smi`:\n1. --enable-nvdec\n1. --enable-nonfree\n1. --enable-cuda-nvcc\n1. --enable-libnpp\n1. --extra-cflags=`-I/usr/local/cuda/include`\n1. --extra-ldflags=`-L/usr/local/cuda/lib64 -L/opt/include/ffnvcodec`\n\n## Extra libraries\nEnables all these libraries also:\n1. --enable-filter=stereo3d,asr,sofalizer\n1. --enable-libaom\n1. --enable-libass\n1. --enable-libfdk-aac\n1. --enable-libfreetype\n1. --enable-libmp3lame\n1. --enable-libopus\n1. --enable-libdav1d\n1. --enable-libvorbis\n1. --enable-libvpx\n1. --enable-nonfree\n1. --enable-vaapi\n1. --enable-opencl\n1. --enable-opengl\n1. --enable-libtesseract\n1. --enable-libwebp\n1. --enable-openssl\n1. --enable-libfontconfig\n1. --enable-libbluray\n1. --enable-libv4l2\n1. --enable-libfribidi\n1. --enable-libspeex\n1. --enable-librsvg\n1. --enable-libssh\n1. --enable-libpulse\n1. --enable-libcaca\n1. --enable-librubberband\n1. --enable-libxcb-xfixes\n1. --enable-libdavs2\n1. --enable-frei0r\n1. --enable-libcdio\n1. --enable-libvidstab\n1. --enable-libsrt\n1. --enable-libglslang\n1. --enable-libsoxr\n1. --enable-pocketsphinx\n1. --enable-libflite\n1. --enable-libaribb24\n1. --enable-version3\n1. --enable-libmysofa\n1. --enable-libzimg\n1. --enable-libzvbi\n1. --enable-libsvtav1\n\n## OwO what's this?\nAlthough easy to interpret as a joke in the above text, this was not one:\n\n```diff\ndiff --git a/fftools/opt_common.c b/fftools/opt_common.c\nindex c303db4d09..e46e8dc98a 100644\n--- a/fftools/opt_common.c\n+++ b/tmp/opt_common.c\n@@ -193,6 +193,7 @@ static void print_all_libs_info(int flags, int level)\n \n static void print_program_info(int flags, int level)\n {\n+    int clevel = av_log_get_level();\n     const char *indent = flags \u0026 INDENT? \"  \" : \"\";\n \n     av_log(NULL, level, \"%s version \" FFMPEG_VERSION, program_name);\n@@ -200,8 +201,8 @@ static void print_program_info(int flags, int level)\n         av_log(NULL, level, \" Copyright (c) %d-%d the FFmpeg developers\",\n                program_birth_year, CONFIG_THIS_YEAR);\n     av_log(NULL, level, \"\\n\");\n-    av_log(NULL, level, \"%sbuilt with %s\\n\", indent, CC_IDENT);\n-\n+    if (level \u003c= clevel)\n+        fprintf(stderr, \"%s\\e[1mOwO what's this?\\e(B\\e[m\\n\", indent);\n     av_log(NULL, level, \"%sconfiguration: \" FFMPEG_CONFIGURATION \"\\n\", indent);\n }\n \n```\n\nThis patch is applied so that you know you're running your `ffmpeg` not the system's.\n\n## Environment variables\n\nIf you run as `APT_INSTALL=y ./compile_command.sh`, it will install ≈206 packages. `grep` for `$APT_INSTALL` for a list. List may be incomplete or overly detailed, sorry.\n\nIf you run as `DOGIT=y …`, it will reset git.\n\nA successful invocation looks like:\n\n**stdin**\n```\n$ ./compile-command.sh\n```\n**stdout**\n```\n+ NVIDIASHIT=('--enable-shared' '--enable-nvenc' '--enable-nvdec' '--enable-nonfree' '--enable-cuda-nvcc' '--enable-libnpp' '--extra-cflags=-I/usr/local/cuda/include' '--extra-ldflags=-L/usr/local/cuda/lib64 -L/opt/include/ffnvcodec')\n+ [[ -n '' ]]\n++ git diff-index --name-only HEAD --\n+ GIT_CHANGES=\n+ for f in *.patch\n+ git diff-index --name-only HEAD --\n++ basename --suffix=.patch opt_common.c.patch\n+ grep opt_common.c\n+ git apply --verbose opt_common.c.patch\nChecking patch fftools/opt_common.c...\nApplied patch fftools/opt_common.c cleanly.\n+ hash nvidia-smi\n+ test '!' -e /opt/include/ffnvcodec/nvEncodeAPI.h\n+ hash nvidia-smi\n+ [[ -n '' ]]\n+ tee config_stdout.txt\n++ /bin/bash -c 'tput cols'\n+ ncols=236\n+ PKG_CONFIG_PATH=/opt/lib/pkgconfig\n+ ./configure --prefix=/opt --enable-shared --enable-nvenc --enable-nvdec --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include '--extra-ldflags=-L/usr/local/cuda/lib64 -L/opt/include/ffnvcodec' --enable-filter=stereo3d,asr,sofalizer --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libdav1d --enable-libvorbis --enable-libvpx --enable-nonfree --enable-vaapi --enable-opencl --enable-opengl --enable-libtesseract --enable-libwebp --enable-openssl --enable-libfontconfig --enable-libbluray --enable-libv4l2 --enable-libfribidi --enable-libspeex --enable-librsvg --enable-libssh --enable-libpulse --enable-libcaca --enable-librubberband --enable-libxcb-xfixes --enable-libdavs2 --enable-frei0r --enable-libcdio --enable-libvidstab --enable-libsrt --enable-libglslang --enable-libsoxr --enable-pocketsphinx --enable-libflite --enable-gpl --enable-avisynth --enable-libaribb24 --enable-version3 --enable-libmysofa --enable-ffplay --disable-stripping --enable-debug\n```\n**stdout + config_stdout.txt (`tee`)**\n```\ninstall prefix            /opt\nsource path               .\nC compiler                gcc\nC library                 glibc\nARCH                      x86 (generic)\nbig-endian                no\nruntime cpu detection     yes\nstandalone assembly       yes\nx86 assembler             nasm\nMMX enabled               yes\nMMXEXT enabled            yes\n3DNow! enabled            yes\n3DNow! extended enabled   yes\nSSE enabled               yes\nSSSE3 enabled             yes\nAESNI enabled             yes\nAVX enabled               yes\nAVX2 enabled              yes\nAVX-512 enabled           yes\nAVX-512ICL enabled        yes\nXOP enabled               yes\nFMA3 enabled              yes\nFMA4 enabled              yes\ni686 features enabled     yes\nCMOV is fast              yes\nEBX available             yes\nEBP available             yes\ndebug symbols             yes\nstrip symbols             no\noptimize for size         no\noptimizations             yes\nstatic                    yes\nshared                    yes\npostprocessing support    yes\nnetwork support           yes\nthreading support         pthreads\nsafe bitstream reader     yes\ntexi2html enabled         no\nperl enabled              yes\npod2man enabled           yes\nmakeinfo enabled          no\nmakeinfo supports HTML    no\nxmllint enabled           no\n\nExternal libraries:\nalsa                    libcaca                 libfreetype             librsvg                 libv4l2                 libxcb_shm              sndio\nfrei0r                  libcdio                 libfribidi              librubberband           libvidstab              libxcb_xfixes           xlib\niconv                   libdav1d                libglslang              libsoxr                 libvorbis               lzma                    zlib\nlibaom                  libdavs2                libmp3lame              libspeex                libvpx                  opengl\nlibaribb24              libfdk_aac              libmysofa               libsrt                  libwebp                 openssl\nlibass                  libflite                libopus                 libssh                  libxcb                  pocketsphinx\nlibbluray               libfontconfig           libpulse                libtesseract            libxcb_shape            sdl2\n\nExternal libraries providing hardware acceleration:\ncuda                    cuda_nvcc               ffnvcodec               nvdec                   opencl                  vaapi                   vulkan\ncuda_llvm               cuvid                   libnpp                  nvenc                   v4l2_m2m                vdpau\n\nLibraries:\navcodec                 avfilter                avutil                  swresample\navdevice                avformat                postproc                swscale\n\nPrograms:\nffmpeg                  ffplay                  ffprobe\n\nEnabled decoders:\naac                     argo                    eamad                   jpegls                  mvc2                    r210                    v210x\naac_fixed               ass                     eatgq                   jv                      mvdv                    ra_144                  v308\naac_latm                asv1                    eatgv                   kgv1                    mvha                    ra_288                  v408\naasc                    asv2                    eatqi                   kmvc                    mwsc                    ralf                    v410\nac3                     atrac1                  eightbps                lagarith                mxpeg                   rasc                    vb\nac3_fixed               atrac3                  eightsvx_exp            libaom_av1              nellymoser              rawvideo                vble\nacelp_kelvin            atrac3al                eightsvx_fib            libaribb24              notchlc                 realtext                vbn\nadpcm_4xm               atrac3p                 escape124               libdav1d                nuv                     rl2                     vc1\nadpcm_adx               atrac3pal               escape130               libdavs2                on2avc                  roq                     vc1_cuvid\nadpcm_afc               atrac9                  evrc                    libfdk_aac              opus                    roq_dpcm                vc1_v4l2m2m\nadpcm_agm               aura                    exr                     libopus                 paf_audio               rpza                    vc1image\nadpcm_aica              aura2                   fastaudio               librsvg                 paf_video               rscc                    vcr1\nadpcm_argo              av1                     ffv1                    libspeex                pam                     rv10                    vmdaudio\nadpcm_ct                av1_cuvid               ffvhuff                 libvorbis               pbm                     rv20                    vmdvideo\nadpcm_dtk               avrn                    ffwavesynth             libvpx_vp8              pcm_alaw                rv30                    vmnc\nadpcm_ea                avrp                    fic                     libvpx_vp9              pcm_bluray              rv40                    vorbis\nadpcm_ea_maxis_xa       avs                     fits                    loco                    pcm_dvd                 s302m                   vp3\nadpcm_ea_r1             avui                    flac                    lscr                    pcm_f16le               sami                    vp4\nadpcm_ea_r2             ayuv                    flashsv                 m101                    pcm_f24le               sanm                    vp5\nadpcm_ea_r3             bethsoftvid             flashsv2                mace3                   pcm_f32be               sbc                     vp6\nadpcm_ea_xas            bfi                     flic                    mace6                   pcm_f32le               scpr                    vp6a\nadpcm_g722              bink                    flv                     magicyuv                pcm_f64be               screenpresso            vp6f\nadpcm_g726              binkaudio_dct           fmvc                    mdec                    pcm_f64le               sdx2_dpcm               vp7\nadpcm_g726le            binkaudio_rdft          fourxm                  media100                pcm_lxf                 sga                     vp8\nadpcm_ima_acorn         bintext                 fraps                   metasound               pcm_mulaw               sgi                     vp8_cuvid\nadpcm_ima_alp           bitpacked               frwu                    microdvd                pcm_s16be               sgirle                  vp8_v4l2m2m\nadpcm_ima_amv           bmp                     ftr                     mimic                   pcm_s16be_planar        sheervideo              vp9\nadpcm_ima_apc           bmv_audio               g2m                     misc4                   pcm_s16le               shorten                 vp9_cuvid\nadpcm_ima_apm           bmv_video               g723_1                  mjpeg                   pcm_s16le_planar        simbiosis_imx           vp9_v4l2m2m\nadpcm_ima_cunning       bonk                    g729                    mjpeg_cuvid             pcm_s24be               sipr                    vplayer\nadpcm_ima_dat4          brender_pix             gdv                     mjpegb                  pcm_s24daud             siren                   vqa\nadpcm_ima_dk3           c93                     gem                     mlp                     pcm_s24le               smackaud                vqc\nadpcm_ima_dk4           cavs                    gif                     mmvideo                 pcm_s24le_planar        smacker                 wavpack\nadpcm_ima_ea_eacs       ccaption                gremlin_dpcm            mobiclip                pcm_s32be               smc                     wbmp\nadpcm_ima_ea_sead       cdgraphics              gsm                     motionpixels            pcm_s32le               smvjpeg                 wcmv\nadpcm_ima_iss           cdtoons                 gsm_ms                  movtext                 pcm_s32le_planar        snow                    webp\nadpcm_ima_moflex        cdxl                    h261                    mp1                     pcm_s64be               sol_dpcm                webvtt\nadpcm_ima_mtf           cfhd                    h263                    mp1float                pcm_s64le               sonic                   wmalossless\nadpcm_ima_oki           cinepak                 h263_v4l2m2m            mp2                     pcm_s8                  sp5x                    wmapro\nadpcm_ima_qt            clearvideo              h263i                   mp2float                pcm_s8_planar           speedhq                 wmav1\nadpcm_ima_rad           cljr                    h263p                   mp3                     pcm_sga                 speex                   wmav2\nadpcm_ima_smjpeg        cllc                    h264                    mp3adu                  pcm_u16be               srgc                    wmavoice\nadpcm_ima_ssi           comfortnoise            h264_cuvid              mp3adufloat             pcm_u16le               srt                     wmv1\nadpcm_ima_wav           cook                    h264_v4l2m2m            mp3float                pcm_u24be               ssa                     wmv2\nadpcm_ima_ws            cpia                    hap                     mp3on4                  pcm_u24le               stl                     wmv3\nadpcm_ms                cri                     hca                     mp3on4float             pcm_u32be               subrip                  wmv3image\nadpcm_mtaf              cscd                    hcom                    mpc7                    pcm_u32le               subviewer               wnv1\nadpcm_psx               cyuv                    hdr                     mpc8                    pcm_u8                  subviewer1              wrapped_avframe\nadpcm_sbpro_2           dca                     hevc                    mpeg1_cuvid             pcm_vidc                sunrast                 ws_snd1\nadpcm_sbpro_3           dds                     hevc_cuvid              mpeg1_v4l2m2m           pcx                     svq1                    xan_dpcm\nadpcm_sbpro_4           derf_dpcm               hevc_v4l2m2m            mpeg1video              pfm                     svq3                    xan_wc3\nadpcm_swf               dfa                     hnm4_video              mpeg2_cuvid             pgm                     tak                     xan_wc4\nadpcm_thp               dfpwm                   hq_hqa                  mpeg2_v4l2m2m           pgmyuv                  targa                   xbin\nadpcm_thp_le            dirac                   hqx                     mpeg2video              pgssub                  targa_y216              xbm\nadpcm_vima              dnxhd                   huffyuv                 mpeg4                   pgx                     tdsc                    xface\nadpcm_xa                dolby_e                 hymt                    mpeg4_cuvid             phm                     text                    xl\nadpcm_yamaha            dpx                     iac                     mpeg4_v4l2m2m           photocd                 theora                  xma1\nadpcm_zork              dsd_lsbf                idcin                   mpegvideo               pictor                  thp                     xma2\nagm                     dsd_lsbf_planar         idf                     mpl2                    pixlet                  tiertexseqvideo         xpm\naic                     dsd_msbf                iff_ilbm                msa1                    pjs                     tiff                    xsub\nalac                    dsd_msbf_planar         ilbc                    mscc                    png                     tmv                     xwd\nalias_pix               dsicinaudio             imc                     msmpeg4v1               ppm                     truehd                  y41p\nals                     dsicinvideo             imm4                    msmpeg4v2               prores                  truemotion1             ylc\namrnb                   dss_sp                  imm5                    msmpeg4v3               prosumer                truemotion2             yop\namrwb                   dst                     indeo2                  msnsiren                psd                     truemotion2rt           yuv4\namv                     dvaudio                 indeo3                  msp2                    ptx                     truespeech              zero12v\nanm                     dvbsub                  indeo4                  msrle                   qcelp                   tscc                    zerocodec\nansi                    dvdsub                  indeo5                  mss1                    qdm2                    tscc2                   zlib\napac                    dvvideo                 interplay_acm           mss2                    qdmc                    tta                     zmbv\nape                     dxa                     interplay_dpcm          msvideo1                qdraw                   twinvq\napng                    dxtory                  interplay_video         mszh                    qoi                     txd\naptx                    dxv                     ipu                     mts2                    qpeg                    ulti\naptx_hd                 eac3                    jacosub                 mv30                    qtrle                   utvideo\narbc                    eacmv                   jpeg2000                mvc1                    r10k                    v210\n\nEnabled encoders:\na64multi                avrp                    h263_v4l2m2m            mp2fixed                pcm_s32be               ra_144                  v408\na64multi5               avui                    h263p                   mpeg1video              pcm_s32le               rawvideo                v410\naac                     ayuv                    h264_nvenc              mpeg2_vaapi             pcm_s32le_planar        roq                     vbn\nac3                     bitpacked               h264_v4l2m2m            mpeg2video              pcm_s64be               roq_dpcm                vc2\nac3_fixed               bmp                     h264_vaapi              mpeg4                   pcm_s64le               rpza                    vorbis\nadpcm_adx               cfhd                    hdr                     mpeg4_v4l2m2m           pcm_s8                  rv10                    vp8_v4l2m2m\nadpcm_argo              cinepak                 hevc_nvenc              msmpeg4v2               pcm_s8_planar           rv20                    vp8_vaapi\nadpcm_g722              cljr                    hevc_v4l2m2m            msmpeg4v3               pcm_u16be               s302m                   vp9_vaapi\nadpcm_g726              comfortnoise            hevc_vaapi              msvideo1                pcm_u16le               sbc                     wavpack\nadpcm_g726le            dca                     huffyuv                 nellymoser              pcm_u24be               sgi                     wbmp\nadpcm_ima_alp           dfpwm                   jpeg2000                opus                    pcm_u24le               smc                     webvtt\nadpcm_ima_amv           dnxhd                   jpegls                  pam                     pcm_u32be               snow                    wmav1\nadpcm_ima_apm           dpx                     libaom_av1              pbm                     pcm_u32le               sonic                   wmav2\nadpcm_ima_qt            dvbsub                  libfdk_aac              pcm_alaw                pcm_u8                  sonic_ls                wmv1\nadpcm_ima_ssi           dvdsub                  libmp3lame              pcm_bluray              pcm_vidc                speedhq                 wmv2\nadpcm_ima_wav           dvvideo                 libopus                 pcm_dvd                 pcx                     srt                     wrapped_avframe\nadpcm_ima_ws            eac3                    libspeex                pcm_f32be               pfm                     ssa                     xbm\nadpcm_ms                exr                     libvorbis               pcm_f32le               pgm                     subrip                  xface\nadpcm_swf               ffv1                    libvpx_vp8              pcm_f64be               pgmyuv                  sunrast                 xsub\nadpcm_yamaha            ffvhuff                 libvpx_vp9              pcm_f64le               phm                     svq1                    xwd\nalac                    fits                    libwebp                 pcm_mulaw               png                     targa                   y41p\nalias_pix               flac                    libwebp_anim            pcm_s16be               ppm                     text                    yuv4\namv                     flashsv                 ljpeg                   pcm_s16be_planar        prores                  tiff                    zlib\napng                    flashsv2                magicyuv                pcm_s16le               prores_aw               truehd                  zmbv\naptx                    flv                     mjpeg                   pcm_s16le_planar        prores_ks               tta\naptx_hd                 g723_1                  mjpeg_vaapi             pcm_s24be               qoi                     ttml\nass                     gif                     mlp                     pcm_s24daud             qtrle                   utvideo\nasv1                    h261                    movtext                 pcm_s24le               r10k                    v210\nasv2                    h263                    mp2                     pcm_s24le_planar        r210                    v308\n\nEnabled hwaccels:\nav1_nvdec               h264_vdpau              mjpeg_vaapi             mpeg2_vdpau             vc1_vaapi               vp9_vaapi\nav1_vaapi               hevc_nvdec              mpeg1_nvdec             mpeg4_nvdec             vc1_vdpau               vp9_vdpau\nh263_vaapi              hevc_vaapi              mpeg1_vdpau             mpeg4_vaapi             vp8_nvdec               wmv3_nvdec\nh264_nvdec              hevc_vdpau              mpeg2_nvdec             mpeg4_vdpau             vp8_vaapi               wmv3_vaapi\nh264_vaapi              mjpeg_nvdec             mpeg2_vaapi             vc1_nvdec               vp9_nvdec               wmv3_vdpau\n\nEnabled parsers:\naac                     cavsvideo               dvbsub                  h261                    mlp                     rv40                    webp\naac_latm                cook                    dvd_nav                 h263                    mpeg4video              sbc                     xbm\nac3                     cri                     dvdsub                  h264                    mpegaudio               sipr                    xma\nadx                     dca                     flac                    hdr                     mpegvideo               tak                     xwd\namr                     dirac                   ftr                     hevc                    opus                    vc1\nav1                     dnxhd                   g723_1                  ipu                     png                     vorbis\navs2                    dolby_e                 g729                    jpeg2000                pnm                     vp3\navs3                    dpx                     gif                     misc4                   qoi                     vp8\nbmp                     dvaudio                 gsm                     mjpeg                   rv30                    vp9\n\nEnabled demuxers:\naa                      bitpacked               g726le                  image_psd_pipe          mpc8                    pjs                     svs\naac                     bmv                     g729                    image_qdraw_pipe        mpegps                  pmp                     swf\naax                     boa                     gdv                     image_qoi_pipe          mpegts                  pp_bnk                  tak\nac3                     bonk                    genh                    image_sgi_pipe          mpegtsraw               pva                     tedcaptions\nace                     brstm                   gif                     image_sunrast_pipe      mpegvideo               pvf                     thp\nacm                     c93                     gsm                     image_svg_pipe          mpjpeg                  qcp                     threedostr\nact                     caf                     gxf                     image_tiff_pipe         mpl2                    r3d                     tiertexseq\nadf                     cavsvideo               h261                    image_vbn_pipe          mpsub                   rawvideo                tmv\nadp                     cdg                     h263                    image_webp_pipe         msf                     realtext                truehd\nads                     cdxl                    h264                    image_xbm_pipe          msnwc_tcp               redspark                tta\nadx                     cine                    hca                     image_xpm_pipe          msp                     rl2                     tty\naea                     codec2                  hcom                    image_xwd_pipe          mtaf                    rm                      txd\nafc                     codec2raw               hevc                    ingenient               mtv                     roq                     ty\naiff                    concat                  hls                     ipmovie                 musx                    rpl                     v210\naix                     data                    hnm                     ipu                     mv                      rsd                     v210x\nalp                     daud                    ico                     ircam                   mvi                     rso                     vag\namr                     dcstr                   idcin                   iss                     mxf                     rtp                     vc1\namrnb                   derf                    idf                     iv8                     mxg                     rtsp                    vc1t\namrwb                   dfa                     iff                     ivf                     nc                      s337m                   vividas\nanm                     dfpwm                   ifv                     ivr                     nistsphere              sami                    vivo\napac                    dhav                    ilbc                    jacosub                 nsp                     sap                     vmd\napc                     dirac                   image2                  jv                      nsv                     sbc                     vobsub\nape                     dnxhd                   image2_alias_pix        kux                     nut                     sbg                     voc\napm                     dsf                     image2_brender_pix      kvag                    nuv                     scc                     vpk\napng                    dsicin                  image2pipe              laf                     obu                     scd                     vplayer\naptx                    dss                     image_bmp_pipe          live_flv                ogg                     sdp                     vqf\naptx_hd                 dts                     image_cri_pipe          lmlm4                   oma                     sdr2                    w64\naqtitle                 dtshd                   image_dds_pipe          loas                    paf                     sds                     wav\nargo_asf                dv                      image_dpx_pipe          lrc                     pcm_alaw                sdx                     wc3\nargo_brp                dvbsub                  image_exr_pipe          luodat                  pcm_f32be               segafilm                webm_dash_manifest\nargo_cvg                dvbtxt                  image_gem_pipe          lvf                     pcm_f32le               ser                     webvtt\nasf                     dxa                     image_gif_pipe          lxf                     pcm_f64be               sga                     wsaud\nasf_o                   ea                      image_hdr_pipe          m4v                     pcm_f64le               shorten                 wsd\nass                     ea_cdata                image_j2k_pipe          matroska                pcm_mulaw               siff                    wsvqa\nast                     eac3                    image_jpeg_pipe         mca                     pcm_s16be               simbiosis_imx           wtv\nau                      epaf                    image_jpegls_pipe       mcc                     pcm_s16le               sln                     wv\nav1                     ffmetadata              image_jpegxl_pipe       mgsts                   pcm_s24be               smacker                 wve\navi                     filmstrip               image_pam_pipe          microdvd                pcm_s24le               smjpeg                  xa\navr                     fits                    image_pbm_pipe          mjpeg                   pcm_s32be               smush                   xbin\navs                     flac                    image_pcx_pipe          mjpeg_2000              pcm_s32le               sol                     xmv\navs2                    flic                    image_pfm_pipe          mlp                     pcm_s8                  sox                     xvag\navs3                    flv                     image_pgm_pipe          mlv                     pcm_u16be               spdif                   xwma\nbethsoftvid             fourxm                  image_pgmyuv_pipe       mm                      pcm_u16le               srt                     yop\nbfi                     frm                     image_pgx_pipe          mmf                     pcm_u24be               stl                     yuv4mpegpipe\nbfstm                   fsb                     image_phm_pipe          mods                    pcm_u24le               str\nbink                    fwse                    image_photocd_pipe      moflex                  pcm_u32be               subviewer\nbinka                   g722                    image_pictor_pipe       mov                     pcm_u32le               subviewer1\nbintext                 g723_1                  image_png_pipe          mp3                     pcm_u8                  sup\nbit                     g726                    image_ppm_pipe          mpc                     pcm_vidc                svag\n\nEnabled muxers:\na64                     caf                     g722                    lrc                     mxf_opatom              pcm_u24le               streamhash\nac3                     cavsvideo               g723_1                  m4v                     null                    pcm_u32be               sup\nadts                    codec2                  g726                    matroska                nut                     pcm_u32le               swf\nadx                     codec2raw               g726le                  matroska_audio          obu                     pcm_u8                  tee\naiff                    crc                     gif                     md5                     oga                     pcm_vidc                tg2\nalp                     dash                    gsm                     microdvd                ogg                     psp                     tgp\namr                     data                    gxf                     mjpeg                   ogv                     rawvideo                truehd\namv                     daud                    h261                    mkvtimestamp_v2         oma                     rm                      tta\napm                     dfpwm                   h263                    mlp                     opus                    roq                     ttml\napng                    dirac                   h264                    mmf                     pcm_alaw                rso                     uncodedframecrc\naptx                    dnxhd                   hash                    mov                     pcm_f32be               rtp                     vc1\naptx_hd                 dts                     hds                     mp2                     pcm_f32le               rtp_mpegts              vc1t\nargo_asf                dv                      hevc                    mp3                     pcm_f64be               rtsp                    voc\nargo_cvg                eac3                    hls                     mp4                     pcm_f64le               sap                     w64\nasf                     f4v                     ico                     mpeg1system             pcm_mulaw               sbc                     wav\nasf_stream              ffmetadata              ilbc                    mpeg1vcd                pcm_s16be               scc                     webm\nass                     fifo                    image2                  mpeg1video              pcm_s16le               segafilm                webm_chunk\nast                     fifo_test               image2pipe              mpeg2dvd                pcm_s24be               segment                 webm_dash_manifest\nau                      filmstrip               ipod                    mpeg2svcd               pcm_s24le               smjpeg                  webp\navi                     fits                    ircam                   mpeg2video              pcm_s32be               smoothstreaming         webvtt\navif                    flac                    ismv                    mpeg2vob                pcm_s32le               sox                     wsaud\navm2                    flv                     ivf                     mpegts                  pcm_s8                  spdif                   wtv\navs2                    framecrc                jacosub                 mpjpeg                  pcm_u16be               spx                     wv\navs3                    framehash               kvag                    mxf                     pcm_u16le               srt                     yuv4mpegpipe\nbit                     framemd5                latm                    mxf_d10                 pcm_u24be               stream_segment\n\nEnabled protocols:\nasync                   data                    gophers                 ipfs                    mmst                    rtmpt                   tcp\nbluray                  ffrtmpcrypt             hls                     ipns                    pipe                    rtmpte                  tee\ncache                   ffrtmphttp              http                    libsrt                  prompeg                 rtmpts                  tls\nconcat                  file                    httpproxy               libssh                  rtmp                    rtp                     udp\nconcatf                 ftp                     https                   md5                     rtmpe                   srtp                    udplite\ncrypto                  gopher                  icecast                 mmsh                    rtmps                   subfile                 unix\n\nEnabled filters:\na3dscope                aselect                 colorspace              fifo                    lutrgb                  removelogo              streamselect\nabench                  asendcmd                colorspace_cuda         fillborders             lutyuv                  repeatfields            subtitles\nabitscope               asetnsamples            colorspectrum           find_rect               mandelbrot              replaygain              super2xsai\nacompressor             asetpts                 colortemperature        firequalizer            maskedclamp             reverse                 superequalizer\nacontrast               asetrate                compand                 flanger                 maskedmax               rgbashift               surround\nacopy                   asettb                  compensationdelay       flip_vulkan             maskedmerge             rgbtestsrc              swaprect\nacrossfade              ashowinfo               concat                  flite                   maskedmin               roberts                 swapuv\nacrossover              asidedata               convolution             floodfill               maskedthreshold         roberts_opencl          tblend\nacrusher                asoftclip               convolution_opencl      format                  maskfun                 rotate                  telecine\nacue                    aspectralstats          convolve                fps                     mcompand                rubberband              testsrc\naddroi                  asplit                  copy                    framepack               median                  sab                     testsrc2\nadeclick                asr                     cover_rect              framerate               mergeplanes             scale                   thistogram\nadeclip                 ass                     crop                    framestep               mestimate               scale2ref               threshold\nadecorrelate            astats                  cropdetect              freezedetect            metadata                scale2ref_npp           thumbnail\nadelay                  astreamselect           crossfeed               freezeframes            midequalizer            scale_cuda              thumbnail_cuda\nadenorm                 asubboost               crystalizer             frei0r                  minterpolate            scale_npp               tile\naderivative             asubcut                 cue                     frei0r_src              mix                     scale_vaapi             tiltshelf\nadrawgraph              asupercut               curves                  fspp                    monochrome              scale_vulkan            tinterlace\nadynamicequalizer       asuperpass              datascope               gblur                   morpho                  scdet                   tlut2\nadynamicsmooth          asuperstop              dblur                   gblur_vulkan            movie                   scharr                  tmedian\naecho                   atadenoise              dcshift                 geq                     mpdecimate              scroll                  tmidequalizer\naemphasis               atempo                  dctdnoiz                gradfun                 mptestsrc               segment                 tmix\naeval                   atilt                   deband                  gradients               msad                    select                  tonemap\naevalsrc                atrim                   deblock                 graphmonitor            multiply                selectivecolor          tonemap_opencl\naexciter                avectorscope            decimate                grayworld               negate                  sendcmd                 tonemap_vaapi\nafade                   avgblur                 deconvolve              greyedge                nlmeans                 separatefields          tpad\nafftdn                  avgblur_opencl          dedot                   guided                  nlmeans_opencl          setdar                  transpose\nafftfilt                avgblur_vulkan          deesser                 haas                    nnedi                   setfield                transpose_npp\nafifo                   avsynctest              deflate                 haldclut                noformat                setparams               transpose_opencl\nafir                    axcorrelate             deflicker               haldclutsrc             noise                   setpts                  transpose_vaapi\nafirsrc                 bandpass                deinterlace_vaapi       hdcd                    normalize               setrange                transpose_vulkan\naformat                 bandreject              dejudder                headphone               null                    setsar                  treble\nafreqshift              bass                    delogo                  hflip                   nullsink                settb                   tremolo\nafwtdn                  bbox                    denoise_vaapi           hflip_vulkan            nullsrc                 sharpen_npp             trim\nagate                   bench                   derain                  highpass                ocr                     sharpness_vaapi         unpremultiply\nagraphmonitor           bilateral               deshake                 highshelf               openclsrc               shear                   unsharp\nahistogram              bilateral_cuda          deshake_opencl          hilbert                 oscilloscope            showcqt                 unsharp_opencl\naiir                    biquad                  despill                 histeq                  overlay                 showfreqs               untile\naintegral               bitplanenoise           detelecine              histogram               overlay_cuda            showinfo                v360\nainterleave             blackdetect             dialoguenhance          hqdn3d                  overlay_opencl          showpalette             vaguedenoiser\nalatency                blackframe              dilation                hqx                     overlay_vaapi           showspatial             varblur\nalimiter                blend                   dilation_opencl         hstack                  overlay_vulkan          showspectrum            vectorscope\nallpass                 blend_vulkan            displace                hsvhold                 owdenoise               showspectrumpic         vflip\nallrgb                  blockdetect             dnn_classify            hsvkey                  pad                     showvolume              vflip_vulkan\nallyuv                  blurdetect              dnn_detect              hue                     pad_opencl              showwaves               vfrdet\naloop                   bm3d                    dnn_processing          huesaturation           pal100bars              showwavespic            vibrance\nalphaextract            boxblur                 doubleweave             hwdownload              pal75bars               shuffleframes           vibrato\nalphamerge              boxblur_opencl          drawbox                 hwmap                   palettegen              shufflepixels           vidstabdetect\namerge                  bwdif                   drawgraph               hwupload                paletteuse              shuffleplanes           vidstabtransform\nametadata               cas                     drawgrid                hwupload_cuda           pan                     sidechaincompress       vif\namix                    cellauto                drawtext                hysteresis              perms                   sidechaingate           vignette\namovie                  channelmap              drmeter                 identity                perspective             sidedata                virtualbass\namplify                 channelsplit            dynaudnorm              idet                    phase                   sierpinski              vmafmotion\namultiply               chorus                  earwax                  il                      photosensitivity        signalstats             volume\nanequalizer             chromaber_vulkan        ebur128                 inflate                 pixdesctest             signature               volumedetect\nanlmdn                  chromahold              edgedetect              interlace               pixelize                silencedetect           vstack\nanlmf                   chromakey               elbg                    interleave              pixscope                silenceremove           w3fdif\nanlms                   chromakey_cuda          entropy                 join                    pp                      sinc                    waveform\nanoisesrc               chromanr                epx                     kerndeint               pp7                     sine                    weave\nanull                   chromashift             eq                      kirsch                  premultiply             siti                    xbr\nanullsink               ciescope                equalizer               lagfun                  prewitt                 smartblur               xcorrelate\nanullsrc                codecview               erosion                 latency                 prewitt_opencl          smptebars               xfade\napad                    color                   erosion_opencl          lenscorrection          procamp_vaapi           smptehdbars             xfade_opencl\naperms                  colorbalance            estdif                  life                    program_opencl          sobel                   xmedian\naphasemeter             colorchannelmixer       exposure                limitdiff               pseudocolor             sobel_opencl            xstack\naphaser                 colorchart              extractplanes           limiter                 psnr                    sofalizer               yadif\naphaseshift             colorcontrast           extrastereo             loop                    pullup                  spectrumsynth           yadif_cuda\napsyclip                colorcorrect            fade                    loudnorm                qp                      speechnorm              yaepblur\napulsator               colorhold               feedback                lowpass                 random                  split                   yuvtestsrc\narealtime               colorize                fftdnoiz                lowshelf                readeia608              spp                     zoompan\naresample               colorkey                fftfilt                 lumakey                 readvitc                sr\nareverse                colorkey_opencl         field                   lut                     realtime                ssim\narnndn                  colorlevels             fieldhint               lut1d                   remap                   stereo3d\nasdr                    colormap                fieldmatch              lut2                    remap_opencl            stereotools\nasegment                colormatrix             fieldorder              lut3d                   removegrain             stereowiden\n\nEnabled bsfs:\naac_adtstoasc           dts2pts                 h264_metadata           imx_dump_header         mpeg4_unpack_bframes    prores_metadata         vp9_metadata\nav1_frame_merge         dump_extradata          h264_mp4toannexb        mjpeg2jpeg              noise                   remove_extradata        vp9_raw_reorder\nav1_frame_split         dv_error_marker         h264_redundant_pps      mjpega_dump_header      null                    setts                   vp9_superframe\nav1_metadata            eac3_core               hapqa_extract           mov2textsub             opus_metadata           text2movsub             vp9_superframe_split\nchomp                   extract_extradata       hevc_metadata           mp3_header_decompress   pcm_rechunk             trace_headers\ndca_core                filter_units            hevc_mp4toannexb        mpeg2_metadata          pgs_frame_merge         truehd_core\n\nEnabled indevs:\nalsa                    lavfi                   oss                     sndio                   xcbgrab\nfbdev                   libcdio                 pulse                   v4l2\n\nEnabled outdevs:\nalsa                    fbdev                   oss                     sdl2                    v4l2\ncaca                    opengl                  pulse                   sndio                   xv\n\nLicense: nonfree and unredistributable\n```\n\nResulting in `ffbuild/config.sh` with contents:\n```bash\n# Automatically generated by configure - do not modify!\nshared=yes\nbuild_suffix=\nprefix=/opt\nlibdir=${prefix}/lib\nincdir=${prefix}/include\nrpath=\nsource_path=.\nLIBPREF=lib\nLIBSUF=.a\nextralibs_avutil=\"-pthread -lva-drm -lva -lva-x11 -lva -lvdpau -lX11 -lm -lOpenCL -lva -latomic -lX11\"\nextralibs_avcodec=\"-lvpx -lm -lvpx -lm -lvpx -lm -lvpx -lm -lwebpmux -lwebp -pthread -lm -latomic -llzma -laribb24 -ldav1d -ldavs2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -laom -lfdk-aac -lmp3lame -lm -lopus -lspeex -lvorbis -lvorbisenc -lwebp -lz -lva\"\nextralibs_avformat=\"-lm -latomic -lbluray -lz -lssl -lcrypto -lsrt-gnutls -lssh\"\nextralibs_avdevice=\"-lm -latomic -lxcb -lxcb-shm -lxcb-shape -lxcb-xfixes -lcdio_paranoia -lcdio_cdda -lcdio -lm -lasound -lcaca -lGL -lpulse -pthread -lSDL2 -lsndio -lv4l2 -lXv -lX11 -lXext\"\nextralibs_avfilter=\"-pthread -lm -latomic -lpocketsphinx -lsphinxbase -lsphinxad -lrubberband -lsamplerate -lstdc++ -lmysofa -lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite -lfribidi -ltesseract -larchive -lass -lnppig -lnppicc -lnppc -lnppidei -lnppif -lva -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm -lvidstab -lm -lgomp -lOpenCL -lfontconfig -lfreetype -lfreetype\"\nextralibs_postproc=\"-lm -latomic\"\nextralibs_swscale=\"-lm -latomic\"\nextralibs_swresample=\"-lm -lsoxr -latomic\"\navdevice_deps=\"avfilter swscale postproc avformat avcodec swresample avutil\"\navfilter_deps=\"swscale postproc avformat avcodec swresample avutil\"\nswscale_deps=\"avutil\"\npostproc_deps=\"avutil\"\navformat_deps=\"avcodec swresample avutil\"\navcodec_deps=\"swresample avutil\"\nswresample_deps=\"avutil\"\navutil_deps=\"\"\n```\n\nIf this script is making your life harder rather than easier, quit using it. :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlcctrlv%2Fbloated-ffmpeg-compile-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctrlcctrlv%2Fbloated-ffmpeg-compile-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlcctrlv%2Fbloated-ffmpeg-compile-command/lists"}