Reference articles on history, science, culture and more
Encyclopedia

Libavcodec

Library of multimedia codecs

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

libavcodec is an integral part of many open-source multimedia applications and frameworks. The popular MPV, 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, while libavcodec does strive to achieve decoding that is bit-exact to their official format implementations, occasional bugs and missing features in such re-implementations can sometimes introduce playback compatibility problems for certain files.

01Implemented video codecs

libavcodec includes video decoders and/or encoders for the following formats, this list is not exhaustive:

02Implemented audio codecs

libavcodec includes decoders and encoders for the following formats:

04Libraries 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)

05Applications using libavcodec

Video players

Audio players

  • Audacious (Uses in audacious-plugins's ffaudio)
  • Rockbox (Includes only FLAC code)
  • XMMS2

Multimedia players

Video editors

Audio editors

Video converters

Video libraries

Optical disc authoring

Graphics libraries

3D graphics editors

VoIP

Multimedia streaming server

Multimedia frameworks

Computer vision libraries

Browser

Media center

Screen capture

  • xvidcap

Device utilities

  • BitPim, utilities for CDMA phones

CCTV

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

Games

Others

Watch videos about LibavcodecExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Libavcodec, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.