Template:Short description {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters | check | showblankpositional=1 | unknown = Template:Main other | preview = Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y | AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo upright | logo size | logo title | logo_alt | logo_caption | logo_upright | logo_size | logo_title | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot upright | screenshot size | screenshot title | screenshot_alt | screenshot_upright | screenshot_size | screenshot_title | service_name | size | standard | title | ver layout | website | qid }}Template:Main other FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing video and audio files. It is widely used for format transcoding, basic editing (trimming and concatenation), video scaling, video post-production effects, and standards compliance (SMPTE, ITU).

FFmpeg also includes other tools: ffplay, a simple media player, and ffprobe, a command-line tool to display media information. Among included libraries are libavcodec, an audio/video codec library used by many commercial and free software products, libavformat (Lavf),<ref name="Lavf">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> an audio/video container mux and demux library, and libavfilter, a library for enhancing and editing filters through a GStreamer-like filtergraph.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

FFmpeg is part of the workflow of many other software projects, and its libraries are a core part of software media players such as VLC, and has been included in core processing for YouTube and Bilibili.<ref>Template:Citation</ref> Encoders and decoders for many audio and video file formats are included, making it highly useful for the transcoding of common and uncommon media files.

FFmpeg is published under the LGPL-2.1-or-later or GPL-2.0-or-later, depending on which options are enabled.<ref name="legal">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

HistoryEdit

The project was started by Fabrice Bellard<ref name="legal" /> (using the pseudonym "Gérard Lantau") in 2000, and was led by Michael Niedermayer from 2004 until 2015.<ref name=":0">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Some FFmpeg developers were also part of the MPlayer project.

The name of the project is inspired by the MPEG video standards group, together with "FF" for "fast forward", so FFmpeg stands for "Fast Forward Moving Picture Experts Group".<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The logo represents a zigzag scan pattern that shows how MPEG video codecs handle entropy encoding.<ref>Template:Cite FTP Alt URL Template:Webarchive</ref>

On March 13, 2011, a group of FFmpeg developers decided to fork the project under the name Libav.<ref>Template:Citation</ref><ref>Template:Citation</ref><ref>Template:Citation</ref> The group decided to fork the project due to a disagreement with the leadership of FFmpeg.Template:Clarify<ref>Template:Citation</ref><ref>Template:Citation</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Despite an initial push in Debian and derived distributions, Libav was considered inferior to FFmpeg in both technical merit and popularity,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> prompting Debian and Gentoo to switch back to FFmpeg in 2015. Libav was declared abandoned in 2020.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

On January 10, 2014, two Google employees announced that over 1000 bugs had been fixed in FFmpeg during the previous two years by means of fuzz testing.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

In January 2018, the ffserver command-line program – a long-time component of FFmpeg – was removed.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The developers had previously deprecated the program citing high maintenance efforts due to its use of internal application programming interfaces.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

The project publishes a new release every three months on average. While release versions are available from the website for download, FFmpeg developers recommend that users compile the software from source using the latest build from their source code, using the Git version control system.<ref name="release_policy">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Codec historyEdit

Two video coding formats with corresponding codecs and one container format have been created within the FFmpeg project so far. The two video codecs are the lossless FFV1, and the lossless and lossy Snow codec. Development of Snow has stalled, while its bit-stream format has not been finalized yet, making it experimental since 2011. The multimedia container format called NUT is no longer being actively developed, but still maintained.<ref name="nut">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

In summer 2010, FFmpeg developers Fiona Glaser, Ronald Bultje, and David Conrad, announced the ffvp8 decoder. Through testing, they determined that ffvp8 was faster than Google's own libvpx decoder.<ref>Template:Citation</ref><ref>Template:Citation</ref> Starting with version 0.6, FFmpeg also supported WebM and VP8.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

In October 2013, a native VP9<ref name="LaunchpadVP9Decoder">Template:Cite news</ref> decoder and OpenHEVC, an open source High Efficiency Video Coding (HEVC) decoder, were added to FFmpeg.<ref name=FFmpegHEVCOctober2013Softpedia>Template:Cite news</ref> In 2016 the native AAC encoder was considered stable, removing support for the two external AAC encoders from VisualOn and FAAC. FFmpeg 3.0 (nicknamed "Einstein") retained build support for the Fraunhofer FDK AAC encoder.<ref name="Einstein">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Since version 3.4 "Cantor" FFmpeg supported the FITS image format.<ref name="Cantor">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Since November 2018 in version 4.1 "al-Khwarizmi" AV1 can be muxed in MP4 and Matroska, including WebM.<ref name="al-Khwarizmi">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

ComponentsEdit

Command-line toolsEdit

LibrariesEdit

  • libswresample is a library containing audio resampling routines.
  • libavresample is a library containing audio resampling routines from the Libav project, similar to libswresample from ffmpeg.
  • libavcodec is a library containing all of the native FFmpeg audio/video encoders and decoders. Most codecs were developed from scratch to ensure best performance and high code reusability.
  • libavformat (Lavf)<ref name="Lavf" /> is a library containing demuxers and muxers for audio/video container formats.
  • libavutil is a helper library containing routines common to different parts of FFmpeg. This library includes hash functions, ciphers, LZO decompressor and Base64 encoder/decoder.
  • libpostproc is a library containing older H.263 based video postprocessing routines.
  • libswscale is a library containing video image scaling and colorspace/pixelformat conversion routines.
  • libavfilter is the substitute for vhook which allows the video/audio to be modified or examined (for debugging) between the decoder and the encoder. Filters have been ported from many projects including MPlayer and avisynth.
  • libavdevice is a library containing audio/video io through internal and external devices.

Supported hardwareEdit

CPUsEdit

FFmpeg encompasses software implementations of video and audio compressing and decompressing algorithms. These can be compiled and run on many different instruction sets, including x86 (IA-32 and x86-64), PPC (PowerPC), ARM, DEC Alpha, SPARC, and MIPS.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Special purpose hardwareEdit

There are a variety of application-specific integrated circuits (ASICs) for audio/video compression and decompression. These ASICs can partially or completely offload the computation from the host CPU. Instead of a complete implementation of an algorithm, only the API is required to use such an ASIC.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Firm ASIC purpose supported by FFmpeg Details
AMD UVD decoding Template:Ya via VDPAU API and VAAPI
VCE encoding Template:Ya via VAAPI, considered experimental<ref>{{#invoke:citation/CS1|citation CitationClass=web

}}</ref>

Amlogic Amlogic Video Engine decoding Template:Dunno
BlackMagic DeckLink encoding/decoding Template:Ya real-time ingest and playout
Broadcom Crystal HD decoding Template:Ya
Qualcomm Hexagon encoding/decoding Template:Ya citation CitationClass=web

}}</ref>

Intel Intel Clear Video decoding Template:Ya (libmfx, VAAPI)
Intel Quick Sync Video encoding/decoding Template:Ya (libmfx, VAAPI)
Nvidia PureVideo / NVDEC decoding Template:Ya via the VDPAU API as of FFmpeg v1.2 (deprecated)
via CUVID API as of FFmpeg v3.1<ref>{{#invoke:citation/CS1|citation
CitationClass=web

}}</ref>

NVENC encoding Template:Ya as of FFmpeg v2.6

The following APIs are also supported: DirectX Video Acceleration (DXVA2, Windows), Direct3D 11 (D3D11VA, Windows), Media Foundation (Windows), Vulkan (VKVA), VideoToolbox (iOS, iPadOS, macOS), RockChip MPP, OpenCL, OpenMAX, MMAL (Raspberry Pi), MediaCodec (Android OS), V4L2 (Linux). Depending on the environment, these APIs may lead to specific ASICs, to GPGPU routines, or to SIMD CPU code.<ref name="HWAccelIntro">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Supported codecs and formatsEdit

Image formatsEdit

{{safesubst:#invoke:Unsubst||date=__DATE__|$B= Template:Ambox }} FFmpeg supports many common and some uncommon image formats.

The Template:Anchor PGMYUV image format is a homebrew variant of the binary (P5) PGM Netpbm format. FFmpeg also supports 16-bit depths of the PGM and PPM formats, and the binary (P7) PAM format with or without alpha channel, depth 8 bit or 16 bit for pix_fmts monob, gray, gray16be, rgb24, rgb48be, ya8, rgba, rgb64be.

Supported formatsEdit

Template:FurtherTemplate:More citations needed section In addition to FFV1 and Snow formats, which were created and developed from within FFmpeg, the project also supports the following formats:

Group Format type Format name
ISO/IEC/ITU-T Video MPEG-1 Part 2, H.261 (Px64),<ref name="svn8747" /> H.262/MPEG-2 Part 2, H.263,<ref name="svn8747" /> MPEG-4 Part 2, H.264/MPEG-4 AVC, HEVC/H.265<ref name=FFmpegHEVCOctober2013Softpedia /> (MPEG-H Part 2), MPEG-4 VCB (a.k.a. VP8), Motion JPEG, IEC DV video and CD+G
Audio MP1, MP2, MP3, AAC, HE-AAC, MPEG-4 ALS, G.711 μ-law, G.711 A-law, G.721 (a.k.a. G.726 32k), G.722, G.722.2 (a.k.a. AMR-WB), G.723 (a.k.a. G.726 24k and 40k), G.723.1, G.726, G.729, G.729D, IEC DV audio and Direct Stream Transfer
Subtitle MPEG-4 Timed Text (a.k.a. 3GPP Timed Text)
Image JPEG, Lossless JPEG, JPEG-LS, JPEG 2000, JPEG XL,<ref>{{#invoke:citation/CS1|citation CitationClass=web

}}</ref> PNG, CCITT G3 and CCITT G4

Alliance for Open Media Video AV1<ref>{{#invoke:citation/CS1|citation CitationClass=web

}}</ref>

Image AVIF<ref name="phoronix_5_1"/>
EIA Subtitle EIA-608
CEA Subtitle CEA-708
SMPTE Video SMPTE 314M (a.k.a. DVCAM and DVCPRO), SMPTE 370M (a.k.a. DVCPRO HD), VC-1 (a.k.a. WMV3), VC-2 (a.k.a. Dirac Pro), VC-3 (a.k.a. AVID DNxHD)
Audio SMPTE 302M
Image DPX
ATSC/ETSI/DVB Audio Full Rate (GSM 06.10), AC-3 (Dolby Digital), Enhanced AC-3 (Dolby Digital Plus) and DTS Coherent Acoustics (a.k.a. DTS or DCA)
Subtitle DVB Subtitling (ETSI 300 743)
DVD Forum/Dolby Audio MLP / Dolby TrueHD
Subtitle DVD-Video subtitles
Xperi/DTS, Inc/QDesign Audio DTS Coherent Acoustics (a.k.a. DTS or DCA), DTS Extended Surround (a.k.a. DTS-ES), DTS 96/24, DTS-HD High Resolution Audio, DTS Express (a.k.a. DTS-HD LBR), DTS-HD Master Audio, QDesign Music Codec 1 and 2
Blu-ray Disc Association Subtitle PGS (Presentation Graphics Stream)
3GPP Audio AMR-NB, AMR-WB (a.k.a. G.722.2)
3GPP2 Audio QCELP-8 (a.k.a. SmartRate or IS-96C), QCELP-13 (a.k.a. PureVoice or IS-733) and Enhanced Variable Rate Codec (EVRC. a.k.a. IS-127)
World Wide Web Consortium Video Animated GIF<ref name="phoronix_1_1"/>
Subtitle WebVTT
Image GIF, and SVG (via librsvg)
IETF Video FFV1
Audio iLBC (via libilbc), Opus and Comfort noise
International Voice Association Audio DSS-SP
SAC Video AVS video, AVS2 video<ref name="phoronix_4_1"/> (via libdavs2), and AVS3 video (via libuavs3d)
Microsoft Video Microsoft RLE, Microsoft Video 1, Cinepak, Microsoft MPEG-4 v1, v2 and v3, Windows Media Video (WMV1, WMV2, WMV3/VC-1), WMV Screen and Mimic codec
Audio Windows Media Audio (WMA1, WMA2, WMA Pro and WMA Lossless), XMA (XMA1 and XMA2),<ref>FFmpeg 3.0 Released, Supports VP9 VA-API Acceleration Template:Webarchive. Phoronix. February 15, 2016</ref> MSN Siren, MS-GSM and MS-ADPCM
Subtitle SAMI
Image Windows Bitmap, WMV Image (WMV9 Image and WMV9 Image v2), DirectDraw Surface, and MSP<ref>FFmpeg 4.4 Released With AV1 VA-API Decoder, SVT-AV1 Encoding Template:Webarchive. Phoronix. April 9, 2021</ref>
Interactive Multimedia Association Audio IMA ADPCM
Intel / Digital Video Interactive Video RTV 2.1 (Indeo 2), Indeo 3, 4 and 5,<ref name="svn8747" /> and Intel H.263
Audio DVI4 (a.k.a. IMA DVI ADPCM), Intel Music Coder, and Indeo Audio Coder
RealNetworks Video RealVideo Fractal Codec (a.k.a. Iterated Systems ClearVideo), 1, 2, 3 and 4
Audio RealAudio v1 – v10, and RealAudio Lossless<ref name="phoronix_0_11"/>
Subtitle RealText
Apple / Spruce Technologies Video Cinepak (Apple Compact Video), ProRes, Sorenson 3 Codec, QuickTime Animation (Apple Animation), QuickTime Graphics (Apple Graphics), Apple Video, Apple Intermediate Codec and Pixlet<ref name="phoronix_3_3"/>
Audio ALAC
Image QuickDraw PICT
Subtitle Spruce subtitle (STL)
Adobe Flash Player (SWF) Video Screen video, Screen video 2, Sorenson Spark and VP6
Audio Adobe SWF ADPCM and Nellymoser Asao
Adobe / Aldus Image TIFF, PSD,<ref name="phoronix_3_3">FFmpeg 3.3 Brings Native Opus Encoder, Support For Spherical Videos Template:Webarchive. Phoronix. April 17, 2017</ref> and DNG
Xiph.Org Video Theora
Audio Speex,<ref>FFmpeg 5.0 Released For This Popular, Open-Source Multimedia Library Template:Webarchive. Phoronix. January 14, 2022</ref> Vorbis, Opus and FLAC
Subtitle Ogg Writ
Sony Audio Adaptive Transform Acoustic Coding (ATRAC1, ATRAC3, ATRAC3Plus,<ref name="phoronix_2_2">FFmpeg 2.2 Release Adds The Libx265 Encoder Template:Webarchive. Phoronix. March 23, 2014</ref> and ATRAC9<ref name="phoronix_4_1">FFmpeg 4.1 Brings AV1 Parser & Support For AV1 In MP4 Template:Webarchive. Phoronix. November 6, 2018</ref>)<ref name="svn8747">{{#invoke:citation/CS1|citation CitationClass=web

}}Template:Dead link</ref> and PSX ADPCM

NTT Audio TwinVQ
Google / On2 / GIPS Video Duck TrueMotion 1, Duck TrueMotion 2, Duck TrueMotion 2.0 Real Time, VP3, VP4,<ref>FFmpeg 4.2 Released With AV1 Decoding Support, GIF Parser Template:Webarchive. Phoronix. August 6, 2019</ref> VP5,<ref name="svn8747" /> VP6,<ref name="svn8747" /> VP7, VP8,<ref>FFmpeg 0.6 Released With H.264, VP8 Love Template:Webarchive. Phoronix. June 16, 2010</ref> VP9<ref name="LaunchpadVP9Decoder" /> and animated WebP
Audio DK ADPCM Audio 3/4, On2 AVC and iLBC (via libilbc)
Image WebP<ref name="phoronix_2_5"/>
Epic Games / RAD Game Tools Video Smacker video and Bink video
Audio Bink audio
CRI Middleware Audio ADX ADPCM, and HCA
Nintendo / NERD Video Mobiclip video
Audio GCADPCM (a.k.a. ADPCM THP), FastAudio, and ADPCM IMA MOFLEX
Synaptics / DSP Group Audio Truespeech
Electronic Arts / Criterion Games / Black Box Games / Westwood Studios Video RenderWare TXD,<ref name="ffdev20070507">{{#invoke:citation/CS1|citation CitationClass=web

}}</ref> Madcow, CMV, TGV, TGQ, TQI, Midivid VQ (MVDV), MidiVid 3.0 (MV30), Midivid Archival (MVHA), and Vector Quantized Animation (VQA)

Audio Electronic Arts ADPCM variants
Netpbm Image PBM, PGM, PPM, PNM, PAM, PFM and PHM
MIT/X Consortium/The Open Group Image XBM,<ref name="phoronix_0_11">FFmpeg 0.11 Has Blu-Ray Protocol, New Encoders Template:Webarchive. Phoronix. May 26, 2012</ref> XPM and xwd
HPE / SGI / Silicon Graphics Video Silicon Graphics RLE 8-bit video,<ref name="phoronix_1_1"/> Silicon Graphics MVC1/2<ref name="phoronix_1_1"/>
Image Silicon Graphics Image
Oracle/Sun Microsystems Image Sun Raster
IBM Video IBM UltiMotion
Avid Technology / Truevision Video Avid 1:1x, Avid Meridien,<ref name="phoronix_0_11"/> Avid DNxHD, Avid DNx444,<ref name="phoronix_2_2"/> and DNxHR
Image Targa<ref name="phoronix_1_1"/>
Autodesk / Alias Video Autodesk Animator Studio Codec and FLIC
Image Alias PIX
Activision Blizzard / Activision / Infocom Audio ADPCM Zork
Konami / Hudson Soft Video HVQM4 Video
Audio Konami MTAF, and ADPCM IMA HVQM4
Grass Valley / Canopus Video HQ, HQA, HQX and Lossless
Vizrt / NewTek Video SpeedHQ
Image Vizrt Binary Image<ref name="phoronix_5_1">FFmpeg 5.1 Released With Many Improvements To This Important Multimedia Project Template:Webarchive. Phoronix. July 22, 2022</ref>
Academy Software Foundation / ILM Image OpenEXR<ref name="phoronix_0_11"/>
Mozilla Corporation Video APNG<ref name="phoronix_2_5">FFmpeg 2.5 Brings Animated PNG, WebP Decoding Support Template:Webarchive. Phoronix. December 4, 2014</ref>
Matrox Video Matrox Uncompressed SD (M101) / HD (M102)
AMD/ATI Video ATI VCR1/VCR2
Asus Video ASUS V1/V2 codec
Commodore Video CDXL codec
Kodak Image Photo CD
Blackmagic Design / Cintel Image Cintel RAW
Houghton Mifflin Harcourt / The Learning Company / ZSoft Corporation Image PCX
Australian National University Image X-Face<ref name="phoronix_1_1">FFmpeg 1.1 Brings New Support, Encoders/Decoders Template:Webarchive. Phoronix. January 7, 2013</ref>
Bluetooth Special Interest Group Audio SBC, and mSBC
Qualcomm / CSR Audio QCELP, aptX, and aptX HD
Open Mobile Alliance / WAP Forum Image Wireless Bitmap

MuxersEdit

Output formats (container formats and other ways of creating output streams) in FFmpeg are called "muxers". FFmpeg supports, among others, the following: Template:Div col

  • AIFF
  • ASF
  • AVI and also input from AviSynth
  • BFI<ref name="ffdev20080413">{{#invoke:citation/CS1|citation

|CitationClass=web }}Template:Dead link</ref>

  • CAF
  • FLV
  • GIF
  • GXF, General eXchange Format, SMPTE 360M
  • HLS, HTTP Live Streaming
  • IFF<ref name="ffdev20080330">{{#invoke:citation/CS1|citation

|CitationClass=web }}Template:Dead link</ref>

|CitationClass=web }}</ref>

  • MPEG-DASH<ref>{{#invoke:citation/CS1|citation

|CitationClass=web }}</ref>

|CitationClass=web }}</ref>

|CitationClass=web }}</ref>

  • RL2<ref name="ffdev20080321">{{#invoke:citation/CS1|citation

|CitationClass=web }}</ref>

  • Segment, for creating segmented video streams
  • Smooth Streaming
  • TXD<ref name="ffdev20070507" />
  • WTV

Template:Div col end

Pixel formatsEdit

Template:More citations needed section

Type Color Packed Planar Palette
Without alpha With alpha Without alpha With alpha Chroma-interleaved With alpha
Monochrome Binary (1-bit monochrome) Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash
Grayscale Template:Yes Template:Sdash Template:Sdash Template:Yes Template:Sdash Template:Sdash
RGB RGB 1:2:1 (4-bit color) Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash
RGB 3:3:2 (8-bit color) Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash
RGB 5:5:5 (High color) Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash
RGB 5:6:5 (High color) Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash
RGB/BGR Template:Yes Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Yes
GBR<ref group="p">used in YUV-centric codecs such like H.264</ref> Template:Sdash Template:Sdash Template:Yes Template:Yes Template:Sdash Template:Sdash
RGB Float RGB Template:Yes Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash
GBR Template:Sdash Template:Sdash Template:Yes Template:Yes Template:Sdash Template:Sdash
YUV YVU 4:1:0 Template:Sdash Template:Sdash Template:No Template:Sdash Template:Sdash Template:Sdash
YUV 4:1:0 Template:Sdash Template:Sdash Template:Yes Template:Sdash Template:Sdash Template:Sdash
YUV 4:1:1 Template:Yes Template:Sdash Template:Yes Template:Sdash Template:No Template:Sdash
YVU 4:2:0 Template:Sdash Template:Sdash Template:No Template:Sdash Template:Yes Template:Sdash
YUV 4:2:0 Template:Sdash Template:Sdash Template:Yes Template:Yes Template:Yes Template:Sdash
YVU 4:2:2 Template:Sdash Template:Sdash Template:No Template:Sdash Template:No Template:Sdash
YUV 4:2:2 Template:Partial Template:Sdash Template:Yes Template:Yes Template:Yes Template:Sdash
YUV 4:4:0 Template:Sdash Template:Sdash Template:Yes Template:Sdash Template:Sdash Template:Sdash
YVU 4:4:4 Template:Sdash Template:Sdash Template:No Template:Sdash Template:Yes Template:Sdash
YUV 4:4:4 Template:Partial Template:Yes Template:Yes Template:Yes Template:Yes Template:Sdash
XYZ XYZ 4:4:4<ref group="p">used in JPEG2000</ref> Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash
Bayer BGGR/RGGB/GBRG/GRBG Template:Yes Template:Sdash Template:Sdash Template:Sdash Template:Sdash Template:Sdash

<references group="p" />

FFmpeg does not support IMC1-IMC4, AI44, CYMK, RGBE, Log RGB and other formats. It also does not yet support ARGB 1:5:5:5, 2:10:10:10, or other BMP bitfield formats that are not commonly used.

Supported protocolsEdit

Open standardsEdit

Template:Div col

|CitationClass=web }}</ref>

Template:Div col end

De facto standardsEdit

Template:Div col

|CitationClass=web }}</ref>

Template:Div col end

Supported filtersEdit

FFmpeg supports, among others, the following filters.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

AudioEdit

Template:Div col

Template:Div col end

VideoEdit

Template:Div col

  • Transformations
    • Cropping (crop, cropdetect)
    • Fading (fade)
    • Scaling (scale)
    • Padding (pad)
    • Rotation (rotate)
    • Transposition (transpose)
    • Others:
      • Lens correction (lenscorrection)
      • OpenCV filtering (ocv)
      • Perspective correction (perspective)
  • Temporal editing
    • Framerate (fps, framerate)
    • Looping (loop)
    • Trimming (trim)
  • Deinterlacing (bwdif, idet, kerndeint, nnedi, yadif, w3fdif)
  • Inverse Telecine
  • Filtering
  • Denoising (atadenoise, bitplanenoise, dctdnoiz, owdenoise, removegrain)
  • Logo removal (delogo, removelogo)
  • Subtitles (ASS, subtitles)
  • Alpha channel editing (alphaextract, alphamerge)
  • Keying (chromakey, colorkey, lumakey)
  • Frame detection
    • Black frame detection (blackdetect, blackframe)
    • Thumbnail selection (thumbnail)
  • Frame Blending (blend, tblend, overlay)
  • Video stabilization (vidstabdetect, vidstabtransform)
  • Color and Level adjustments
    • Balance and levels (colorbalance, colorlevels)
    • Channel mixing (colorchannelmixer)
    • Color space (colorspace)
    • Parametric adjustments (curves, eq)
  • Histograms and visualization
  • Drawing
  • OCR
  • Quality measures
  • Lookup Tables
    • lut, lutrgb, lutyuv, lut2, lut3d, haldclut

Template:Div col end

Supported test patternsEdit

Supported LUT formatsEdit

Supported media and interfacesEdit

FFmpeg supports the following devices via external libraries.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

MediaEdit

Physical interfacesEdit

  • IEEE 1394 (a.k.a. FireWire; via libdc1394 and libraw1394; input only)
  • IEC 61883 (via libiec61883; input only)
  • DeckLink
  • Brooktree video capture chip (via bktr driver; input only)

Audio IOEdit

Video IOEdit

Screen capture and outputEdit

OthersEdit

ApplicationsEdit

Legal aspectsEdit

FFmpeg contains more than 100 codecs,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> most of which use compression techniques of one kind or another. Many such compression techniques may be subject to legal claims relating to software patents.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Such claims may be enforceable in countries like the United States which have implemented software patents, but are considered unenforceable or void in member countries of the European Union, for example.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>Template:Original research inline Patents for many older codecs, including AC3 and all MPEG-1 and MPEG-2 codecs, have expired.Template:Citation needed

FFmpeg is licensed under the LGPL license, but if a particular build of FFmpeg is linked against any GPL libraries (notably x264), then the entire binary is licensed under the GPL.

Projects using FFmpegEdit

Template:Main category FFmpeg is used by software such as Blender, Cinelerra-GG Infinity, HandBrake, Kodi, MPC-HC, Plex, Shotcut, VirtualDub2 (a VirtualDub fork),<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> VLC media player, xine and YouTube.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name="projects">{{#invoke:citation/CS1|citation |CitationClass=web }}.</ref> It handles video and audio playback in Google Chrome<ref name=projects /> and the Linux version of Firefox.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> GUI front-ends for FFmpeg have been developed, including Multimedia Xpert<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and XMedia Recode.

FFmpeg is used by ffdshow, FFmpegInterop, the GStreamer FFmpeg plug-in, LAV Filters and OpenMAX IL to expand the encoding and decoding capabilities of their respective multimedia platforms.

As part of NASA's Mars 2020 mission, FFmpeg is used by the Perseverance rover on Mars for image and video compression before footage is sent to Earth.<ref>Template:Cite journal</ref>

See alsoEdit

Template:Portal

ReferencesEdit

Template:Reflist

External linksEdit

Template:Media player (application software)Template:Compression software