| Flag |
Description |
| amf |
Enables support for AMD's Advanced Media Framework (AMF) |
| amr |
Enables Adaptive Multi-Rate Audio support |
| amrenc |
Enables Adaptive Multi-Rate Audio encoding support with <pkg>media-libs/vo-amrwbenc</pkg>. |
| appkit |
Enables Apple AppKit framework |
| bluray |
Enable playback of Blu-ray filesystems |
| bs2b |
Enables <pkg>media-libs/libbs2b</pkg> based Bauer stereo-to-binaural filter. |
| cdio |
Enables audio CD grabbing with <pkg>dev-libs/libcdio</pkg>. |
| chromaprint |
Enables audio fingerprinting support with <pkg>media-libs/chromaprint</pkg>. |
| chromium |
Builds libffmpeg.so to enable media playback in Chromium-based browsers like Opera and Vivaldi. |
| codec2 |
Enables codec2 low bit rate speech codec support via <pkg>media-libs/codec2</pkg>. |
| cpudetection |
Enables runtime CPU detection (useful for bindist, compatibility on other CPUs) |
| cuda |
Enables CUDA-based acceleration. Mostly used for specific filters. |
| dav1d |
Enables AV1 decoding via <pkg>media-libs/dav1d</pkg>. |
| decklink |
Enable support for Blackmagic Design capture devices (Decklink) |
| drm |
Enable use of <pkg>x11-libs/libdrm</pkg> for various hardware
accelerated functions and Kernel Mode Setting screen capture
|
| fdk |
Use external fdk-aac library for AAC encoding |
| flite |
Adds a text-to-speech filter based on <pkg>app-accessibility/flite</pkg>. |
| frei0r |
Enable frei0r wrapping in libavfilter |
| fribidi |
Enables fribidi support in the drawtext filter. |
| gcrypt |
Enables gcrypt support: Needed for rtmp(t)e support if openssl, librtmp or gmp is not used. |
| glslang |
Use <pkg>dev-util/glslang</pkg> to compile GLSL |
| gme |
Enables support for <pkg>media-libs/game-music-emu</pkg> for playing various video game music formats. |
| gpl |
Build GPL code. Should be enabled unless you require LGPL binaries. |
| hardcoded-tables |
Use pre-calculated tables rather than calculating them on the fly. |
| iec61883 |
Support for FireWire DV/HDV input device using <pkg>media-libs/libiec61883</pkg>. |
| jpegxl |
Enable JPEG XL de/encoding via <pkg>media-libs/libjxl</pkg>. |
| kvazaar |
Enables <pkg>media-libs/kvazaar</pkg> based HEVC encoder. |
| libaom |
Enables <pkg>media-libs/libaom</pkg> based AV1 codec support. |
| libaribb24 |
Enables ARIB text and caption decoding via <pkg>media-libs/aribb24</pkg>. |
| libdrm |
Enables <pkg>x11-libs/libdrm</pkg> support for better screen grabbing and hardware accelerated codecs. |
| libilbc |
Enables iLBC de/encoding via <pkg>media-libs/libilbc</pkg>. |
| liblc3 |
Enable Low Complexity Communication Codec de/encoding support via <pkg>media-sound/liblc3</pkg> |
| libndi_newtek |
Enable support for Newtek NDI |
| libplacebo |
Adds flexible GPU-accelerated processing filter based on <pkg>media-libs/libplacebo</pkg>. |
| librtmp |
Enables Real Time Messaging Protocol using librtmp (<pkg>media-video/rtmpdump</pkg>) in addition to FFmpeg's native implementation. |
| libsoxr |
Enables audio resampling through <pkg>media-libs/soxr</pkg>. |
| libtesseract |
Enables the OCR filter via <pkg>app-text/tesseract</pkg>. |
| libv4l |
Uses <pkg>media-libs/libv4l</pkg> for video4linux instead of direct calls. Adds support for more devices via the userspace library. |
| libxml2 |
Uses <pkg>dev-libs/libxml2</pkg> to enable dash demuxing support. |
| lv2 |
Enables lv2 audio filter wrapper. |
| mipsdspr1 |
Enables MIPS DSP ASE R1 optimizations. |
| mipsdspr2 |
Enables MIPS DSP ASE R2 optimizations. |
| mipsfpu |
Enables floating point MIPS optimizations. |
| network |
Enables network streaming support |
| nvenc |
|
| ocr |
Enable Optical Character Recognition (OCR) filter support via <pkg>app-text/tesseract</pkg> |
| opencl |
Enable OpenCL support |
| openh264 |
Enables H.264 encoding suppoprt via <pkg>media-libs/openh264</pkg>. |
| openmpt |
Enable MPTM tracked music files decoding support via <pkg>media-libs/libopenmpt</pkg> |
| openssl |
Enables <pkg>dev-libs/openssl</pkg> support. Adds support for encrypted network protocols (TLS/HTTPS). |
| pic |
Force shared libraries to be built as PIC (this is slower) |
| postproc |
Build and install libpostproc. |
| qrcode |
Enable QR encode generation support via <pkg>media-gfx/qrencode</pkg> |
| qsv |
Enable Intel Quick Sync Video via <pkg>media-libs/intel-mediasdk</pkg> (ffmpeg versions older than, and including, 5.1) or <pkg>media-libs/libvpl</pkg> (ffmpeg version newer than 5.1). |
| quirc |
Enable QR decoding support via <pkg>media-libs/quirc</pkg> |
| rabbitmq |
Enable AMQP stream support via <pkg>net-libs/rabbitmq-c</pkg> |
| rav1e |
Enables AV1 encoding support via <pkg>media-video/rav1e</pkg>. |
| rubberband |
Adds time-stretching and pitch-shifting audio filter based on <pkg>media-libs/rubberband</pkg>. |
| shaderc |
Use <pkg>media-libs/shaderc</pkg> to compile GLSL |
| snappy |
Enable <pkg>app-arch/snappy</pkg> support. Required for e.g. Vidvox Hap encoder. |
| sndio |
Enable support for the <pkg>media-sound/sndio</pkg> backend |
| soc |
Apply additional patches for efficient playback on some SoCs (e.g. ARM, RISC-V). |
| srt |
Enable support for Secure Reliable Transport (SRT) via <pkg>net-libs/srt</pkg> |
| ssh |
Enable SSH/sftp support via <pkg>net-libs/libssh</pkg>. |
| svt-av1 |
Enables AV1 encoding support via <pkg>media-libs/svt-av1</pkg>. |
| twolame |
Enables MP2 encoding via <pkg>media-sound/twolame</pkg> as an alternative to the internal encoder. |
| vidstab |
Enables video stabilization filter using vid.stab library (<pkg>media-libs/vidstab</pkg>). |
| vmaf |
Enables Netflix's perceptual video quality assessment filter using the library (<pkg>media-libs/libvmaf</pkg>). |
| vpx |
Enables vp8 codec support using libvpx: Decoding vp8 does not require this to be enabled but libvpx can also be used for decoding; encoding vp8 requires this useflag to be enabled though. |
| vulkan |
Enables support for the vulkan API for GPU offload. |
| x265 |
Enables HEVC encoding with <pkg>media-libs/x265</pkg>. |
| zeromq |
Enables <pkg>net-libs/zeromq</pkg> support with the zmq/azmq filters. |
| zimg |
Enables <pkg>media-libs/zimg</pkg> based scale filter. |
| zvbi |
Enables <pkg>media-libs/zvbi</pkg> based teletext decoder. |