Skip to Content

ffmpeg v7.1

Created
Updated

A library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.

# Usage

To use ffmpeg add the following to your CMake project:

find_package(FFMPEG REQUIRED)
target_include_directories(main PRIVATE ${FFMPEG_INCLUDE_DIRS})
target_link_directories(main PRIVATE ${FFMPEG_LIBRARY_DIRS})
target_link_libraries(main PRIVATE ${FFMPEG_LIBRARIES}) 

# License

Unspecified

# Supported Platforms

All platforms are supported

# Features

Default features: avcodec , avdevice , avfilter , avformat , swresample , swscale

# all

Build with all allowed dependencies selected that are compatible with the lgpl license

Dependencies:
  • ffmpeg

    Features: sdl2

  • ffmpeg

    Features: aom , avcodec , avdevice , avfilter , avformat , bzip2 , freetype , iconv , lzma , mp3lame , openjpeg , openmpt , opus , snappy , soxr , speex , swresample , swscale , theora , vorbis , vpx , webp , xml2 , zlib

  • ffmpeg

    Platforms: linux
    Features: alsa

  • ffmpeg

    Platforms: !uwp
    Features: ass

  • ffmpeg

    Platforms: !uwp
    Features: fontconfig

  • ffmpeg

    Platforms: !uwp
    Features: fribidi

  • ffmpeg

    Platforms: !uwp
    Features: modplug

  • ffmpeg

    Platforms: !uwp
    Features: openh264

  • ffmpeg

    Platforms: !uwp
    Features: srt

  • ffmpeg

    Platforms: !(arm & uwp)
    Features: ilbc

  • ffmpeg

    Platforms: !(uwp | arm)
    Features: ssh

  • ffmpeg

    Platforms: !osx & !uwp
    Features: amf

  • ffmpeg

    Platforms: !uwp & !osx
    Features: opencl

  • ffmpeg

    Platforms: !uwp & !(arm64 & windows)
    Features: opengl

  • ffmpeg

    Platforms: x64 & !static & !uwp & !windows
    Features: tensorflow

  • ffmpeg

    Platforms: !(uwp | (windows & x86 & !static))
    Features: dav1d

  • ffmpeg

    Platforms: !(windows & arm) & !static & !uwp
    Features: tesseract

  • ffmpeg

    Platforms: linux | (!osx & !uwp & !(arm & windows))
    Features: qsv

  • ffmpeg

    Platforms: linux | (!osx & !uwp & !(arm64 & windows))
    Features: nvcodec

and 63 transitive dependencies:
Host Dependencies:
10 transitive dependencies:

# all-gpl

Build with all allowed dependencies selected that are compatible with the gpl license

Dependencies:
  • ffmpeg

    Features: all , gpl , postproc

  • ffmpeg

    Platforms: !(arm & windows)
    Features: x264

  • ffmpeg

    Platforms: !uwp & !(arm & windows)
    Features: x265

  • ffmpeg

    Platforms: windows & !arm & !uwp & !static
    Features: avisynthplus

and 66 transitive dependencies:
Host Dependencies:
10 transitive dependencies:

# all-nonfree

Build with all allowed dependencies selected with a non-redistributable license

Dependencies:
  • ffmpeg

    Features: all-gpl , fdk-aac , nonfree , openssl

and 67 transitive dependencies:
Host Dependencies:
10 transitive dependencies:

# alsa

Enable ALSA support

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# amf

AMD AMF codec support

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# aom

AV1 video encoding/decoding via libaom support in ffmpeg

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# ass

Libass subtitles rendering, needed for subtitles and ass filter support in ffmpeg

Dependencies:
and 18 transitive dependencies:
Host Dependencies:
5 transitive dependencies:

# avcodec default

Build the avcodec library

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# avdevice default

Build the avdevice library

Dependencies:
  • ffmpeg

    Features: avcodec , avformat

No transitive dependencies.

Host Dependencies:

No dependencies.

# avfilter default

Build the avfilter library

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# avformat default

Build the avformat library

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# avisynthplus

Reading of AviSynth script files

Supports: windows & !static
  • windows-dynamic
  • linux
  • osx
  • uwp
  • windows-static
Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# avresample

Build the avresample library

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# bzip2

Bzip2 support

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# dav1d

AV1 decoding via libdav1d

Dependencies:

No transitive dependencies.

Host Dependencies:
3 transitive dependencies:

# drawtext

Enable the drawtext filter

Dependencies:
and 8 transitive dependencies:
Host Dependencies:
4 transitive dependencies:

# dvdvideo

DVD-Video demuxer

Dependencies:
and one transitive dependency:
Host Dependencies:

No dependencies.

# fdk-aac

AAC de/encoding via libfdk-aac, **including GPL-incompatible patent-encumbered HE-AAC**. If you do not require HE-AAC, use the built-in FFmpeg AAC codec.

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# ffmpeg

Build the ffmpeg application

Supports: !uwp
  • linux
  • osx
  • windows
  • uwp
Dependencies:
  • ffmpeg

    Features: avcodec , avfilter , avformat

No transitive dependencies.

Host Dependencies:

No dependencies.

# ffplay

Build the ffplay application

Supports: !uwp
  • linux
  • osx
  • windows
  • uwp
Dependencies:
  • ffmpeg

    Features: avcodec , avfilter , avformat , sdl2 , swresample , swscale

and 3 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# ffprobe

Build the ffprobe application

Supports: !uwp
  • linux
  • osx
  • windows
  • uwp
Dependencies:
  • ffmpeg

    Features: avcodec , avformat

No transitive dependencies.

Host Dependencies:

No dependencies.

# fontconfig

Useful for drawtext filter

Dependencies:
and 15 transitive dependencies:
Host Dependencies:
5 transitive dependencies:

# freetype

Needed for drawtext filter

Dependencies:
and 4 transitive dependencies:
Host Dependencies:
3 transitive dependencies:

# fribidi

Improves drawtext filter

Dependencies:

No transitive dependencies.

Host Dependencies:
3 transitive dependencies:

# gpl

Allow use of GPL code, the resulting libs and binaries will be under GPL

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# iconv

Iconv support

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# ilbc

iLBC de/encoding via libilbc

Dependencies:
and one transitive dependency:
Host Dependencies:
2 transitive dependencies:

# lzma

lzma support

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# modplug

ModPlug via libmodplug

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# mp3lame

MP3 encoding via libmp3lame

Dependencies:

No transitive dependencies.

Host Dependencies:
6 transitive dependencies:

# nonfree

Allow use of nonfree code, the resulting libs and binaries will be unredistributable

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# nvcodec

Nvidia video decoding/encoding acceleration

Supports: linux | (!osx & !uwp & !(arm64 & windows))
  • linux
  • windows-x64
  • windows-x86
  • osx
  • uwp
  • windows-arm64
Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# opencl

OpenCL processing

Supports: !uwp
  • linux
  • osx
  • windows
  • uwp
Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# opengl

OpenGL rendering

Supports: !uwp
  • linux
  • osx
  • windows
  • uwp
Dependencies:
and one transitive dependency:
Host Dependencies:

No dependencies.

# openh264

H.264 de/encoding via openh264

Dependencies:

No transitive dependencies.

Host Dependencies:
3 transitive dependencies:

# openjpeg

JPEG 2000 de/encoding via OpenJPEG

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# openmpt

Decoding tracked files via libopenmpt

Dependencies:
and 4 transitive dependencies:
Host Dependencies:
3 transitive dependencies:

# openssl

Needed for https support if gnutls, libtls or mbedtls is not used

Dependencies:

No transitive dependencies.

Host Dependencies:
3 transitive dependencies:

# opus

Opus de/encoding via libopus

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# postproc

Build the postproc library

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# qsv

Intel QSV Codec

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# sdl2

Sdl2 support

Dependencies:
  • sdl2

    Platforms: linux
    Features: x11

  • sdl2

    Platforms: !linux

and 2 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# snappy

Snappy compression, needed for hap encoding

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# soxr

Include libsoxr resampling

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# speex

Speex de/encoding via libspeex

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# srt

Haivision SRT protocol

Supports: !uwp
  • linux
  • osx
  • windows
  • uwp
Dependencies:
and one transitive dependency:
Host Dependencies:
3 transitive dependencies:

# ssh

SFTP protocol via libssh

Dependencies:
and one transitive dependency:
Host Dependencies:
3 transitive dependencies:

# swresample default

Build the swresample library

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# swscale default

Build the swscale library

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# tensorflow

TensorFlow as a DNN module backend for DNN based filters like sr

Supports: !static
  • linux-dynamic
  • osx-dynamic
  • uwp-dynamic
  • windows-dynamic
  • linux-static
  • osx-static
  • uwp-static
  • windows-static
Dependencies:
and one transitive dependency:
Host Dependencies:
one transitive dependency:

# tesseract

Tesseract, needed for ocr filter

Supports: !static
  • linux-dynamic
  • osx-dynamic
  • uwp-dynamic
  • windows-dynamic
  • linux-static
  • osx-static
  • uwp-static
  • windows-static
Dependencies:
and 11 transitive dependencies:
Host Dependencies:
3 transitive dependencies:

# theora

Theora encoding via libtheora

Dependencies:
and one transitive dependency:
Host Dependencies:
2 transitive dependencies:

# version3

Upgrade (L)GPL to version 3

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# vorbis

Vorbis en/decoding via libvorbis, native implementation exists

Dependencies:
and one transitive dependency:
Host Dependencies:
2 transitive dependencies:

# vpx

VP8 and VP9 de/encoding via libvpx

Dependencies:

No transitive dependencies.

Host Dependencies:
6 transitive dependencies:

# webp

WebP encoding via libwebp

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# x264

H.264 encoding via x264

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# x265

HEVC encoding via x265

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# xml2

XML parsing using the C library libxml2, needed for dash demuxing support

Dependencies:
and 3 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# zlib

zlib support

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# Dependencies

No dependencies.

# Host Dependencies

# Dependents

# Host Dependents

No dependents.

# Contributors

  • Robert Schumacher's avatar Robert Schumacher
  • Gilles Khouzam's avatar Gilles Khouzam
  • atkawa7's avatar atkawa7
  • Raynor Vliegendhart's avatar Raynor Vliegendhart
  • Vlad Kolesnikov's avatar Vlad Kolesnikov
  • Anonymous Maarten's avatar Anonymous Maarten
  • Jacob Zhong's avatar Jacob Zhong
  • Youngho Kim's avatar Youngho Kim
  • Alexander Karatarakis's avatar Alexander Karatarakis
  • Unknown's avatar Unknown
  • Peter Rekdal Sunde's avatar Peter Rekdal Sunde
  • Phil Christensen's avatar Phil Christensen
  • Griffin Downs's avatar Griffin Downs
  • Andre Abrantes's avatar Andre Abrantes
  • Curtis J Bezault's avatar Curtis J Bezault
  • Stefano Sinigardi's avatar Stefano Sinigardi
  • driver1998's avatar driver1998
  • emptyVoid's avatar emptyVoid
  • pravic's avatar pravic
  • Jack·Boos·Yu's avatar Jack·Boos·Yu
  • JackBoosY's avatar JackBoosY
  • Martin Kröning's avatar Martin Kröning
  • Todor Prokopov's avatar Todor Prokopov
  • Alex's avatar Alex
  • Matthias C. M. Troffaes's avatar Matthias C. M. Troffaes
  • Alexander Neumann's avatar Alexander Neumann
  • Todor Prokopov's avatar Todor Prokopov
  • NancyLi1013's avatar NancyLi1013
  • Marc Bertola's avatar Marc Bertola
  • Lily's avatar Lily
  • Vicki Pfau's avatar Vicki Pfau
  • Sander Cox's avatar Sander Cox
  • Matthew Oliver's avatar Matthew Oliver
  • Rafael Kitover's avatar Rafael Kitover
  • ras0219's avatar ras0219
  • xyb's avatar xyb
  • Long Nguyen's avatar Long Nguyen
  • omartijn's avatar omartijn
  • genevanmeter's avatar genevanmeter
  • talregev's avatar talregev
  • autoantwort's avatar autoantwort
  • Martin Vejdarski's avatar Martin Vejdarski
  • Alexandre Bique's avatar Alexandre Bique
  • nicole mazzuca's avatar nicole mazzuca
  • Be's avatar Be
  • Phoebe's avatar Phoebe
  • Andy Li's avatar Andy Li
  • Billy O'Neal's avatar Billy O'Neal
  • Michael Scovetta's avatar Michael Scovetta
  • Daniel Schürmann's avatar Daniel Schürmann
  • Kai Pastor's avatar Kai Pastor
  • Jamlys Lee's avatar Jamlys Lee
  • Cheney Wang's avatar Cheney Wang
  • Samuel Surtees's avatar Samuel Surtees
  • Nick's avatar Nick
  • FW's avatar FW
  • Francisco Facioni's avatar Francisco Facioni
  • Carlo Bramini's avatar Carlo Bramini
  • Ice0's avatar Ice0
  • reito's avatar reito
  • Frank's avatar Frank
  • MonicaLiu's avatar MonicaLiu
  • Paweł Wegner's avatar Paweł Wegner
  • Leonid Pospelov's avatar Leonid Pospelov
  • LeenHawk's avatar LeenHawk
  • Sander Cox's avatar Sander Cox
  • Martin Hořeňovský's avatar Martin Hořeňovský
  • Julian Xhokaxhiu's avatar Julian Xhokaxhiu
  • Lily Wang's avatar Lily Wang
  • Mathieu Pellerin's avatar Mathieu Pellerin
  • JonLiu1993's avatar JonLiu1993
  • Vinogradov Daniil's avatar Vinogradov Daniil
  • jim wang's avatar jim wang
  • gerard-ryan-immersaview's avatar gerard-ryan-immersaview
  • Paolo Forni's avatar Paolo Forni
  • Kadir's avatar Kadir
  • gaoshan's avatar gaoshan
  • lemourin's avatar lemourin
  • Andrew Kaster's avatar Andrew Kaster

# Changelog

  • ba7070b [ffmpeg] Only enable NASM for x86 and x64 (#42038)
  • f9f2b55 [ffmpeg] Update to 7.1 (#41856)
  • cff6ed4 [ffmpeg] Decouple from automake1.16 (#41678)
  • 07b30b4 [libdvdnav,libdvdread] New ports, with ffmpeg integration (#40898)
  • 2ed7067 [ffmpeg] fix cross builds on windows. (#41535)
  • 134bc22 [ffmpeg] Fixes error when building in path with spaces in manifest mode (#40698)
  • a00ea19 [ffmpeg] reenable osx platform support for ffmpeg[sdl2] (#40391)
  • c2a2189 [ffmpeg] Fix build on windows (#40420)
  • eaef71b [ffmpeg] Add feature harfbuzz (#40105)
  • 402bfa3 [ffmpeg] Update to version 7.0.2 (#40238)
and 180 more commits:

# Source