-
Notifications
You must be signed in to change notification settings - Fork 25
External Libraries
Taner Sener edited this page Jul 28, 2026
·
2 revisions
FFmpegKitNext builds FFmpegKit, FFmpeg and optional external libraries. Enable optional libraries with --enable-LIBRARY, or use --full to enable the non-GPL set supported by the selected platform.
Dependencies listed below are enabled automatically by the build scripts when the parent library is enabled.
| Library | Role | Auto-enabled dependencies |
|---|---|---|
chromaprint |
Audio fingerprinting through Chromaprint/AcoustID support. | - |
dav1d |
AV1 decoder. | - |
fontconfig |
Font discovery and font configuration for text/subtitle rendering. |
expat, libiconv, libuuid, freetype
|
freetype |
Font rasterization used by text and subtitle features. |
zlib, libpng, libjxl
|
fribidi |
Bidirectional Unicode text handling. | - |
gmp |
Multiple-precision arithmetic, also used by crypto dependencies. | - |
gnutls |
TLS/HTTPS support. |
zlib, nettle, gmp, libiconv
|
harfbuzz |
Complex text shaping. | freetype |
kvazaar |
HEVC/H.265 encoder. | - |
lame |
MP3 encoder through libmp3lame. |
libiconv |
libaom |
AV1 encoder/decoder. | - |
libass |
ASS/SSA subtitle rendering. |
expat, libuuid, freetype, fribidi, fontconfig, harfbuzz, libiconv
|
libiconv |
Character set conversion. | - |
libilbc |
iLBC speech codec. | - |
libjxl |
JPEG XL image codec. | - |
liblc3 |
LC3 audio codec. | - |
libsvtav1 |
SVT-AV1 encoder. | - |
libtheora |
Theora video codec. |
libogg, libvorbis
|
libvorbis |
Vorbis audio codec. | libogg |
libvpx |
VP8/VP9 video codec. |
cpu-features on Android |
libwebp |
WebP image codec. |
giflib, jpeg, libpng, tiff
|
libxml2 |
XML parsing support for FFmpeg formats/protocols that need XML. | libiconv |
opencore-amr |
AMR-NB audio codec. | - |
openh264 |
H.264 support through OpenH264. |
cpu-features on Android |
openssl |
TLS/crypto support and dependency for srt. |
- |
opus |
Opus audio codec. | - |
sdl |
SDL2 output device support. | Android links OpenSL ES |
shine |
Fixed-point MP3 encoder. | - |
snappy |
Snappy compression support. | zlib |
soxr |
High-quality audio resampling. | - |
speex |
Speex audio codec. | - |
srt |
Secure Reliable Transport protocol. | openssl |
tesseract |
OCR filter support. |
leptonica, libwebp, giflib, jpeg, zlib, tiff, libpng
|
twolame |
MPEG Layer II audio encoder. | libsndfile |
vo-amrwbenc |
AMR-WB audio encoder. | - |
vvenc |
VVC/H.266 encoder. | - |
zimg |
zscale and related resize/colorspace filtering. |
- |
These libraries require --enable-gpl.
| Library | Role | Auto-enabled dependencies |
|---|---|---|
libvidstab |
Video stabilization filters through vid.stab (--enable-libvidstab). |
- |
rubberband |
Time-stretching and pitch-shifting audio filters. |
libsndfile, libsamplerate
|
x264 |
H.264 encoder. | - |
x265 |
HEVC/H.265 encoder. | - |
xvidcore |
MPEG-4 Part 2 video encoder through libxvid. |
- |
Supplementary packages are built only to satisfy dependencies of enabled libraries. They are not usually enabled directly as FFmpeg features.
| Package | Used for |
|---|---|
cpu-features |
Android CPU feature detection support used by libraries such as libvpx and openh264. |
expat |
XML parsing dependency for fontconfig and libass. |
giflib |
GIF image support for libwebp, leptonica and tesseract. |
jpeg |
JPEG support through libjpeg-turbo. |
leptonica |
Image processing dependency for tesseract. |
libogg |
Ogg container dependency for libvorbis and libtheora. |
libpng |
PNG support used by image/font/subtitle dependencies. |
libsamplerate |
Sample-rate conversion dependency for rubberband. |
libsndfile |
Audio file I/O dependency for twolame and rubberband. |
libuuid |
UUID support used by fontconfig and libass. |
nettle |
Crypto dependency for gnutls; built against gmp in this project. |
rapidjson |
Header-only JSON parser used by the Linux and Web FFmpegKit C++ API/media information parser; downloaded by Linux and Web builds. |
tiff |
TIFF image support; depends on jpeg. |
zlib |
Compression support used by several libraries and platform builds. |
Some options enable platform or system libraries instead of downloading a third-party source package.
- Android:
android-zlib,android-media-codec - iOS / iPadOS:
AudioToolbox,AVFoundation,bzip2,libiconv,VideoToolbox,zlib - macOS:
AudioToolbox,AVFoundation,bzip2,Core Image,libiconv,OpenCL,OpenGL,VideoToolbox,zlib - tvOS:
AudioToolbox,bzip2,libiconv,VideoToolbox,zlib - visionOS:
AudioToolbox,bzip2,libiconv,VideoToolbox,zlib - Linux:
linux-*options link supported libraries from the hostpkg-configenvironment, such as ALSA, VAAPI, V4L2 and system-provided codec/filter libraries. Linux builds also downloadrapidjsonfor FFmpegKit's C++ API. - Web:
web-libiconv,web-zlib. Web builds also downloadrapidjsonfor FFmpegKit's C++ API.
Copyright (c) 2026 FFmpegKitNext
- Status
- Versions
- Changelog
- Project Layout
- Using
- Building
- External Libraries
- Patents
- License