World Library  
Flag as Inappropriate
Email this Article


FFmpeg running on Microsoft Windows
Original author(s) Fabrice Bellard
Developer(s) FFmpeg team
Initial release December 20, 2000 (2000-12-20)[1]
Stable release 2.8 (September 9, 2015 (2015-09-09)[2])
Preview release Git
Development status Active
Written in C and Assembly[3]
Operating system Windows, OS X, and Linux; may be compiled for other OSes.[4]
Platform x86, ARM, PowerPC, MIPS, DEC Alpha, Blackfin, AVR32, SH-4, and SPARC; may be compiled for other desktop computers
Type Multimedia framework
License LGPL 2.1+, GPL 2+
Unredistributable if compiled as such[5]
Website .orgffmpeg

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. FFmpeg includes libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files. FFmpeg is published under the GNU Lesser General Public License 2.1+ or GNU General Public License 2+ (depending on which options are enabled).[6]

FFmpeg is developed under Linux, but it can be compiled under most operating systems, including Mac OS X, Microsoft Windows, as well as AmigaOS and its heir MorphOS. Most computing platforms and microprocessor instruction set architectures are also supported, like x86 (IA-32 and x86-64), PPC (PowerPC), ARM, DEC Alpha, SPARC, and MIPS.[7]

The name of the project is inspired by the MPEG video standards group, together with "FF" for "fast forward".[8] The logo uses a zigzag pattern that shows how MPEG video codecs handle entropy encoding.[9]


  • History 1
  • Libav Fork 2
  • Components 3
  • Codecs, formats and protocols supported 4
    • Codecs 4.1
    • Container formats 4.2
    • Protocols 4.3
  • Legal aspects 5
  • FFmtech Foundation 6
  • Projects using FFmpeg 7
  • See also 8
  • References 9
  • External links 10


The project was started by Fabrice Bellard[6] (using the pseudonym "Gérard Lantau") in 2000, and was lead by Michael Niedermayer from 2004 until 2015.[10] Many FFmpeg developers are also part of the MPlayer project.

FFmpeg version 0.5 appeared after a long time without formal releases. Meanwhile, the project approximately publishes a new release every three months to be used by "distributors and system integrators", but FFmpeg developers recommend that users compile the software from source using the latest build from their source code Git version control system.[11]

Two video coding formats with corresponding codecs and one container format were invented in the FFmpeg project during its development. The two video codecs are the lossless FFV1, and the lossless and lossy Snow, the development of which 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.[12]

In summer 2010, Fiona Glaser, Ronald Bultje, and David Conrad of the FFmpeg Team announced the ffvp8 decoder. Through testing, they determined that ffvp8 was faster than Google's own libvpx decoder.[13][14] Starting with version 0.6, FFmpeg also supported WebM and VP8.[15]

Since May 2011, an independent developer offers frequently updated ports of the FFmpeg tools for Windows platforms, to which FFmpeg official website links.[16]

In October, 2013, a native VP9[17] and the OpenHEVC decoder, an open source High Efficiency Video Coding (HEVC) decoder, were added to FFmpeg.[18]

On January 10, 2014, two Google employees announced that over 1000 bugs have been fixed in FFmpeg during the previous two years by means of fuzz testing.[19] FFmpeg 2.5 released in December, 2014, supports an MPEG-DASH muxer.[20]

On July 31, 2015, lead maintainer Michael Niedermeyer announced that he would be resigning, in order to help resolve the fork situation with Libav.[10]

Libav Fork

On March 13, 2011, a group of FFmpeg developers decided to fork the project under the name "Libav".[21][22][23] The event was related to a recent issue in project management, in which developers disagreed with the leadership of FFmpeg.[24][25][26] The maintainer of FFmpeg packages for the Debian[27] and Ubuntu[28] Linux distributions, being one of the group of developers who forked FFmpeg, switched the distributions to Libav. In November 2013, Debian Developer Rogério Brito started to reincorporate FFmpeg into Debian and Ubuntu, with user support.[29][30] On July 8, 2015, Debian ultimately switched back to FFmpeg, replacing Libav, citing security issues with the latter.[31]


The project comprises several components:

  • ffmpeg is a command-line tool that converts audio or video formats. It can also grab and encode in real-time from various sources such as a TV card etc.
  • ffserver is an HTTP and RTSP multimedia streaming server for live broadcasts. It can also time shift live broadcast.
  • ffplay is a simple media player based on SDL and on the FFmpeg libraries.
  • ffprobe is a command-line tool to show media information (text, CSV, XML, JSON), see also Mediainfo.
  • 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 the FFmpeg audio/video encoders and decoders. Most codecs were developed from scratch to ensure best performance and high code reusability.
  • libavformat 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 (Adler-32, CRC, MD5, RIPEMD, SHA-1. SHA-2 and MurmurHash3), ciphers (DES, RC4, AES, XTEA, Blowfish, CAST-128, Twofish and Camellia), LZO decompressor and Base64 encoder/decoder.
  • libpostproc is a library containing 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 between the decoder and the encoder.

Codecs, formats and protocols supported

The PGMYUV image format is a homebrewn 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, gray8a, rgba, rgb64be.


In addition to FFV1 and Snow codecs, which were created and developed from within FFmpeg, the project also supports codecs from the following:

Group Format type Format name
ISO/IEC/ITU-T Video MPEG-1 Part 2, H.261,[32] H.262/MPEG-2 Part 2, H.263,[32] MPEG-4 Part 2, H.264/MPEG-4 AVC, HEVC/H.265[18] (MPEG-H Part 2), Motion JPEG
Audio MP1, MP2, MP3, AAC, HE-AAC, MPEG-4 ALS, G.711 µ-law, G.711 A-law, G.721 (aka G.726 32k), G.722, G.722.2 (aka AMR-WB), G.723 (aka G.726 24k and 40k), G.723.1, G.726, G.729 and G.729D
Subtitle MPEG-4 Timed Text (aka 3GPP Timed Text)
Image JPEG, JPEG-LS, JPEG 2000 and PNG
EBU Subtitle Spruce subtitle (EBU STL)
EIA Subtitle EIA-608
CEA Subtitle CEA-708
SMPTE Video VC-1 (aka WMV3), VC-2 (aka Dirac), VC-3 (aka AVID DNxHD)
Audio SMPTE 302M
Image DPX
DVD Forum/Dolby Audio MLP / Dolby TrueHD and Dolby Digital (aka AC-3)
Subtitle DVD-Video subtitles
Blu-ray Disc Association Subtitle PGS (Presentation Graphics Stream)
3GPP Audio AMR-NB, AMR-WB (aka G.722.2)
GSM and CDMA Audio Full Rate (GSM 06.10), Enhanced Variable Rate Codec (EVRC)
World Wide Web Consortium Subtitle WebVTT
IETF Audio iLBC (via libilbc) and Opus
DVB Subtitle DVB Subtitling (ETSI 300 743)
International Voice Association Audio DSS-SP
SAC Video AVS video
Microsoft Video Microsoft RLE, Microsoft Video 1, Cinepak, Indeo (v2, v3 and v5),[32] Microsoft MPEG-4 v1, v2 and v3, Windows Media Video (WMV1, WMV2, WMV3/VC-1) and WMV Screen
Audio Windows Media Audio (WMA1, WMA2, WMA Pro and WMA Lossless) and MS-GSM
Subtitle SAMI
Image Windows Bitmap, WMV Image (WMV9 Image and WMV9 Image v2) and DirectDraw Surface
RealNetworks Video RealVideo 1, 2, 3 and 4
Audio RealAudio v1 – v10
Subtitle RealText
QuickTime Video Cinepak, ProRes, Sorenson 3 Codec, Animation codec, QuickTime Graphics, Apple Video
Audio QDesign Music Codec 2 and ALAC
Adobe Flash Player (SWF) Video Screen video, Screen video 2, Sorenson 3 Codec, VP6 and Sorenson codec
Audio Adobe SWF ADPCM and Nellymoser Asao
Xiph.Org Video Theora and Daala (via libdaala)
Audio Speex (via libspeex), Vorbis, Opus and FLAC
Subtitle Ogg Writ
Sony Audio Adaptive Transform Acoustic Coding (ATRAC1, ATRAC3 and ATRAC3Plus)[32][33] and PSX ADPCM
NTT Audio TwinVQ
On2 / GIPS / Google Video Duck TrueMotion 1, Duck TrueMotion 2, VP3, VP5,[32] VP6,[32] VP7, VP8, VP9[17]
Audio DK ADPCM Audio 3/4, On2 AVC and iLBC (via libilbc)
Image WebP
RAD Game Tools Video Smacker video and Bink video
DSP Group Audio Truespeech
RenderWare Video TXD[34]
Netpbm Image PBM, PGM and PPM
MIT/X Consortium Image XBM and xwd
Silicon Graphics Video Silicon Graphics RLE 8-bit video, Silicon Graphics MVC1/2
Image Silicon Graphics Image
Sun Microsystems Image Sun Raster
Avid Technology / Truevision Video Avid 1:1x, Avid Meridien and Avid DNxHD
Image Targa
Autodesk / Alias Video Autodesk Animator Studio Codec
Image Alias PIX
Grass Valley / Canopus Video HQ, HQA, HQX and Lossless

The default MPEG-4 codec used by FFmpeg for encoding has the FourCC of FMP4.

Container formats


Open standards
SFTP (via libssh)
Microsoft MMS over TCP and MMS over HTTP
RealMedia RTSP/RDT

Legal aspects

FFmpeg contains more than 100 codecs,[42] most of which do not just store uncompressed data. Most codecs that compress information could be claimed by patent holders.[43] Such claims may be enforceable in countries like the United States which have implemented software patents, but are considered unenforceable or void in countries that have not implemented software patents like in the European Union.

FFmtech Foundation

In June 2011 an election was organized to establish the board of FFmtech foundation,[44] a non-profit organization dedicated for managing donation funds. It was designed to offer reimbursement for expenses and work done to FFmpeg and Libav. However, according to FFmpeg developer Ronald Bultje the results have been doubtful.[45]

Projects using FFmpeg

FFmpeg is used by software such as VLC media player, xine, HandBrake, Plex, Blender, YouTube,[46] and MPC-HC;[47] it handles video and audio playback in Google Chrome.[47] Graphical user interface front-ends for FFmpeg have been developed, including Avanti,[48] and XMedia Recode. JavaCV, a Java wrapper for OpenCV, includes a supplementary Java wrapper for FFmpeg.[49]

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

See also


  1. ^ "Initial revision -". 2000-12-20. Retrieved 2013-05-11. 
  2. ^ "Download FFmpeg". 2015-09-09. Retrieved 2015-09-10. 
  3. ^ "Developer Documentation". 2011-12-08. Retrieved 2012-01-04. 
  4. ^ "Download". FFmpeg. Retrieved 2012-01-04. 
  5. ^ FFmpeg can be configured to make it proprietary and unredistributable software because libfaac and libaacplus, two optional external libraries, are proprietary software and cannot be distributed under the terms of the GPL.
  6. ^ "FFmpeg Automated Testing Environment". Retrieved 2012-01-04. 
  7. ^  
  8. ^ Steve Carlsen (1992-06-03). "TIFF 6.0 specification" (PS).  
  9. ^ a b Niedermayer, Michael. "[FFmpeg-devel] FFmpegs future and resigning as leader". Retrieved 2015-09-22. 
  10. ^ "". Retrieved 2015-04-27. 
  11. ^ a b "NUT". Multimedia Wiki. 2012. Retrieved 2014-01-03. 
  12. ^ Fiona Glaser (2010-07-23), Diary Of An x264 Developer: Announcing the world’s fastest VP8 decoder, retrieved 2012-01-04 
  13. ^ FFmpeg Announces High-Performance VP8 Decoder, Slashdot, 2010-07-24, retrieved 2012-01-04 
  14. ^ "FFmpeg Goes WebM, Enabling VP8 for Boxee & Co". 2010-06-17. Retrieved 2012-01-04. ...with  
  15. ^ Kyle Schwarz. "Zeranoe FFmpeg". Retrieved 2015-04-11. 
  16. ^ a b "Native VP9 decoder is now in the Git master branch".  
  17. ^ a b "FFmpeg Now Features Native HEVC/H.265 Decoder Support".  
  18. ^ FFmpeg and a thousand fixes; January 10, 2014; Google.
  19. ^ Michael Niedermayer, Timothy Gu (2014-12-05). """RELEASE NOTES for FFmpeg 2.5 "Bohr.  
  20. ^ Libav project site, retrieved 2012-01-04 
  21. ^ Ronald S. Bultje (2011-03-14), Project renamed to Libav, retrieved 2012-01-04 
  22. ^ A group of FFmpeg developers just forked as Libav, Phoronix, 2011-03-14, retrieved 2012-01-04 
  23. ^ What happened to FFmpeg, 2011-03-30, retrieved 2012-05-19 
  24. ^ FFMpeg turmoil, 2011-01-19, retrieved 2012-01-04 
  25. ^ "The FFmpeg/Libav situation". Retrieved 2015-09-22. 
  26. ^ transition: Libav 0.7, 2011-05-01, retrieved 2012-01-04 
  27. ^ Ubuntu Release Management: Transition: "libav", retrieved 2012-01-04 
  28. ^ FFmpeg project site, 2013-11-12, retrieved 2013-12-31 
  29. ^ #729203 - RFP: ffmpeg -- complete, cross-platform solution to record, convert and stream audio and video - Debian Bug report logs, 2013-11-10, retrieved 2013-12-31 
  30. ^ "Why Debian returned to FFmpeg []". Retrieved 2015-09-22. 
  31. ^ a b c d e f "Changelog". FFmpeg trunk SVN. FFmpeg. 17 April 2007. Retrieved 26 April 2007. 
  32. ^ "ATRAC3plus decoder - Git - ffmpeg.git/commit". 2013-12-28. Retrieved 2013-12-28. 
  33. ^ a b "FFmpeg development mailing list". FFmpeg development. FFmpeg. 7 May 2007. Retrieved 24 December 2010. 
  34. ^ vitor (13 April 2008). "FFmpeg development mailing list". FFmpeg development. FFmpeg website. Retrieved 14 April 2008. 
  35. ^ vitor (30 March 2008). "FFmpeg development mailing list". FFmpeg development. FFmpeg website. Retrieved 30 March 2008. 
  36. ^ benoit (14 April 2008). "FFmpeg development mailing list". FFmpeg development. FFmpeg website. Retrieved 14 April 2008. 
  37. ^ ramiro (18 March 2008). "FFmpeg development mailing list". FFmpeg development. FFmpeg website. Retrieved 18 March 2008. 
  38. ^ banan (8 June 2008). "FFmpeg development mailing list". FFmpeg development. FFmpeg website. Retrieved 8 June 2008. 
  39. ^ faust3 (21 March 2008). "FFmpeg development mailing list". FFmpeg development. FFmpeg website. Retrieved 21 March 2008. 
  40. ^ van Kesteren, Anne (2010-09-01). "Internet Drafts are not Open Standards".  
  41. ^ "Codecs list". Retrieved 2012-01-01. 
  42. ^ "Legal information on FFmpeg's website". Retrieved 2012-01-04. 
  43. ^ "[Ffmtech-board-election] FFmtech board elections". June 8, 2011. Retrieved 14 August 2015. 
  44. ^ "[Ffmpeg-devel-irc] ffmpeg-devel.log.20150814". August 14, 2015. Retrieved 15 August 2014. 
  45. ^ "Google’s YouTube Uses FFmpeg | Breaking Eggs And Making Omelettes". 2011-02-08. Retrieved 2012-08-06. 
  46. ^ a b "FFmpeg-based Projects". Retrieved 2012-01-04. 
  47. ^ "Avanti: FFmpeg/Avisynth GUI". Retrieved 2011-08-17. 
  48. ^ "JavaCV".  

External links

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Hawaii eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.