FFmpeg

From Wikipedia, the free encyclopedia

FFmpeg
Developed by FFmpeg team
Latest release 0.4.9-pre1 / 2004-07-10
Written in C
OS Cross-platform
Genre Multimedia framework
License GNU Lesser General Public License
Website http://www.ffmpeg.org/

FFmpeg is a computer program that can record, convert and stream digital audio and video in numerous formats.[1] FFmpeg is a command line tool that is composed of a collection of free software / open source libraries. It includes libavcodec, an audio/video codec library used by several other projects, and libavformat, an audio/video container mux and demux library. The name of the project comes from the MPEG video standards group, together with "FF" for "fast forward".[2]

The project was started by Fabrice Bellard (using the pseudonym “Gerard Lantau”), and is now maintained by Michael Niedermayer. Many FFmpeg developers are also part of the MPlayer project, and FFmpeg is hosted at the MPlayer project server.

FFmpeg is developed under Linux, but it can be compiled under most operating systems, including Apple Mac OS X, Microsoft Windows and AmigaOS. There are no releases. Instead, FFmpeg developers recommend using the latest Subversion snapshot as development attempts to maintain a stable trunk.[3] Released under the GNU Lesser General Public License or GNU General Public License (depending on which sub-libraries one would include), FFmpeg is free software.

There are two video codecs invented in the FFmpeg project during its development. They are the lossless FFV1 and the only nearly complete lossless or lossy working Snow codec based on wavelet transformations and a version of range encoding.

Contents

[edit] Design

Diagram showing different applications (VDR, Mplayer, Xine and VideoLAN) using FFmpeg
Diagram showing different applications (VDR, Mplayer, Xine and VideoLAN) using FFmpeg


[edit] Components

The project is made of several components:

  • ffmpeg is a command line tool to convert one video file format to another. It also supports grabbing and encoding in real time from a TV card.
  • ffserver is an HTTP (RTSP is being developed) multimedia streaming server for live broadcasts. Time shifting of live broadcast is also supported.
  • ffplay is a simple media player based on SDL and on the FFmpeg libraries.
  • libavcodec is a library containing all the FFmpeg audio/video encoders and decoders. Most codecs were developed from scratch to ensure best performance and high code reusability.
  • libavformat is a library containing demuxers and muxers for audio/video container formats.
  • libavutil is a helper library containing routines common to different parts of FFmpeg. This library include adler32, crc, md5, sha1, lzo decompressor, Base64 encoder/decoder, des encrypter/decrypter, rc4 encrypter/decrypter and aes encrypter/decrypter.
  • libpostproc is a library containing video postprocessing routines.
  • libswscale is a library containing video image scaling routines.
  • libavfilter is the substitute for vhook which allows the video to be modified or examined between the decoder and the encoder.

[edit] Codecs and formats supported

For more details on this topic, see libavcodec.

[edit] Codecs

Codecs with the origin in the project:

The FFmpeg developers have reverse-engineered and/or reimplemented, among others:

The default MPEG-4 codec used by FFmpeg for encoding has the FourCC of FMP4.

[edit] Formats

[edit] Legal status

FFmpeg's legal status varies by country. Some included codecs, (such as Sorenson 3), are 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. Furthermore, many of these codecs are only released under terms that forbid reverse engineering, even for purposes of interoperability. However, these terms of use are forbidden in certain countries. For example, some European Union nations have not implemented software patents and/or have laws expressly allowing reverse engineering for purposes of interoperability.[12] In any case, many Linux distributions do not include FFmpeg to avoid legal complications.[13]

[edit] See also

[edit] References

  1. ^ FFmpeg Documentation
  2. ^ Bellard, Fabrice (18 February 2006). FFmpeg naming and logo. FFmpeg developer mailing list. Mplayer website. Retrieved on 2007-03-29.
  3. ^ FFmpeg Download and SVN. FFmpeg website. Retrieved on 2008-03-22.
  4. ^ a b c d e f g banan (17 April 2007). Changelog. FFmpeg trunk SVN. FFmpeg website. Retrieved on 2007-04-26.
  5. ^ a b banan (7 May 2007). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2007-06-01.
  6. ^ vitor (2008-04-13). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-04-14.
  7. ^ vitor (2008-03-30). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-03-30.
  8. ^ faust3 (2008-03-21). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-03-21.
  9. ^ benoit (2008-04-14). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-04-14.
  10. ^ ramiro (2008-03-18). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-03-18.
  11. ^ banan (2008-06-08). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-06-08.
  12. ^ . Council Directive 91/250/EEC of 14 May 1991 on the legal protection of computer programs. 
  13. ^ Information about this on FFmpeg's website.

[edit] External links