Global USE flags

Flag Description Packages
( 2
X 5
alsa 2
bluetooth 2
cpu_flags_x86_avx 2
debug 3
doc 2
examples 2
ffmpeg 2
pulseaudio 2
readline 2
sdl Enable use of the Simple Direct Layer library (required for the ffplay command) 6
selinux 2
systemd 4
test 7
valgrind 2
vulkan Enable Vulkan graphics support 4
wayland 3

Category USE flags

games-emulation

Flag Description Packages
discord Enable rich Discord presence 3
egl Enable EGL support 2
evdev Enable evdev input support 2
retroachievements Build with RetroAchievements supports 2

gui-wm

Flag Description Packages
avif 3
libei 3
pipewire 3
wsi-layer 3

Local USE flags

app-misc

bucklespring

Flag Description
libinput

app-util

blisp

Flag Description
cli

yad

Flag Description
gspell
gtksourceview
webkit

dev-lang

python

Flag Description
ensurepip
gdbm
jit
libedit
ncurses
pgo
sqlite
ssl
tk

dev-qt

qtquick3d

Flag Description
opengl

dev-util

sccache

Flag Description
azure
dist-client
dist-server
gcs
memcached
redis
s3
webdav

games-emulation

cemu

Flag Description
cubeb Enable cubeb audio support
vcpkg
wxwidgets

dolphin-primehack

Flag Description
discord-presence Enables Discord Rich Presence, show the current game on Discord
gui
llvm Enables LLVM support, for disassembly
log Increase logging output
mgba Enables GBA controllers emulation using libmgba.
profile
telemetry
upnp

duckstation

Flag Description
fbdev Support FBDev OpenGL contexts
gamepad Link with SDL2 for controller support
gbm Support DRM/KMS OpenGL contexts
nogui Build the NoGUI frontend
qt5 Build the QT frontend
qt6

pcsx-redux

Flag Description
openbios

games-util

gamescope-session

Flag Description
steam Pull in Steam session via <pkg>games-util/gamescope-session-steam</pkg>

gui-apps

waypipe

Flag Description
"(
avx2:with_avx2
avx512f:with_avx512f
dmabuf
lz4
sse3
systemtap
vaapi
zstd

lomiri-base

platform-api

Flag Description
gnome

media-libs

glfw

Flag Description
wayland-only Enable wayland support and disable X11 support

media-video

ffmpeg

Flag Description
amf Enable AMD's Advanced Media Framework support via <pkg>media-video/amdgpu-pro-amf</pkg>
amr Enable Adaptive Multi-Rate Audio support via <pkg>media-libs/opencore-amr</pkg>
amrenc Enable Adaptive Multi-Rate Audio encoding support via <pkg>media-libs/vo-amrwbenc</pkg>
appkit Enable Apple AppKit framework
bluray Enable Blu-ray filesystems reading support via <pkg>media-libs/libbluray</pkg>
bs2b Enable Bauer Stereo-to-Binaural filter support via <pkg>media-libs/libbs2b</pkg>
cdio Enable audio CDs reading via <pkg>dev-libs/libcdio-paranoia</pkg>
chromaprint Enable audio fingerprinting support via <pkg>media-libs/chromaprint</pkg>
chromium Builds libffmpeg.so to enable media playback in Chromium-based browsers like Opera and Vivaldi.
codec2 Enable codec2 low bit rate speech codec support via <pkg>media-libs/codec2</pkg>
cuda Enable support for various GPU-accelerated filters using NVIDIA PTX compiled with <pkg>llvm-core/clang</pkg>
dav1d Enable AV1 decoding support via <pkg>media-libs/dav1d</pkg>
drm Enable use of <pkg>x11-libs/libdrm</pkg> for various hardware accelerated functions and Kernel Mode Setting screen capture
fdk Enable AAC (Advanced Audio Coding) encoding support via <pkg>media-libs/fdk-aac</pkg> in addition to FFmpeg's own implementation (warning: if USE=gpl is enabled, this produces a non-redistributable build)
flite Enable text-to-speech filter support via <pkg>app-accessibility/flite</pkg>
frei0r Enable use of filters through <pkg>media-plugins/frei0r-plugins</pkg>
fribidi Enable Bidi support for the drawtext filter via <pkg>dev-libs/fribidi</pkg>
gcrypt Enable using <pkg>dev-libs/libgcrypt</pkg> for rtmp(t)e support (not needed if using any of USE=gmp,librtmp,openssl), and for obtaining random bytes (not needed if USE=openssl)
gme Enables various game music formats support via <pkg>media-libs/game-music-emu</pkg>
gnutls Enable using <pkg>net-libs/gnutls</pkg> for TLS/HTTPS support and other minor functions (has no effect if USE=openssl is set)
gpl Enable use of GPL licensed code, should be kept enabled unless LGPL binaries are needed
iec61883 Enable FireWire DV/HDV input device support via <pkg>media-libs/libiec61883</pkg>
kvazaar Enable H.265/HEVC encoding support via <pkg>media-libs/kvazaar</pkg>
lcms Enable ICC profile support via <pkg>media-libs/lcms</pkg>
libaom Enable AV1 de/encoding via <pkg>media-libs/libaom</pkg> (warning: this is the reference implementation and is slower than the alternatives)
libaribb24 Enable ARIB text and caption decoding via <pkg>media-libs/aribb24</pkg>
libilbc Enable internet Low Bitrate Codec de/encoding support via <pkg>media-libs/libilbc</pkg>
liblc3 Enable Low Complexity Communication Codec de/encoding support via <pkg>media-sound/liblc3</pkg>
libplacebo Enable use of GPU-accelerated filters from <pkg>media-libs/libplacebo</pkg>
librtmp Enable Real Time Messaging Protocol support via <pkg>media-video/rtmpdump</pkg> in addition to FFmpeg's own implementation
libsoxr Enable use of the audio resampler from <pkg>media-libs/soxr</pkg>
libtesseract Enable Optical Character Recognition (OCR) filter support via <pkg>app-text/tesseract</pkg>
lv2 Enable use of filters through <pkg>media-libs/lv2</pkg>
npp Enable Nvidia Performance Primitives-based filters via <pkg>dev-util/nvidia-cuda-toolkit</pkg> (warning: if USE=gpl is enabled, this produces non-redistributable build)
nvenc
openh264 Enable H.264 encoding support via <pkg>media-libs/openh264</pkg>
openmpt Enable MPTM tracked music files decoding support via <pkg>media-libs/libopenmpt</pkg>
openssl Enable using <pkg>dev-libs/openssl</pkg> for TLS/HTTPS support and other minor functions (USE=gnutls has no effect if set)
postproc Enable libpostproc video post processing library support (should not disable this unless need to disable USE=gpl)
qrcode Enable QR encode generation support via <pkg>media-gfx/qrencode</pkg>
qsv Enable Intel Quick Sync Video support via <pkg>media-libs/libvpl</pkg>
quirc Enable QR decoding support via <pkg>media-libs/quirc</pkg>
rabbitmq Enable AMQP stream support via <pkg>net-libs/rabbitmq-c</pkg>
rav1e Enable AV1 encoding support via <pkg>media-video/rav1e</pkg>
rubberband Enable time-stretching and pitch-shifting audio filter support via <pkg>media-libs/rubberband</pkg>
shaderc Enable support for various GPU-accelerated filters using Vulkan compiled with <pkg>media-libs/shaderc</pkg>
snappy Enable Snappy compression support via <pkg>app-arch/snappy</pkg> (required for Vidvox Hap encoder support)
sndio Enable audio output support via <pkg>media-sound/sndio</pkg>
soc Apply additional patches for efficient playback on some SoCs (e.g. ARM, RISC-V)
srt Enable Secure Reliable Transport (SRT) support via <pkg>net-libs/srt</pkg>
ssh Enable SSH/SFTP support via <pkg>net-libs/libssh</pkg>
svt-av1 Enable AV1 encoding support via <pkg>media-libs/svt-av1</pkg>
truetype Enable drawtext filter support via <pkg>media-libs/freetype</pkg> and <pkg>media-libs/harfbuzz</pkg>
twolame Enable MP2 encoding support via <pkg>media-sound/twolame</pkg> in addition to FFmpeg's own implementation
vidstab Enable video stabilization filter support via <pkg>media-libs/vidstab</pkg>
vmaf Enable Netflix's perceptual video quality assessment filter support via <pkg>media-libs/libvmaf</pkg>
vpx Enable VP8 and VP9 de/encoding support via <pkg>media-libs/libvpx</pkg> in addition to FFmpeg's own implementation (for decoding only)
x265 Enable H.265/HEVC encoding support via <pkg>media-libs/x265</pkg>
xml Enable Dynamic Adaptive Streaming over HTTP (DASH) stream support using <pkg>dev-libs/libxml2</pkg>
zeromq Enable ZMQ command receiver filter and streaming support via <pkg>net-libs/zeromq</pkg>
zimg Enable zscale filter support using <pkg>media-libs/zimg</pkg>
zvbi Enable teletext decoding support via <pkg>media-libs/zvbi</pkg>

net-misc

rmtfs

Flag Description
openrc

net-wireless

bluez

Flag Description
btpclient
cups
deprecated
experimental
extra-tools
man
mesh
midi
obex
test-programs
udev

sys-kernel

jupiter-fan-control

Flag Description
$(python_gen_useflags)

www-client

phantom-satellite

Flag Description
av1
cpu_flags_x86_sse
cpu_flags_x86_sse2
dbus
devtools
gtk2
gtk3
jemalloc
necko-wifi
official-branding
optimize
threads