Libavcodec
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 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, 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:- Animated GIF
- Asus video format v1 and v2
- AVS
- AV1, using libaom
- CamStudio format
- CineForm
- Cinepak
- Creative YUV
- Dirac
- DNxHD
- FFV1
- Flash Screen Video v1 and v2
- H.261
- H.262/MPEG-2 Part 2
- H.263
- H.264/MPEG-4 AVC
- HEVC
- Huffyuv
- id Software RoQ Video
- Indeo
- Lagarith
- LOCO
- Mimic
- MJPEG
- MPEG-1
- MPEG-4 Part 2
- Apple ProRes
- QuickDraw
- QuickTime: Graphics, Video and Animation
- RealVideo RV10 and RV20
- RealVideo RV30 and RV40
- SheerVideo
- Smacker video
- Snow
- Sorenson Spark under the name FLV1
- SVQ1
- SVQ3
- Theora
- TrueMotion v1 and v2
- VC-1
- Sierra VMD Video
- VMware VMnc
- VP3
- VP5
- VP6
- VP7
- VP8
- VP9
- VQA
- WMV version 7 and 8
- WMV version 9
- Windows Media Video Image
- Windows Media Video Screen 1 and 2
- Wing Commander/Xan Video
Implemented audio codecs
- 8SVX
- AAC
- AC-3
- AMR
- AMR-WB
- Apple Lossless
- ATRAC1, ATRAC3, ATRAC3plus and ATRAC9
- Cook Codec
- DTS
- EA ADPCM
- E-AC-3
- EVRC
- FLAC
- G.711
- G.722
- G.723.1
- G.726
- G.729
- GSM 06.10
- Intel Music Coder and Indeo Audio Coder
- Meridian Lossless Packing / Dolby TrueHD
- Monkey's Audio
- MP1
- MP2
- MP3
- Nellymoser Asao Codec in Flash
- Opus
- QCELP
- QDM2
- RealAudio 1.0
- RealAudio 2.0
- Shorten
- Truespeech
- TTA
- TwinVQ
- Vorbis
- WavPack
- Windows Media Audio 1 and 2
- Windows Media Audio 9 Lossless
- Windows Media Audio 9 Professional
- Windows Media Audio Voice
Legal aspects
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.
Libraries that depend on libavcodec
- libavformat
- libgegl
- * libgimp
- libmpcodecs
- * libmpdemux
Applications using libavcodec
Video players
- FFplay
- MPlayer
- mpv
- MPC-HC
- VLC
- xine
Audio players
- Audacious
- Rockbox
- XMMS2
Multimedia players
- Gnash
- Moonlight
- swfdec
Video editors
- Avidemux
- Cinelerra
- Kdenlive
- Kino
Audio editors
- Audacity
- SoX
Video converters
- avconv
- FFmpeg
- HandBrake
- MEncoder
- SUPER
Video libraries
- GPAC
- Media Lovin' Toolkit
Optical disc authoring
- K3b
Graphic libraries
- GEGL
- ImageMagick
3D graphics editors
- Blender
VoIP
- Ekiga
- QuteCom
- Linphone
Multimedia Streaming Server
- FFserver
- VLC media player
Multimedia frameworks
- ffdshow
- LAV Filters
- GStreamer via the GStreamer FFmpeg plugin
- Perian
- Bellagio OpenMAX Integration Layer – open-source OpenMAX IL API implementation
Computer vision libraries
- OpenCV
Browser
- Google Chrome
Media Center
- MythTV
- Plex
- Kodi
Screen Capture
- xvidcap
Device utilities
- BitPim – utilities for CDMA phones
CCTV
- ZoneMinder – video camera security suite
- Motion – video camera security/monitoring program
Game
- Performous – music game including singing, band and dance.
- StepMania
- Ultrastar
- osu!
Others
- CorePlayer
- FreeJ
- Ingex Studio – used by BBC
- PulseAudio – includes only resamplers code