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
Please help improve this section by expanding it. Further information might be found on the talk page or at requests for expansion. |
[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:
- ATRAC3[4]
- H.261,[4] H.263[4] and h.264/MPEG-4 AVC[4]
- Indeo 2 and 3[4]
- QDesign Music Codec 2, used by many QuickTime movies prior to QuickTime 7.
- Smacker video
- Sorenson 3 Codec used by many QuickTime movies
- Theora (together with Vorbis makes a base for the .ogg format)
- Truespeech
- TXD[5]
- VP5[4] and VP6[4]
- Vorbis
- Windows Media Audio
- Some Windows Media Video codecs, including WMV1, WMV2 and WMV3
The default MPEG-4 codec used by FFmpeg for encoding has the FourCC of FMP4.
[edit] Formats
- ASF
- AVI
- BFI[6]
- IFF[7]
- RL2[8]
- FLV
- Matroska
- Maxis XA[9]
- MSN Webcam stream[10]
- MPEG transport stream
- TXD[5]
- OMA[11]
[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
- MPlayer, the media player from which FFmpeg takes much of its source code
- MEncoder, similar to FFmpeg
- MediaCoder, a media transcoding application for Windows OSs, also related to MPlayer
- Open source codecs and containers
- ffdshow
[edit] References
- ^ FFmpeg Documentation
- ^ Bellard, Fabrice (18 February 2006). FFmpeg naming and logo. FFmpeg developer mailing list. Mplayer website. Retrieved on 2007-03-29.
- ^ FFmpeg Download and SVN. FFmpeg website. Retrieved on 2008-03-22.
- ^ a b c d e f g banan (17 April 2007). Changelog. FFmpeg trunk SVN. FFmpeg website. Retrieved on 2007-04-26.
- ^ a b banan (7 May 2007). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2007-06-01.
- ^ vitor (2008-04-13). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-04-14.
- ^ vitor (2008-03-30). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-03-30.
- ^ faust3 (2008-03-21). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-03-21.
- ^ benoit (2008-04-14). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-04-14.
- ^ ramiro (2008-03-18). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-03-18.
- ^ banan (2008-06-08). FFmpeg development mailing list. FFmpeg development. FFmpeg website. Retrieved on 2008-06-08.
- ^ . Council Directive 91/250/EEC of 14 May 1991 on the legal protection of computer programs.
- ^ Information about this on FFmpeg's website.
[edit] External links
- FFmpeg homepage
- list of supported formats
- FFmpeg Windows Build Help and Unofficial Prebuilt Binaries
- FFmpeg Windows releases
- FFmpeg Installation Tutorial
|