Jump to content

libavcodec

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Bender the Bot (talk | contribs) at 11:45, 22 October 2016 (http→https for Google Books and Google News using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

libavcodec (FFmpeg)
Developer(s)FFmpeg team
Stable release60.31.102 (included in FFmpeg 6.1.1)[1] (December 31, 2023; 10 months ago (2023-12-31)) [±]
Preview releaseGit [±]
Repository
Written inC99
Operating systemAvailable for Windows, OS X, Debian, Red Hat Linux and Ubuntu but may be compiled for any other OS[2]
PlatformAvailable for x86 but may be compiled for any desktop computer or supercomputer
TypeMultimedia Library
LicenseGNU LGPL 2.1+ or GNU GPL 2+ or unredistributable if compiled as such[3]
Websiteffmpeg.org
libavcodec (Libav)
Developer(s)Libav team
Repository
Written inC99
Operating systemAvailable for Windows, Debian, Gentoo Linux, Ubuntu and OpenEmbedded but may be compiled for any other OS[4]
PlatformAvailable for x86 but may be compiled for any desktop computer or supercomputer
TypeMultimedia Library
LicenseGNU LGPL 2.1+ or GNU GPL 2+ or unredistributable if compiled as such[3]
Websitelibav.org

libavcodec is a free and open-source[5] library of codecs for encoding and decoding video and audio data.[6]

libavcodec is an integral part of many open-source multimedia applications and frameworks. The popular MPlayer, xine and VLC media players use it as their main, built-in decoding engine that enables playback of many audio and video formats on all supported platforms. It is also used by the ffdshow tryouts decoder as its primary decoding library. libavcodec is also used in video editing and transcoding applications like Avidemux, MEncoder or Kdenlive for both decoding and encoding.

libavcodec contains decoder and sometimes encoder implementations of several proprietary formats, including ones for which no public specification has been released. As such, a significant reverse engineering effort is part of libavcodec development. Having such codecs available within the standard libavcodec framework gives a number of benefits over using the original codecs, most notably increased portability, and in some cases also better performance, since libavcodec contains a standard library of highly optimized implementations of common building blocks, such as DCT and color space conversion. However, even though libavcodec strives for decoding that is bit-exact to the official implementation, bugs and missing features in such reimplementations can sometimes introduce compatibility problems playing back certain files.

Implemented video codecs

libavcodec includes video decoders and/or encoders for the following formats:[7]

Implemented audio codecs

libavcodec includes decoders and encoders for the following formats:[8]

Libavcodec contains more than 100 codecs,[9] most of which do not just store uncompressed data. Most codecs that compress information could be claimed by patent holders.[10] 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.

Furthermore, many of these codecs are only released under terms that forbid reverse engineering, even for purposes of interoperability. These terms of use are forbidden in certain countries. For example, some European Union nations have not implemented software patents and have laws expressly allowing reverse engineering for purposes of interoperability.[11]

Libraries that depend on libavcodec

  • libavformat (part of FFmpeg)
  • libgegl (optional part of GEGL)
    • libgimp (part of GIMP)
  • libmpcodecs (part of MPlayer)
    • libmpdemux (part of MPlayer)

Applications using libavcodec

Video players

Audio players

Multimedia players

Video editors

See also Comparison of video editing software

Audio editors

Video converters

Video libraries

Optical disc authoring

Graphic libraries

3D graphics editors

VoIP

Multimedia Streaming Server

Multimedia frameworks

Computer vision libraries

Browser

Media Center

Screen Capture

Device utilities

  • BitPim – utilities for CDMA phones

CCTV

  • ZoneMinder – video camera security suite
  • Motion – video camera security/monitoring program

Game

Others

References

  1. ^ [1]
  2. ^ "Download". ffmpeg.org. FFmpeg. Retrieved 2012-01-04.
  3. ^ a b libavcodec can be configured to make it a proprietary and unredistributable library since some optional external libraries are proprietary software and cannot be distributed under the terms of the GPL, for example libfaac.
  4. ^ "Getting Libav". libav.org. Retrieved 27 June 2013.
  5. ^ Libav License and Legal Considerations, libav.org, retrieved 2013-05-07
  6. ^ libavcodec – AfterDawn: Glossary of technology terms & acronyms, AfterDawn, 2010-07-02, retrieved 2012-01-17
  7. ^ General Documentation, Ffmpeg.org, retrieved 2012-01-17
  8. ^ General Documentation, Ffmpeg.org, retrieved 2012-01-17
  9. ^ "Codecs list". ffmpeg.org. Retrieved 2012-01-01.
  10. ^ "Legal information on FFmpeg's website". ffmpeg.org. Retrieved 2012-01-04.
  11. ^ Council Directive 91/250/EEC of 14 May 1991 on the legal protection of computer programs
  12. ^ Blender for Dummies, Books.google.com, p. 320, retrieved 2012-01-17
  13. ^ Learning OpenCV: computer vision with the OpenCV library, Books.google.com, 2008-09-24, p. 9, retrieved 2012-01-17
  14. ^ whatwg MPEG-1 subset proposal for HTML5 video codec, Lists.whatwg.org, retrieved 2012-01-17
  15. ^ Open Source Development, Communities and Quality: IFIP 20th World Computer, Books.google.com, p. 167, retrieved 2012-01-17
  16. ^ pulseaudio.git/tree – src/pulsecore/ffmpeg/, Git.0pointer.de, retrieved 2012-01-17