|Stable release||59.18.100 (included in FFmpeg 5.0) (January 17, 2022 ) [±]|
|Preview release||Git [±]|
|Operating system||Available for Windows, OS X, Linux but may be compiled for any other OS|
|Platform||Available for x86 but may be compiled for any desktop computer or supercomputer|
|License||GNU LGPL 2.1+ or GNU GPL 2+ or non-redistributable if compiled as such|
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.
Implemented video codecs
libavcodec includes video decoders and/or encoders for the following formats, this list is not exhaustive:
Implemented audio codecs
libavcodec includes decoders and encoders for the following formats:
Libavcodec contains more than 100 codecs, most of which do not just store uncompressed data. Most codecs that compress information could be claimed by patent holders. 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.
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
See also Comparison of video editing software
3D graphics editors
Multimedia streaming server
- ffdshow (wraps libavcodec as a DirectShow filter and adds postprocessing to improve image quality; once installed, it is automatically used by all Windows DirectShow video players, such as Windows Media Player, Media Player Classic, Winamp etc. It also wraps libavcodec as a Video for Windows filter; the framework used by most video editing software.)
- LAV Filters
- GStreamer via the GStreamer FFmpeg plugin
- Bellagio OpenMAX Integration Layer – open-source OpenMAX IL API implementation
Computer vision libraries
- BitPim – utilities for CDMA phones
- ZoneMinder – video camera security suite
- Motion – video camera security/monitoring program
- Performous – music game including singing, band and dance.
- Ingex Studio – used by BBC
- PulseAudio – includes only resamplers code
- ^ 
- ^ "Download". ffmpeg.org. FFmpeg. Archived from the original on 2013-09-27. Retrieved 2012-01-04.
- ^ libavcodec can be configured to make it a proprietary and non-redistributable library since some optional external libraries are proprietary software and cannot be distributed under the terms of the GPL (e.g. Decklink).
- ^ "Libav License and Legal Considerations". libav.org. Archived from the original on 2021-05-15. Retrieved 2013-05-07.
- ^ libavcodec – AfterDawn: Glossary of technology terms & acronyms, AfterDawn, 2010-07-02, archived from the original on 2010-02-14, retrieved 2012-01-17
- ^ a b General Documentation, Ffmpeg.org, archived from the original on 2019-07-17, retrieved 2021-05-05
- ^ "Codecs list". ffmpeg.org. Archived from the original on 2014-06-29. Retrieved 2012-01-01.
- ^ "Legal information on FFmpeg's website". ffmpeg.org. Archived from the original on 2010-09-18. Retrieved 2012-01-04.
- ^ Council Directive 91/250/EEC of 14 May 1991 on the legal protection of computer programs
- ^ Wieckowski, Adam; Lehmann, Christian; Bross, Benjamin; Marpe, Detlev; Biatek, Thibaud; Raulet, Mickael; Jean Le Feuvre (2021). "A Complete End to End Open Source Toolchain for the Versatile Video Coding (VVC) Standard". Proceedings of the 29th ACM International Conference on Multimedia. pp. 3795–3798. arXiv:2107.13385. doi:10.1145/3474085.3478320. ISBN 9781450386517. S2CID 236469263.
- ^ Gumster, Jason van (13 April 2009), Blender for Dummies, p. 320, ISBN 9780470471586, archived from the original on 2022-03-14, retrieved 2012-01-17
- ^ Bradski, Gary; Kaehler, Adrian (2008-09-24), Learning OpenCV: computer vision with the OpenCV library, p. 9, ISBN 9780596554040, archived from the original on 2021-08-27, retrieved 2012-01-17
- ^ whatwg MPEG-1 subset proposal for HTML5 video codec, Lists.whatwg.org, archived from the original on 2012-02-19, retrieved 2012-01-17
- ^ Russo, Barbara; Damiani, Ernesto; Hissam, Scott; Lundell, Björn; Succi, Giancarlo (17 July 2008), Open Source Development, Communities and Quality: IFIP 20th World Computer, p. 167, ISBN 9780387096834, archived from the original on 2021-08-29, retrieved 2012-01-17
- ^ pulseaudio.git/tree – src/pulsecore/ffmpeg/, Git.0pointer.de, archived from the original on 2012-07-13, retrieved 2012-01-17