请输入您要查询的百科知识:

 

词条 FFmpeg
释义

  1. History

      Codec history  

  2. Components

      Command line tools    Libraries  

  3. Supported hardware

      CPUs    Special purpose hardware    Use with the FFmpeg Utility  

  4. Supported codecs and formats

      Image formats    Supported formats    Muxers    Pixel formats  

  5. Supported protocols

      Open standards    De facto standards    Open-source    Proprietary  

  6. Supported filters

      Audio    Video  

  7. Legal aspects

  8. FFmtech Foundation

  9. Projects using FFmpeg

  10. Forks

      Libav  

  11. See also

  12. References

  13. External links

{{Infobox software
| logo =
| screenshot = FFMpeg libwebp.png
| caption = FFmpeg running on Arch Linux
| author = Fabrice Bellard
| developer = FFmpeg team
| released = {{Start date and age|2000|12|20}}[1]
| repo = {{URL|https://git.ffmpeg.org/ffmpeg.git}}
| programming language = C and Assembly[2]
| operating system = Windows, macOS, and Linux; may be compiled for other OSes.[3]
| platform = x86, ARM, PowerPC, MIPS, DEC Alpha, Blackfin, AVR32, SH-4, and SPARC; may be compiled for other desktop computers
| status = Active
| genre = Multimedia framework
| license = LGPL 2.1+, GPL 2+
Unredistributable if compiled with NVIDIA Performance Primitives[4]
| website = {{URL|https://ffmpeg.org}}
}}FFmpeg is a free software project consisting of a vast software suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the FFmpeg program itself, designed for command-line-based processing of video and audio files, and widely used for format transcoding, basic editing (trimming and concatenation), video scaling, video post-production effects, and standards compliance (SMPTE, ITU). FFmpeg includes libavcodec, an audio/video codec library used by many commercial and free software products, libavformat (Lavf),[5] an audio/video container mux and demux library, and the core ffmpeg command line program for transcoding multimedia files. FFmpeg is published under the GNU Lesser General Public License 2.1+ or GNU General Public License 2+ (depending on which options are enabled).[6]

The name of the project is inspired by the MPEG video standards group, together with "FF" for "fast forward".[7] The logo uses a zigzag pattern that shows how MPEG video codecs handle entropy encoding.[8]

FFmpeg is part of the workflow of hundreds of other software projects, and its libraries are a core part of software media players such as VLC, and has been included in core processing for YouTube and the iTunes inventory of files. Codecs for the encoding and/or decoding of most of all known audio and video file formats is included, making it highly useful for the transcoding of common and uncommon media files into a single common format.

History

The project was started by Fabrice Bellard[6] (using the pseudonym "Gérard Lantau") in 2000, and was led by Michael Niedermayer from 2004 until 2015.[9] Some FFmpeg developers were also part of the MPlayer project.

On January 10, 2014, two Google employees announced that over 1000 bugs had been fixed in FFmpeg during the previous two years by means of fuzz testing.[10]

In January 2018, the ffserver command-line program – a long-time component of FFmpeg – was removed.[11] The developers had previously deprecated the program citing high maintenance efforts due to its use of internal application programming interfaces (API).[12]

The project publishes a new release every three months on average. While release versions are available from the website for download, FFmpeg developers recommend that users compile the software from source using the latest build from their source code Git version control system.[13]

Codec history

Two video coding formats with corresponding codecs and one container format have been created within the FFmpeg project so far. The two video codecs are the lossless FFV1, and the lossless and lossy Snow codec. Development of Snow has stalled, while its bit-stream format has not been finalized yet, making it experimental since 2011. The multimedia container format called NUT is no longer being actively developed, but still maintained.[14]

In summer 2010, Fiona Glaser, Ronald Bultje, and David Conrad of the FFmpeg Team announced the ffvp8 decoder. Through testing, they determined that ffvp8 was faster than Google's own libvpx decoder.[15][16] Starting with version 0.6, FFmpeg also supported WebM and VP8.[17]

In October 2013, a native VP9[18] and the OpenHEVC decoder, an open source High Efficiency Video Coding (HEVC) decoder, were added to FFmpeg.[19] In 2016 the native AAC encoder was considered stable, removing support for the two external AAC encoders from VisualOn and FAAC. FFmpeg 3.0 (nicknamed "Einstein" ) retained build support for the Fraunhofer FDK AAC encoder.[20]

Components

Command line tools

  • ffmpeg is a command-line tool that converts audio or video formats. It can also capture and encode in real-time from various hardware and software sources such as a TV capture card.
  • ffplay is a simple media player utilizing SDL and the FFmpeg libraries.
  • ffprobe is a command-line tool to display media information (text, CSV, XML, JSON), see also Mediainfo.

Libraries

  • libswresample is a library containing audio resampling routines.
  • libavresample is a library containing audio resampling routines from the Libav project, similar to libswresample from ffmpeg.
  • libavcodec is a library containing all of the native FFmpeg audio/video encoders and decoders. Most codecs were developed from scratch to ensure best performance and high code reusability.
  • libavformat (Lavf)[5] 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 includes hash functions (Adler-32, CRC, MD5, RIPEMD, SHA-1. SHA-2, MurmurHash3, HMAC MD-5, HMAC SHA-1 and HMAC SHA-2), ciphers (DES, RC4, AES, AES-CTR, TEA, XTEA, Blowfish, CAST-128, Twofish and Camellia), LZO decompressor and Base64 encoder/decoder.
  • libpostproc is a library containing older h263 based video postprocessing routines.
  • libswscale is a library containing video image scaling and colorspace/pixelformat conversion routines.
  • libavfilter is the substitute for vhook which allows the video/audio to be modified or examined between the decoder and the encoder. Filters have been ported from many projects including MPlayer and avisynth

Supported hardware

CPUs

FFmpeg encompasses software implementations of video and audio compressing and decompressing algorithms. These can be compiled and run on diverse instruction sets.

Many widespread instruction sets are supported by FFmpeg, including x86 (IA-32 and x86-64), PPC (PowerPC), ARM, DEC Alpha, SPARC, and MIPS.[21]

Special purpose hardware

Various application-specific integrated circuits (ASIC) related to video and audio compression and decompression do exist. Such ASIC can perform the computation for audio/video decompression or compression partly or fully to offload these from the host CPU. To make use of such ASIC, instead of a complete implementation of some algorithm, only the API is required. There are numerous ASICs and APIs available, of which several are supported by FFmpeg.[22]

Firm ASIC purpose supported by FFmpeg Details
AMD UVD decodingtext=✓}}via VDPAU API and VAAPI
VCE encodingtext=✓}}via VAAPI, considered experimental[23]
Amlogic Amlogic Video Engine decoding ?
BlackMagicDeckLinkencoding/decoding text=✓}} real-time ingest and playout
Broadcom Crystal HD decodingtext=✓}}
Intel Intel Clear Video decodingtext=✓}}
Intel Quick Sync Video encoding/decodingtext=✓}}
Nvidia PureVideo / NVDEC decodingtext=✓}} via the VDPAU API as of FFmpeg v1.2 (deprecated)
via CUVID API as of FFmpeg v3.1[24]
NVENC encodingtext=✓}} as of FFmpeg v2.6

Use with the FFmpeg Utility

Internal hardware acceleration decoding is enabled through the -hwaccel option. It starts decoding normally, but if a decodable stream is detected in hardware, then the decoder designates all significant processing to that hardware, thus accelerating the decoding process. Whereas if no decodable streams are detected (as happens on an unsupported codec or profile), hardware acceleration will be skipped and it will still be decoded in software. -hwaccel_device option is applied when the hardware requires a particular device to function especially there are several graphic cards are available.

Supported codecs and formats

Image formats

FFmpeg supports many common and some uncommon image formats.

The {{anchor|PGMYUV}} PGMYUV image format is a homebrewn variant of the binary (P5) PGM Netpbm format. FFmpeg also supports 16-bit depths of the PGM and PPM formats, and the binary (P7) PAM format with or without alpha channel, depth 8 bit or 16 bit for pix_fmts monob, gray, gray16be, rgb24, rgb48be, ya8, rgba, rgb64be.

Supported formats

{{Further|libavcodec}}

In addition to FFV1 and Snow formats, which were created and developed from within FFmpeg, the project also supports the following formats:

Group Format type Format name
ISO/IEC/ITU-T Video MPEG-1 Part 2, H.261 (Px64),[27] H.262/MPEG-2 Part 2, H.263,[27] MPEG-4 Part 2, H.264/MPEG-4 AVC, HEVC/H.265[19] (MPEG-H Part 2), Motion JPEG, IEC DV video and CD+G
Audio MP1, MP2, MP3, AAC, HE-AAC, MPEG-4 ALS, G.711 µ-law, G.711 A-law, G.721 (a.k.a. G.726 32k), G.722, G.722.2 (a.k.a. AMR-WB), G.723 (a.k.a. G.726 24k and 40k), G.723.1, G.726, G.729, G.729D, IEC DV audio and Direct Stream Transfer
Subtitle MPEG-4 Timed Text (a.k.a. 3GPP Timed Text)
Image JPEG, Lossless JPEG, JPEG-LS, JPEG 2000, PNG, CCITT G3 and CCITT G4
Alliance for Open MediaVideoAV1[25]
EIA Subtitle EIA-608
CEA Subtitle CEA-708
SMPTE Video SMPTE 314M (a.k.a. DVCAM and DVCPRO), SMPTE 370M (a.k.a. DVCPRO HD), VC-1 (a.k.a. WMV3), VC-2 (a.k.a. Dirac Pro), VC-3 (a.k.a. AVID DNxHD)
Audio SMPTE 302M
Image DPX
ATSC/ETSI/DVB Audio Full Rate (GSM 06.10), AC-3 (Dolby Digital), Enhanced AC-3 (Dolby Digital Plus) and DTS Coherent Acoustics (a.k.a. DTS or DCA)
Subtitle DVB Subtitling (ETSI 300 743)
DVD Forum/Dolby Audio MLP / Dolby TrueHD
Subtitle DVD-Video subtitles
DTS, Inc/QDesign Audio DTS Coherent Acoustics (a.k.a. DTS or DCA), DTS Extended Surround (a.k.a. DTS-ES), DTS 96/24, DTS-HD High Resolution Audio, DTS Express (a.k.a. DTS-HD LBR), DTS-HD Master Audio, QDesign Music Codec 1 and 2
Blu-ray Disc Association Subtitle PGS (Presentation Graphics Stream)
3GPP Audio AMR-NB, AMR-WB (a.k.a. G.722.2)
3GPP2 Audio QCELP-8 (a.k.a. SmartRate or IS-96C), QCELP-13 (a.k.a. PureVoice or IS-733) and Enhanced Variable Rate Codec (EVRC. a.k.a. IS-127)
World Wide Web Consortium Video Animated GIF
Subtitle WebVTT
Image GIF
IETF Audio iLBC (via libilbc), Opus and Comfort noise
International Voice Association Audio DSS-SP
SAC Video AVS video
Microsoft Video Microsoft RLE, Microsoft Video 1, Cinepak, Indeo (v2, v3 and v5),[27] Microsoft MPEG-4 v1, v2 and v3, Windows Media Video (WMV1, WMV2, WMV3/VC-1), WMV Screen and Mimic codec
Audio Windows Media Audio (WMA1, WMA2, WMA Pro and WMA Lossless), XMA (XMA1 and XMA2), MS-GSM and MS-ADPCM
Subtitle SAMI
Image Windows Bitmap, WMV Image (WMV9 Image and WMV9 Image v2) and DirectDraw Surface
Interactive Multimedia Association Audio IMA ADPCM
Digital Video Interactive Video RTV 2.1 (Intel Indeo 2)
Audio DVI4 audio codec
RealNetworks Video RealVideo Fractal Codec (a.k.a. Iterated Systems ClearVideo), 1, 2, 3 and 4
Audio RealAudio v1 – v10
Subtitle RealText
Apple Video Cinepak (Apple Compact Video), ProRes, Sorenson 3 Codec, QuickTime Animation (Apple Animation), QuickTime Graphics (Apple Graphics), Apple Video, Apple Intermediate Codec and Pixlet
Audio ALAC
Adobe Flash Player (SWF) Video Screen video, Screen video 2, Sorenson Spark and VP6
Audio Adobe SWF ADPCM and Nellymoser Asao
Aldus / Adobe Image TIFF and PSD
Xiph.Org Video Theora
Audio Speex (via libspeex), Vorbis, Opus and FLAC
Subtitle Ogg Writ
Sony Audio Adaptive Transform Acoustic Coding (ATRAC1, ATRAC3, ATRAC3Plus and ATRAC9)[26][27] and PSX ADPCM
NTT Audio TwinVQ
On2 / GIPS / Google Video Duck TrueMotion 1, Duck TrueMotion 2, Duck TrueMotion 2.0 Real Time, VP3, VP5,[26] VP6,[26] VP7, VP8, VP9[18] and animated WebP
Audio DK ADPCM Audio 3/4, On2 AVC and iLBC (via libilbc)
Image WebP
RAD Game Tools Video Smacker video and Bink video
DSP Group Audio Truespeech
RenderWare Video TXD[28]
Netpbm Image PBM, PGM, PPM, PNM and PAM
MIT/X Consortium/The Open Group Image XBM, XPM and xwd
Silicon Graphics Video Silicon Graphics RLE 8-bit video, Silicon Graphics MVC1/2
Image Silicon Graphics Image
Oracle/Sun Microsystems Image Sun Raster
IBM Video IBM UltiMotion
Avid Technology / Truevision Video Avid 1:1x, Avid Meridien, Avid DNxHD and DNxHR
Image Targa
Autodesk / Alias Video Autodesk Animator Studio Codec and FLIC
Image Alias PIX
Grass Valley / Canopus Video HQ, HQA, HQX and Lossless
NewTek Video SpeedHQ
Industrial Light & Magic / Lucasfilm Image OpenEXR
Mozilla Corporation Video APNG
Matrox Video Matrox Uncompressed SD (M101) / HD (M102)
AMD/ATI Video ATI VCR1/VCR2
Asus Video ASUS V1/V2 codec
Spruce Technologies Subtitle Spruce subtitle (STL)

Muxers

Output formats (container formats and other ways of creating output streams) in FFmpeg are called "muxers". FFmpeg supports, among others, the following:

  • AIFF
  • ASF
  • AVI and also input from AviSynth
  • BFI[29]
  • CAF
  • FLV
  • GIF
  • GXF, General eXchange Format, SMPTE 360M
  • HLS, HTTP Live Streaming
  • IFF[30]
  • ISO base media file format (including QuickTime, 3GP and MP4)
  • Matroska (including WebM)
  • Maxis XA[31]
  • MPEG-DASH[32]
  • MPEG program stream
  • MPEG transport stream (including AVCHD)
  • MXF, Material eXchange Format, SMPTE 377M
  • MSN Webcam stream[33]
  • {{anchor|NUT}}NUT[14]
  • Ogg
  • OMA[34]
  • RL2[35]
  • Segment, for creating segmented video streams
  • Smooth Streaming
  • TXD[28]
  • WTV

Pixel formats

FFmpeg supports many pixel formats.[36] Some of these formats are only supported as input formats. The command ffmpeg -pix_fmts provides a list of supported pixel formats.

TypeColorPackedPlanar Palette
Without alpha With alpha Without alpha With alpha Chroma-interleaved With alpha
Monochrome Binary (1-bit monochrome) monoblack, monowhite}} - - - - -
Grayscale 8 / 9 / 10 / 12 / 14 / 16bpp}} - - 16 / 32bpp}} - -
RGB RGB 1:2:1 (4-bit color) 4bpp}} - - - - -
RGB 3:3:2 (8-bit color) 8bpp}} - - - - -
RGB 5:5:5 (High color) 16bpp}} - - - - -
RGB 5:6:5 (High color) 16bpp}} - - - - -
RGB/BGR 24 / 48bpp}}32[37] / 64bpp}} - - - 8bit->32bpp}}
GBR[38] - - 8 / 9 / 10 / 12 / 14 / 16bpc}}8 / 10 / 12 / 16bpc}} - -
RGB Float GBR - - 32bpc}}32bpc}} - -
YUV YVU 4:1:0 - - (9bpp (YVU9))[39]}} - - -
YUV 4:1:0 - - 9bpp}} - - -
YUV 4:1:1 8bpc (UYYVYY)}} - 8bpc}} - (8bpc (NV11))}} -
YVU 4:2:0 - - (8bpc (YV12))[39]}} - 8 (NV21)}} -
YUV 4:2:0 - - 8[40] / 9 / 10 / 12 / 14 / 16bpc}}8 / 9 / 10 / 16bpc}}8 (NV12) / 10 (P010) / 16bpc (P016)}} -
YVU 4:2:2 - - (8bpc (YV16))[39]}} - (8bpc (NV61))}} -
YUV 4:2:2 8bpc (YUYV[41] and UYVY)[42]}} - 8[43] / 9 / 10 / 12 / 14 / 16bpc}}8 / 9 / 10 / 12 / 16bpc}}8 (NV16) / 10bpc (NV20 a.k.a. P210)[44]}} -
YUV 4:4:0 - - 8 / 10 / 12bpc}} - - -
YVU 4:4:4 - - (8bpc (YV24))[39]}} - (8bpc (NV42))}} -
YUV 4:4:4 (10 (Y410) and 16bpc (Y416))}}16bpc[45]}}8[46] / 9 / 10 / 12 / 14 / 16bpc}}8 / 9 / 10 / 12 / 16bpc}}(8bpc (NV24))}} -
XYZ XYZ 4:4:4[47] 12bpc}} - - - - -
Bayer BGGR/RGGB/GBRG/GRBG 8 / 16bpp}} - - - - -
1. ^{{cite web |url=http://git.videolan.org/?p=ffmpeg.git;a=commit;h=9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78 |title=Initial revision - git.videolan.org/ffmpeg.git/commit |publisher=git.videolan.org |date=2000-12-20 |access-date=2013-05-11 |deadurl=yes |archiveurl=https://web.archive.org/web/20131225083213/http://git.videolan.org/?p=ffmpeg.git%3Ba%3Dcommit%3Bh%3D9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78 |archivedate=2013-12-25 |df= }}
2. ^{{cite web |url=https://ffmpeg.org/developer.html |title=Developer Documentation |publisher=ffmpeg.org |date=2011-12-08 |access-date=2012-01-04}}
3. ^{{cite web |url=https://ffmpeg.org/download.html |title=Download |work=ffmpeg.org |publisher=FFmpeg |access-date=2012-01-04}}
4. ^FFmpeg can be configured to make it proprietary and unredistributable software, because NVIDIA Performance Primitives, an optional external library, is proprietary software and cannot be distributed under the terms of the GPL.
5. ^{{cite web|url=https://www.ffmpeg.org/doxygen/2.2/group__libavf.html|title=FFmpeg: Lavf: I/O and Muxing/Demuxing Library|author=|date=|work=ffmpeg.org|access-date=21 October 2016}}
6. ^{{cite web |url=https://www.ffmpeg.org/legal.html |title=FFmpeg License and Legal Considerations |publisher=ffmpeg.org |access-date=2012-01-04}}
7. ^{{cite web | title = FFmpeg naming and logo | url = https://ffmpeg.org/pipermail/ffmpeg-devel/2006-February/010315.html | first = Fabrice | last = Bellard | work = FFmpeg developer mailing list | authorlink=Fabrice Bellard | publisher = FFmpeg website | date = 18 February 2006 | access-date = 24 December 2011 }}
8. ^{{cite web|title=TIFF 6.0 specification|url=ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps|date=1992-06-03|format=PS|publisher=Aldus|archiveurl=http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf|deadurl=no|archivedate=2004|first=Steve|last=Carlsen|access-date=2016-08-14|page=98|quote=Zig-Zag Scan}}
9. ^{{Cite web|url = https://ffmpeg.org/pipermail/ffmpeg-devel/2015-July/176489.html|title = [FFmpeg-devel] FFmpegs future and resigning as leader|access-date = 2015-09-22|first = Michael|last = Niedermayer}}
10. ^{{cite web|url=https://security.googleblog.com/2014/01/ffmpeg-and-thousand-fixes.html|title=FFmpeg and a thousand fixes|author=|date=January 10, 2014 |work=googleblog.com|access-date=21 October 2016}}
11. ^{{Cite web|url=https://trac.ffmpeg.org/wiki/ffserver|title=ffserver – FFmpeg|website=trac.ffmpeg.org|access-date=2018-02-03}}
12. ^{{Cite web|url=https://ffmpeg.org/index.html#ffserv|title=ffserver program being dropped|last=|first=|date=2016-07-10|website=ffmpeg.org|language=en|archive-url=|archive-date=|dead-url=|access-date=2018-02-03}}
13. ^{{cite web|url=https://ffmpeg.org/download.html#releases|title=ffmpeg.org/download.html#releases|publisher=ffmpeg.org|access-date=2015-04-27}}
14. ^{{cite web|url=http://wiki.multimedia.cx/index.php?title=NUT|title=NUT|publisher=Multimedia Wiki|year=2012|access-date=2014-01-03}}
15. ^{{citation |url=http://x264dev.multimedia.cx/?p=499 |title=Diary Of An x264 Developer: Announcing the world’s fastest VP8 decoder |first=Fiona |last=Glaser |date=2010-07-23 |access-date=2012-01-04 |deadurl=yes |archiveurl=https://web.archive.org/web/20100930181634/http://x264dev.multimedia.cx/?p=499 |archivedate=2010-09-30 |df= }}
16. ^{{citation |url=http://news.slashdot.org/story/10/07/24/1227241/FFmpeg-Announces-High-Performance-VP8-Decoder |title=FFmpeg Announces High-Performance VP8 Decoder |publisher=Slashdot |date=2010-07-24 |access-date=2012-01-04}}
17. ^{{cite web |url=http://newteevee.com/2010/06/17/ffmpeg-goes-webm-enabling-vp8-for-boxee-co/ |title=FFmpeg Goes WebM, Enabling VP8 for Boxee & Co |publisher=newteevee.com |date=2010-06-17 |access-date=2012-01-04 |quote=...with VLC, Boxee, MythTV, Handbrake and MPlayer being some of the more popular projects utilizing FFmpeg...}}
18. ^{{cite news |title=Native VP9 decoder is now in the Git master branch |work=Launchpad |url=https://launchpad.net/ffmpeg/+announcement/12045 |date=2013-10-03 |access-date=2013-10-21}}
19. ^{{cite news |title=FFmpeg Now Features Native HEVC/H.265 Decoder Support |publisher=Softpedia |url=http://news.softpedia.com/news/Ffmpeg-Now-Features-Native-HEVC-H-265-Decoder-Support-391582.shtml |date=2013-10-16 |access-date=2013-10-16}}
20. ^{{cite web|url=https://ffmpeg.org/index.html#pr3.0|title=February 15th, 2016, FFmpeg 3.0 "Einstein"|date=2016-02-15|access-date=2016-04-02|author=FFmpeg|authorlink=FFmpeg}}
21. ^{{cite web |url=http://fate.multimedia.cx/ |title=FFmpeg Automated Testing Environment |publisher=Fate.multimedia.cx |date= |access-date=2012-01-04}}
22. ^{{cite web |url=https://trac.ffmpeg.org/wiki/HWAccelIntro |title=FFmpeg Hardware Acceleration |publisher=ffmpeg.org Wiki |date= |access-date=2016-11-12}}
23. ^{{Cite web|url=https://trac.ffmpeg.org/wiki/Hardware/VAAPI|title=Hardware/VAAPI – FFmpeg|website=trac.ffmpeg.org|access-date=2017-10-16}}
24. ^{{cite web |url=https://github.com/FFmpeg/FFmpeg/blob/master/Changelog |title=FFmpeg Changelog }}
25. ^{{Cite web|url=https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/43778a501f1bfbceeddc8eaeea2ea2b3506beeda|title=git.ffmpeg.org Git - ffmpeg.git/commit|website=git.ffmpeg.org|language=en-US|access-date=2018-04-23}}
26. ^{{cite web|url=http://svn.mplayerhq.hu/ffmpeg/trunk/Changelog?revision=8747&view=marku |title=Changelog |publisher=FFmpeg |work=FFmpeg trunk SVN |date=17 April 2007 |access-date=26 April 2007 }}{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}
27. ^{{cite web |url=http://git.videolan.org/?p=ffmpeg.git;a=commit;h=2e1fb96af36348479e14aa85f445915ea09e70fa |title=ATRAC3plus decoder - git.videolan.org Git - ffmpeg.git/commit |publisher=git.videolan.org |date=2013-12-28 |access-date=2013-12-28 |deadurl=yes |archiveurl=https://web.archive.org/web/20131230235231/http://git.videolan.org/?p=ffmpeg.git%3Ba%3Dcommit%3Bh%3D2e1fb96af36348479e14aa85f445915ea09e70fa |archivedate=2013-12-30 |df= }}
28. ^{{cite web|url=http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-May/028760.html |archive-url=https://archive.is/20070811203618/http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-May/028760.html |dead-url=yes |archive-date=11 August 2007 |title=FFmpeg development mailing list |publisher=FFmpeg |work=FFmpeg development |date=7 May 2007 |access-date=24 December 2010 }}
29. ^{{cite web|author=vitor |url=https://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-April/013231.html |title=FFmpeg development mailing list |publisher=FFmpeg website |work=FFmpeg development |date=13 April 2008 |access-date=14 April 2008 }}{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}
30. ^{{cite web|author=vitor |url=https://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-March/012963.html |title=FFmpeg development mailing list |publisher=FFmpeg website |work=FFmpeg development |date=30 March 2008 |access-date=30 March 2008 }}{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}
31. ^{{cite web|author=benoit |url=https://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-April/013245.html |title=FFmpeg development mailing list |publisher=FFmpeg website |work=FFmpeg development |date=14 April 2008 |access-date=14 April 2008 }}{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}
32. ^{{cite web|url=http://git.videolan.org/?p=ffmpeg.git;a=blob;f=RELEASE_NOTES;hb=release/2.5|title=RELEASE NOTES for FFmpeg 2.5 "Bohr"|date=2014-12-05|publisher=VideoLAN|author=Michael Niedermayer, Timothy Gu|access-date=2014-12-05|deadurl=yes|archiveurl=https://web.archive.org/web/20141208011850/http://git.videolan.org/?p=ffmpeg.git%3Ba%3Dblob%3Bf%3DRELEASE_NOTES%3Bhb%3Drelease%2F2.5|archivedate=2014-12-08|df=}}
33. ^{{cite web |author=ramiro |url=http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-March/012708.html |title=FFmpeg development mailing list |publisher=FFmpeg website |work=FFmpeg development |date=18 March 2008 |access-date=18 March 2008 |deadurl=yes |archiveurl=https://web.archive.org/web/20080817072304/http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-March/012708.html |archivedate=17 August 2008 |df= }}
34. ^{{cite web |author=banan |url=http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-June/014417.html |title=FFmpeg development mailing list |publisher=FFmpeg website |work=FFmpeg development |date=8 June 2008 |access-date=8 June 2008 |deadurl=yes |archiveurl=https://web.archive.org/web/20090114195646/http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-June/014417.html |archivedate=14 January 2009 |df= }}
35. ^{{cite web |author=faust3 |url=http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-March/012799.html |title=FFmpeg development mailing list |publisher=FFmpeg website |work=FFmpeg development |date=21 March 2008 |access-date=21 March 2008 |deadurl=yes |archiveurl=https://web.archive.org/web/20080425024126/http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2008-March/012799.html |archivedate=25 April 2008 |df= }}
36. ^{{cite web |url=https://ffmpeg.org/doxygen/trunk/pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5 |title=FFmpeg: libavutil/pixfmt.h File Reference - enum AVPixelFormat |publisher=FFmpeg Project |date=2015-11-17 |access-date=2015-11-18}}
37. ^RGBx (rgb0) and xBGR (0bgr) are also supported
38. ^used in YUV-centric codecs such like H.264
39. ^YVU9, YV12, YV16, and YV24 are supported as rawvideo codec in FFmpeg.
40. ^I420 a.k.a. YUV420P
41. ^aka YUY2 in Windows
42. ^Y210 (YUYV 10bpc) is not supported. UYVY 10bpc without a padding is supported as bitpacked codec in FFmpeg. UYVY 10bpc with 2-bits padding is supported as v210 codec in FFmpeg. 16bpc (Y216) is supported as targa_y216 codec in FFmpeg.
43. ^I422 a.k.a. YUV422P
44. ^16bpc (P216) is not supported
45. ^8bpc (AYUV) is not supported
46. ^I444 a.k.a. YUV444P
47. ^used in JPEG2000
48. ^{{cite web|url=http://annevankesteren.nl/2010/09/draft-vs-standard|title=Internet Drafts are not Open Standards|last=van Kesteren|first=Anne|date=2010-09-01|publisher=Self-published|work=annevankesteren.nl|access-date=2015-03-22}}
49. ^[https://tools.ietf.org/html/draft-ietf-mmusic-rfc2326bis-40 Real Time Streaming Protocol 2.0 (RTSP) draft-ietf-mmusic-rfc2326bis-40] P.231
50. ^{{cite web|url=http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b2e9636c57b22582143467a8a06b509b47b92f9|title= rtsp: Support tls-encapsulated RTSP - git.videolan.org Git - ffmpeg.git/commit|author=|date=|work=videolan.org|access-date=21 October 2016}}
51. ^{{cite web |url=https://ffmpeg.org/ffmpeg-filters.html |title=FFmpeg Filters |publisher=ffmpeg.org |access-date=2017-03-27}}
52. ^[https://web.archive.org/web/20080928130012/http://www.geocities.com/beinges/works.htm How it works] earwax.ca
53. ^{{cite web |url=https://ffmpeg.org/general.html#Supported-File-Formats_002c-Codecs-or-Features |title=Codecs list |publisher=ffmpeg.org |access-date=2012-01-01}}
54. ^{{cite web |url=https://ffmpeg.org/legal.html |title=Legal information on FFmpeg's website |publisher=ffmpeg.org |access-date=2012-01-04}}
55. ^{{cite web|url=https://ffmpeg.org/pipermail/ffmtech-board-election/2011-June/000001.html|title=[Ffmtech-board-election] FFmtech board elections|date={{date|2011-06-08|mdy}}|access-date={{date|2015-08-14}}}}
56. ^{{cite web|url=https://ffmpeg.org/pipermail/ffmpeg-devel-irc/2015-August/003017.html|title=[Ffmpeg-devel-irc] ffmpeg-devel.log.20150814|date={{date|2015-08-14|mdy}}|access-date={{date|2014-08-15}}}}
57. ^{{cite web|url=https://multimedia.cx/eggs/googles-youtube-uses-ffmpeg/|title=Google’s YouTube Uses FFmpeg | Breaking Eggs And Making Omelettes|last=|first=|date=2011-02-08|website=|publisher=Multimedia.cx|archive-url=|archive-date=|dead-url=|access-date=2012-08-06}}
58. ^{{cite web|url=https://trac.ffmpeg.org/wiki/Projects|title=FFmpeg-based Projects|last=|first=|date=|website=|publisher=Ffmpeg.org|archive-url=|archive-date=|dead-url=|access-date=2012-01-04}}
59. ^{{cite web|url=https://www.phoronix.com/scan.php?page=news_item&px=Firefox-FFmpeg-Default |title=Firefox Enables FFmpeg Support By Default |publisher=Phoronix |date=2015-11-15 |access-date=2015-11-18}}
60. ^{{cite web|title=Avanti: FFmpeg/Avisynth GUI|url=http://avanti.arrozcru.com/ |access-date= 2011-08-17}}
61. ^{{cite web|url=https://github.com/bytedeco/javacv|publisher=GitHub|date=2015|title=JavaCV}}
62. ^{{citation |url=http://www.libav.org/ |title=Libav project site |access-date=2012-01-04}}
63. ^{{citation |url=http://article.gmane.org/gmane.comp.video.ffmpeg.devel/129579 |title=Project renamed to Libav |author=Ronald S. Bultje |date=2011-03-14 |access-date=2012-01-04}}
64. ^{{citation |url=https://www.phoronix.com/scan.php?page=news_item&px=OTIwNw |title=A group of FFmpeg developers just forked as Libav |publisher=Phoronix |date=2011-03-14 |access-date=2012-01-04}}
65. ^{{citation|last=|first=|title=What happened to FFmpeg|date=2011-03-30|url=https://codecs.multimedia.cx/2011/03/what-happened-to-ffmpeg/|volume=|pages=|access-date=2012-05-19}}
66. ^{{citation |url=https://lwn.net/Articles/423702/ |title=FFMpeg turmoil |date=2011-01-19 |access-date=2012-01-04}}
67. ^{{Cite web|title = The FFmpeg/Libav situation|url = http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html|website = blog.pkh.me|access-date = 2015-09-22}}

FFmpeg does not support IMC1-IMC4, AI44, CYMK, RGBE, Log RGB and other formats. It also does not yet support ARGB 1:5:5:5, 2:10:10:10, or other BMP bitfield formats that are not commonly used.

Supported protocols

Open standards

  • IETF RFCs
    • FTP
    • Gopher
    • HTTP
    • HTTPS
    • RTP
    • RTSP
    • SCTP
    • SDP
    • SRTP
    • TCP
    • TLS
    • UDP
    • UDP-Lite
  • IETF I-Ds:
    • HLS[48]
    • SFTP (via libssh)
  • Microsoft OSP
    • CIFS/SMB (via libsmbclient)
    • MMS over TCP (MS-MMSP) and MMS over HTTP (MS-WMSP)
  • Pro-MPEG Forum: {{Interlanguage link|Pro-MPEG|it|Pro-MPEG|lt=Pro-MPEG CoP #3 r2}}

De facto standards

  • RTSPS (RTSP over TLS)[49][50]

Open-source

  • Icecast protocol

Proprietary

  • Adobe RTMP, RTMPT, RTMPE, RTMPTE and RTMPS (can be compiled with the native support or using rtmpdumps librtmp library)
  • RealMedia RTSP/RDT

Supported filters

FFmpeg supports, among others, the following filters.[51]

Audio

{{Col-begin}}{{Col-2}}
  • Resampling (aresample)
  • Pass/Stop filters
    • Low-pass filter (lowpass)
    • High-pass filter (highpass)
    • All-pass filter (allpass)
    • Butterworth Band-pass filter (bandpass)
    • Butterworth Band-stop filter (bandreject)
  • Arbitrary Finite Impulse Response Filter (afir)
  • Arbitrary Infinite Impulse Response Filter (aiir)
  • Equalizer
    • Peak Equalizer (equalizer)
    • Butterworth/Chebyshev Type I/Type II Multiband Equalizer (anequalizer)
    • Low Shelving filter (bass)
    • High Shelving filter (treble)
    • FIR equalizer (firequalizer)
    • Biquad filter (biquad)
  • Remove/Add DC offset (dcshift)
  • Expression evaluation
    • Time domain expression evaluation (aeval)
    • Frequency domain expression evaluation (afftfilt)
  • Dynamics
    • Limiter (alimiter)
    • Compressor (acompressor)
    • Dynamic range expander ({{Not a typo |crystalizer}})
    • Side-chain Compressor (sidechaincompress)
    • Compander (compand)
    • Noise gate (agate)
    • Side-chain Noise gate(sidechaingate)
  • Distortion
    • Bitcrusher (acrusher)
  • Emphasis (aemphasis)
  • Amplify/Normalizer
    • Volume (volume)
    • Dynamic Audio Normalizer (dynaudnorm)
    • EBU R128 loudness normalizer (loudnorm)
  • Modulation
    • Sinusoidal Amplitude Modulation (tremolo)
    • Sinusoidal Phase Modulation (vibrato)
    • Phaser (aphaser)
    • Chorus (chorus)
    • Flanger (flanger)
    • Pulsator (apulsator)
  • Echo/Reverb
    • Echo (aecho)
{{Col-2}}
  • Routing/Panning
    • Stereo widening (stereowiden)
    • Increase channel differences (extrastereo)
    • M/S to L/R (stereotools)
    • Channel mapping (channelmap)
    • Channel splitting (channelsplit)
    • Channel panning (pan)
    • Channel merging (amerge)
    • Channel joining (join)
    • for Headphones
    • Stereo to Binaural (earwax, ported from SoX)[52]
    • Bauer Stereo to Binaural (bs2b, via libbs2b)
    • Crossfeed (crossfeed)
    • Multi-channel to Binaural (sofalizer, requires libnetcdf)
    • Delay
    • Delay (adelay)
    • Delay by distance (compensationdelay)
  • Fade
    • Fader (afade)
    • Crossfader (acrossfade)
  • Audio time-scale/pitch modification
    • Time stretching (atempo)
    • Time-stretching and Pitch-shifting (rubberband, via librubberband)
  • Editing
    • Trim (atrim)
    • Silence-padding (apad)
    • Silence remover (silenceremove)
  • Show frame/channel information
    • Show frame information (ashowinfo)
    • Show channel information (astats)
    • Show silence ranges (silencedetect)
    • Show audio volumes (volumedetect)
    • ReplayGain scanner (replaygain)
  • Modify frame/channel information
    • Set output format (aformat)
    • Set number of sample (asetnsamples)
    • Set sampling rate (asetrate)
  • Mixer (amix)
  • Synchronization (asyncts)
  • HDCD data decoder (hdcd)
  • Plugins
    • LADSPA (ladspa)
    • LV2 (lv2)
  • Do nothing ({{Not a typo |anull}})
{{Col-end}}

Video

{{Col-begin}}{{Col-2}}
  • Transformations
    • Cropping (crop, cropdetect)
    • Fading (fade)
    • Scaling (scale)
    • Padding (pad)
    • Rotation (rotate)
    • Transposition (transpose)
    • Others:
    • Lens correction (lenscorrection)
    • OpenCV filtering (ocv)
    • Perspective correction (perspective)
  • Temporal editing
    • Framerate (fps, framerate)
    • Looping (loop)
    • Trimming (trim)
  • Deinterlacing (bwdif, idet, kerndeint, nnedi, yadif, w3fdif)
  • Filtering
    • Blurring (boxblur, gblur, avgblur, sab, smartblur)
    • Convolution filters
    • Convolution (convolution)
    • Edge detection (edgedetect)
    • Sobel Filter (sobel)
    • Prewitt Filter (prewitt)
    • Unsharp masking (unsharp)
{{Col-2}}
  • Denoising (atadenoise, bitplanenoise, dctdnoiz, owdenoise, removegrain)
  • Logo removal (delogo, removelogo)
  • Subtitles (ASS, subtitles)
  • Alpha channel editing (alphaextract, alphamerge)
  • Keying (chromakey, colorkey, lumakey)
  • Frame detection
    • Black frame detection (blackdetect, blackframe)
    • Thumbnail selection (thumbnail)
  • Frame Blending (blend, tblend, overlay)
  • Video stabilization (vidstabdetect, vidstabtransform)
  • Color and Level adjustments
    • Balance and levels (colorbalance, colorlevels)
    • Channel mixing (colorchannelmixer)
    • Color space (colorspace)
    • Parametric adjustments (curves, eq)
  • Histograms and visualization
    • CIE Scope (ciescope)
    • Vectorscope (vectorscope)
    • Waveform_monitor (waveform)
    • Color_histogram (histogram)
  • Drawing
  • OCR
  • Quality measures
    • SSIM (ssim)
    • PSNR (psnr)
  • Lookup Tables
    • lut, lutrgb, lutyuv, lut2, lut3d, haldclut
{{Col-end}}

Legal aspects

FFmpeg contains more than 100 codecs,[53] most of which use compression techniques of one kind or another. Many such compression techniques may be subject to legal claims relating to software patents.[54] Such claims may be enforceable in countries like the United States which have implemented software patents, but are considered unenforceable or void in member countries of the European Union, for example.{{Citation needed|date=October 2017}}

FFmtech Foundation

In June 2011 an election was organized to establish the board of FFmtech foundation,[55] a non-profit organization dedicated for managing donation funds. It was designed to offer reimbursement for expenses and work done to FFmpeg and Libav. However, according to FFmpeg developer Ronald Bultje, the results have been doubtful.[56]

Projects using FFmpeg

{{main category|Software that uses FFmpeg}}

FFmpeg is used by software such as VLC media player, xine, Cinelerra-GG video editor, Plex, Kodi, Blender, YouTube,[57] and MPC-HC;[58] it handles video and audio playback in Google Chrome,[58] and Linux version of Firefox.[59] Graphical user interface front-ends for FFmpeg have been developed, including Avanti,[60] and XMedia Recode. JavaCV, a Java wrapper for OpenCV, includes a supplementary Java wrapper for FFmpeg.[61]

FFmpeg is used by ffdshow, LAV Filters, GStreamer FFmpeg plug-in, Perian and OpenMAX IL to expand the encoding and decoding capabilities of their respective multimedia platform.

Forks

Libav

{{Main|Libav}}

On March 13, 2011, a group of FFmpeg developers decided to fork the project under the name "Libav".[62][63][64] The event was related to an issue in project management, in which developers disagreed with the leadership of FFmpeg.[65][66][67]

See also

{{portal|Free and open-source software}}
  • MEncoder, a similar project
  • List of open-source codecs

References

External links

  • {{official website}}
{{Media player (application software)|free}}

12 : C libraries|Command-line software|Cross-platform free software|FFmpeg|Free codecs|Free computer libraries|Free music software|Free software programmed in C|Free video conversion software|Multimedia frameworks|Software that uses FFmpeg|Software written primarily in assembly language

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 20:10:53