From Wikipedia, the free encyclopedia
Jump to: navigation, search
Libav Logo.svg
Avplay sintel snapshot.png
Screenshot of the movie Sintel being played using the avplay program from the Libav project.
Developer(s) Libav team
Initial release March 13, 2011 (2011-03-13)[1]
Stable release 11.2 (January 17, 2015; 5 months ago (2015-01-17)) [±]
Development status Active
Written in C[2]
Operating system Cross-platform[which?]
Platform Multi-platform[which?]
Type Multimedia framework
License GNU LGPL 2.1+

Libav is a free software project that produces libraries and programs for handling multimedia data. The Libav source code is published under the GNU Lesser General Public License 2.1+.[3]

Libav is developed for many operating systems, including GNU/Linux, the BSDs, OS X, Microsoft Windows, AmigaOS and its heir MorphOS. It supports most common instruction set architectures, including IA-32, x86-64, PowerPC, ARM, DEC Alpha, SPARC, and MIPS.[4]

The Libav logo uses a zigzag pattern that references how MPEG video codecs handle entropy encoding.[5] It was previously the logo of the FFmpeg project until LibAV was forked from it. Following the fork, in 2011 one of the LibAV developers Måns Rullgård claimed copyright over the logo and requested FFmpeg cease and desist from using it.[6] FFmpeg subsequently altered their logo.[7]


Fork from FFmpeg[edit]

The Libav project is a fork of the FFmpeg project[8] which was originally started by Fabrice Bellard[3] (using the pseudonym "Gerard Lantau"). The Libav project was announced on March 13, 2011 by a group of FFmpeg developers.[9][10][11] The event seems related to an issue in project management.[12][13]

Software using Libav instead of FFmpeg[edit]

The maintainer of the FFmpeg packages for Debian[14] and Ubuntu,[15] being one of the group of developers who forked FFmpeg, switched the packages to this fork. Hence, most software on these systems that depended on FFmpeg automatically switched to Libav.

Gentoo users are free to choose between FFmpeg and its fork libav by the way they install their "virtual" FFmpeg.[16] Arch Linux has a source port in AUR, which is its additional repository for packages provided by the community but not maintained by Arch developers.[17]

MPlayer2, a fork of MPlayer, uses Libav exclusively. GStreamer supports both through different plugins.

Legal aspects[edit]

Libav contains more than 100 codecs.[18] Many codecs that compress information have been claimed by patent holders.[19] 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.

Google Summer of Code participation[edit]

Libav participated in the Google Summer of Code program in 2011 and 2012.[dated info][20]

With participation in the Google Summer of Code, Libav has had many new features and improvements done for various components of Libav. These new features and improvements include implementing a WMVP/WVP2 decoder, hardware accelerated H.264 decoding on Android, and G.723.1 codec support.[20]

List of project's components[edit]

an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the avconv program for multimedia files

The command line-programs:

A video and audio converter that can also grab from a live audio/video source.
A streaming server for both audio and video.
A very simple and portable media player using the Libav libraries and the SDL library.
Gathers information from multimedia streams and prints it in human- and machine-readable fashion.

The libraries:

A library containing all the Libav audio/video encoders and decoders.
The substitute for vhook which allows the video/audio to be modified or examined between the decoder and the encoder.
A library containing demuxers and muxers for audio/video container formats.
A library containing audio resampling routines.
A helper library containing routines common to different parts of Libav.

This library includes adler32, crc, md5, sha1, lzo decompressor, Base64 encoder/decoder, des encrypter/decrypter, rc4 encrypter/decrypter and aes encrypter/decrypter.

A library containing video image scaling and colorspace/pixelformat conversion routines.

Contained codecs[edit]

Numerous free and open-source implementations of existing algorithms for the (usually lossy) compression and decompression of audio or video data, called codecs, are available. Please note that an algorithm can be subject to patent law in some jurisdictions. Here are lists of the ones contained in the libav library:

Video codecs[edit]

Libav includes video decoders and/or encoders for the following formats:[21]

Audio codecs[edit]

Libav includes decoders and encoders for the following formats:[26]

Supported file formats[edit]

Additionally to the aforementioned codecs, libav also supports several file formats (file formats designed to contain audio and/or video data and subtitles, are called "containers", but that is just a special denomiation.):

Supported protocols[edit]

Support for several communications protocols is also contained in libav. Here is a list:

  • IETF standards: TCP, UDP, Gopher, HTTP, RTP, RTSP and SDP
  • Apple related protocols: HTTP Live Streaming
  • RealMedia related protocols: RealMedia RTSP/RDT
  • Adobe related protocols: RTMP, RTMPT (via librtmp), RTMPE (via librtmp), RTMPTE (via librtmp) and RTMPS (via librtmp)
  • Microsoft related protocols: MMS over TCP and MMS over HTTP

Hardware acceleration[edit]

There is e.g. support for Broadcom CrystalHD ASIC available in FFmpeg and MPlayer.[34]

FFmpeg obtained support to use Nvidia NVENC in 2014.[35]

See also[edit]


  1. ^ "Libav Home/News Page". 2012-05-09. 
  2. ^ "Developer Documentation". 2011-12-08. Retrieved 2012-05-17. 
  3. ^ "FATE". Retrieved 2012-05-17. 
  4. ^ FFmpeg logo - FFMpeg mailing list, 20 Feb 2007
  5. ^ Legal Threat - 28 May 2011
  6. ^ FFmpeg License and Legal Considerations -, June 2011
  7. ^ "About Libav". Retrieved 2014-11-30. ... which convinced us to fork "properly" under the name Libav with its own website, mailing lists, IRC channel and repositories, thus completely separating from the old FFmpeg project 
  8. ^ "Libav project site". Retrieved 2012-01-04. 
  9. ^ Ronald S. Bultje (2011-03-14). "Project renamed to Libav". Retrieved 2012-01-04. 
  10. ^ "A group of FFmpeg developers just forked as Libav". Phoronix. 2011-03-14. Retrieved 2012-01-04. 
  11. ^ "What happened to FFmpeg". 2011-03-30. Retrieved 2012-05-19. 
  12. ^ "FFMpeg turmoil". 2011-01-19. Retrieved 2012-01-04. 
  13. ^ "transition: Libav 0.7". 2011-05-01. Retrieved 2012-01-04. 
  14. ^ "Ubuntu Release Management: Transition: "libav"". Retrieved 2012-01-04. 
  15. ^
  16. ^ "libav in AUR". Retrieved 2013-03-30. 
  17. ^ "Supported File Formats and Codecs". Retrieved 2014-05-04. 
  18. ^ "Libav License and Legal Considerations". Retrieved 2014-05-04. 
  19. ^ a b "FFmpeg/Libav Summer of Code". Retrieved 2012-05-19. 
  20. ^ "General Documentation". Retrieved 2012-05-19. 
  21. ^ a b c d e f g banan (17 April 2007). "Changelog". Retrieved 26 April 2007. 
  22. ^
  23. ^
  24. ^ a b ivo (7 May 2007). "FFmpeg development mailing list". Retrieved 24 December 2010. 
  25. ^ "General Documentation". Retrieved 2012-05-19. 
  26. ^ "#210 (24bit flac encoding) - FFmpeg". Retrieved 2012-02-03. 
  27. ^ vitor (13 April 2008). "FFmpeg development mailing list". Retrieved 14 April 2008. 
  28. ^ vitor (30 March 2008). "FFmpeg development mailing list". Retrieved 30 March 2008. 
  29. ^ faust3 (21 March 2008). "FFmpeg development mailing list". Retrieved 21 March 2008. 
  30. ^ benoit (14 April 2008). "FFmpeg development mailing list". Retrieved 14 April 2008. 
  31. ^ ramiro (18 March 2008). "FFmpeg development mailing list". Retrieved 18 March 2008. 
  32. ^ banan (8 June 2008). "FFmpeg development mailing list". Retrieved 8 June 2008. 
  33. ^ "Broadcom CrystalHD Decoder support for FFmpeg and MPlayer". 
  34. ^ "nvenc.c H.264 hardware encoding using nvidia nvenc". 
  35. ^ "Page showing Libav snapshot VLC uses". Retrieved 2012-05-24. 

External links[edit]