A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://en.wikipedia.org/wiki/Comparison_of_video_codecs below:

Comparison of video codecs - Wikipedia

From Wikipedia, the free encyclopedia

Α video codec is software or a device that provides encoding and decoding for digital video, and which may or may not include the use of video compression and/or decompression. Most codecs are typically implementations of video coding formats.

The compression may employ lossy data compression, so that quality-measurement issues become important. Shortly after the compact disc became widely available as a digital-format replacement for analog audio, it became feasible to also store and use video in digital form. A variety of technologies soon emerged to do so. The primary goal for most methods of compressing video is to produce video that most closely approximates the fidelity of the original source, while simultaneously delivering the smallest file-size possible. However, there are also several other factors that can be used as a basis for comparison.

Introduction to comparison[edit]

The following characteristics are compared in video codecs comparisons:

The quality the codec can achieve is heavily based on the compression format the codec uses. A codec is not a format, and there may be multiple codecs that implement the same compression specification – for example, MPEG-1 codecs typically do not achieve quality/size ratio comparable to codecs that implement the more modern H.264 specification. But quality/size ratio of output produced by different implementations of the same specification can also vary.

Each compression specification defines various mechanisms by which raw video (in essence, a sequence of full-resolution uncompressed digital images) can be reduced in size, from simple bit compression (like Lempel-Ziv-Welch) to psycho-visual and motion summarization, and how the output is stored as a bit stream. So long as the encoder component of the codec adheres to the specification, it can choose any combination of these methods to apply different parts of the content. The decoder component of a codec that also conforms to the specification recognizes each of the mechanisms used, and thus interprets the compressed stream to render it back into raw video for display (although this will not be identical to the raw video input unless the compression was lossless). Each encoder implements the specification according to its own algorithms and parameters, which means that the compressed output of different codecs will vary, resulting in variations in quality and efficiency between them.

Prior to comparing codec video-quality, it is important to understand that every codec can give a varying degree of quality for a given set of frames within a video sequence. Numerous factors play a role in this variability. First, all codecs have a bitrate control mechanism that is responsible for determining the bitrate and quality on a per-frame basis. A difference between variable bitrate (VBR) and constant bitrate (CBR) creates a trade-off between a consistent quality over all frames, on the one hand, and a more constant bitrate, which is required for some applications, on the other. Second, some codecs differentiate between different types of frames, such as key frames and non-key frames, differing in their importance to overall visual quality and the extent to which they can be compressed. Third, quality depends on prefiltrations, which are included on all present-day codecs. Other factors may also come into play.

For a sufficiently long clip, it is possible to select sequences that have suffered little from the compression, and sequences that have suffered heavily, especially if CBR has been used, whereby the quality between frames can vary highly due to different amounts of compression needed to achieve a constant bitrate. So, in a given long clip, such as a full-length movie, any two codecs may perform quite differently on a particular sequence from the clip, while the codecs may be approximately equal (or the situation reversed) in quality over a wider sequence of frames. Press-releases and amateur forums may sometimes select sequences known to favor a particular codec or style of rate-control in reviews.

Objective video quality[edit]

Objective video evaluation techniques are mathematical models that seek to predict human judgments of picture quality, as often exemplified by the results of subjective quality assessment experiments. They are based on criteria and metrics that can be measured objectively and automatically evaluated by a computer program. Objective methods are classified based on the availability of an original pristine video signal, which is considered to be of high quality (generally not compressed). Therefore, they can be classified as:

Subjective video quality[edit]

This is concerned with how video is perceived by a viewer, and designates their opinion on a particular video sequence. Subjective video quality tests are quite expensive with regard to time (preparation and running) and human resources.

There are many ways of showing video sequences to experts and recording their opinions. A few of them have been standardized, mainly in ITU-R Recommendation BT.500-13 and ITU-T Recommendation P.910.

The reason for measuring subjective video quality is the same as for measuring the mean opinion score for audio. Opinions of experts can be averaged and the average mark stated as, or accompanied by, a given confidence interval. Additional procedures can be used for averaging. For example, experts whose opinions are considered unstable (such as if their correlation with average opinion is found to be low) may have their opinions rejected.

In the case of video codecs, this is a very common situation. When codecs with similar objective results show results with different subjective results, the main reasons can be:

It is difficult to use long sequences for subjective testing. Commonly, three or four ten-second sequences are used, while full movies are used for objective metrics. Sequence selection is important – those sequences that are similar to the ones used by developers to tune their codecs are more competitive.

Performance comparison[edit]

Number of frames per second (FPS) commonly used for compression/decompression speed measurement.

The following issues should be considered when estimating probable codec performance differences:

So, for example, codec A (being optimized for memory usage – i.e., uses less memory) may, on modern computers (which are typically not memory-limited), give slower performance than codec B. Meanwhile, the same pair of codecs may give opposite results if running on an older computer with reduced memory (or cache) resources.

Modern standards define a wide range of features and require very substantial software or hardware efforts and resources for their implementation. Only selected profiles of a standard are typically supported in any particular product. (This is very common for H.264 implementations, for example.)

The H.264 standard includes the following seven sets of capabilities, which are referred to as profiles, targeting specific classes of applications:

The standard also contains four additional all-Intra profiles, which are defined as simple subsets of other corresponding profiles. These are mostly for professional (e.g., camera and editing system) applications:

Moreover, the standard now also contains three Scalable Video Coding profiles.

An accurate comparison of codecs must take the profile variations within each codec into account.

See also MPEG-2 Profiles and Levels.

Supported rate control strategies[edit]

Videocodecs' rate control strategies can be classified as:

Variable bitrate (VBR) is a strategy to maximize the visual video quality and minimize the bitrate. On fast-motion scenes, a variable bitrate uses more bits than it does on slow-motion scenes of similar duration, yet achieves a consistent visual quality. For real-time and non-buffered video streaming when the available bandwidth is fixed – e.g., in videoconferencing delivered on channels of fixed bandwidth – a constant bitrate (CBR) must be used.

CBR is commonly used for videoconferences, satellite and cable broadcasting. VBR is commonly used for video CD/DVD creation and video in programs.

Bit rate control is suited to video streaming. For offline storage and viewing, it is typically preferable to encode at constant quality (usually defined by quantization) rather than using bit rate control.[1][2]

Software characteristics[edit] General video codec information – creator/company, license/price, etc. Codec Creator/Maintainer First public release date Latest stable version License Patented compression formats Compression method Basic algorithm OpenCL support nVidia CUDA support Intel SSE Support Intel AVX support Intel Quick Sync Video support AOM Video 1 (AV1) Alliance for Open Media 2018-06-25 1.0.0 Errata 1 (2019)[3] 2-clause BSD Patented, but freely licensed Lossy / Lossless DCT Un­known Un­known Yes Yes Yes libtheora (Theora) Xiph.org 2002-09-25 1.1.1 (2009)[4] BSD-style[5] Patented, but freely licensed[*] Lossy DCT Un­known Un­known Yes No Un­known dirac-research (Dirac) BBC Research Department 2008-09-17 1.0.2 (2009)[6] MPL 1.1, GNU GPL 2, GNU LGPL 2.1 none Lossy / Lossless DWT Un­known Un­known Un­known No Un­known CineForm GoPro 2001 10.0.2 (2019)[7] Apache License 2.0, MIT License none Lossy DWT No No Yes No No Schrödinger (Dirac) David Schleef 2008-02-22 1.0.11 (2012)[6] MPL 1.1, GNU GPL 2, GNU LGPL 2, MIT License none Lossy / Lossless DWT Yes Yes Un­known Un­known Un­known x264 x264 team 2003 r3079 (2021)[8] GNU GPL MPEG-4 AVC/H.264 Lossy / Lossless DCT Yes No Yes Yes Yes x265 x265 team 2013 3.5 (2021)[9] GNU GPL HEVC/H.265 Lossy / Lossless DCT No No Yes Yes Yes Xvid Xvid team 2001 1.3.7 (2019)[10] GNU GPL MPEG-4 ASP Lossy DCT Un­known Un­known Un­known Un­known Un­known FFmpeg (libavcodec) FFmpeg team 2000 4.4.1 (2021)[11] GNU LGPL MPEG-1, MPEG-2, MPEG-4 ASP, H.261, H.263, VC-3, WMV7, WMV8, MJPEG, MS-MPEG-4v3, DV, Sorenson codec, etc. Lossy / Lossless DCT Yes Yes Yes Yes Yes FFavs (libavcodec) FFavs team 2009 0.0.3 (2009)[12] GNU LGPL MPEG-1, MPEG-2, MPEG-4 ASP, etc. Lossy / Lossless DCT Un­known Un­known Un­known Un­known Un­known OpenH264 Cisco Systems 2014-05 2.1.1 (2020)[13] 2-clause BSD MPEG-4 AVC/H.264 Lossy DCT No No Yes No No Blackbird Forbidden Technologies plc 2006-01 9 (2017)[14] Proprietary Blackbird Lossy Adaptive coding Un­known Un­known Un­known Un­known Un­known DivX DivX, Inc. 2001 DivX Software 11 (2024)[15] Proprietary MPEG-4 ASP, H.264 Lossy DCT Un­known Un­known Un­known Un­known Yes[16] DivX ;-) a hack of Microsoft's MPEG-4v3 codec[17][18] 1998 3.20 alpha[19] (2000) Proprietary Microsoft's MPEG-4v3 (not MPEG-4 compliant) Lossy DCT Un­known Un­known Un­known Un­known Un­known 3ivx 3ivx Technologies Pty. Ltd. 2001 5.0.5 (2012)[20] Proprietary MPEG-4 ASP Lossy DCT Un­known Un­known Un­known Un­known Un­known Nero Digital Nero AG 2003 1.5.4.0 (2010) Proprietary MPEG-4 ASP, H.264[21] Lossy DCT Un­known Un­known Un­known Un­known Un­known ProRes 422 / ProRes 4444 Apple Inc. 2007 Un­known Proprietary ProRes Lossy DCT Un­known Un­known Un­known Un­known Un­known Sorenson Video Sorenson Media 1998 Un­known Proprietary Sorenson Video Lossy DCT Un­known Un­known Un­known Un­known Un­known Sorenson Spark Sorenson Media 2002 Un­known Proprietary Sorenson Spark Lossy DCT Un­known Un­known Un­known Un­known Un­known VP3 On2 Technologies 2000 Un­known BSD-style[5] Patented, but freely licensed[*] Lossy DCT Un­known Un­known Un­known Un­known Un­known VP4 On2 Technologies 2001 Un­known Proprietary VP4 Lossy DCT Un­known Un­known Un­known Un­known Un­known VP5 On2 Technologies 2002 Un­known Proprietary VP5 Lossy DCT Un­known Un­known Un­known Un­known Un­known VP6 On2 Technologies 2003 Un­known Proprietary VP6 Lossy DCT Un­known Un­known Un­known Un­known Un­known VP7 On2 Technologies 2005 Un­known Proprietary VP7 Lossy DCT Un­known Un­known Un­known Un­known Un­known libvpx (VP8) On2 Technologies (now owned by Google) 2008 1.11.0 (2021)[22] BSD-style Patented, but freely licensed Lossy DCT Un­known Un­known Un­known Un­known Un­known libvpx (VP9) Google 2013 1.11.0 (2021)[22] BSD-style Patented, but freely licensed Lossy / Lossless DCT Yes, not in libvpx but in proprietary VP9 OpenCL codecs by Luxoft and Ittiam Un­known Un­known Un­known Un­known DNxHD Avid Technology 2004 Un­known Proprietary VC-3 Lossy DCT Un­known Un­known Un­known Un­known Un­known Cinema Craft Encoder SP2 Custom Technology Corporation 2000 1.00.01.09 (2009)[23] Proprietary MPEG-1, MPEG-2 Lossy DCT Un­known Un­known Un­known Un­known Un­known TMPGEnc Free Version Pegasys Inc. 2001 2.525.64.184 (2008)[24] Proprietary MPEG-1, MPEG-2 Lossy DCT Un­known Un­known Un­known Un­known Un­known Windows Media Encoder Microsoft 1999 9 (2003) (WMV3 in FourCC) Proprietary WMV, VC-1, (in early versions MPEG-4 Part 2 and not MPEG-4 compliant MPEG-4v3, MPEG-4v2) Lossy DCT Un­known Un­known Un­known Un­known Un­known Cinepak Created by SuperMac, Inc., acquired and patented by Radius, Inc.

Currently maintained by Compression Technologies, Inc.[25]

1991 1.10.0.26 (1999) Proprietary Cinepak Lossy VQ Un­known Un­known Un­known Un­known Un­known Indeo Video Intel Corporation, currently offered by Ligos Corporation 1992 5.11 Proprietary Indeo Video Lossy DCT Un­known Un­known Un­known Un­known Un­known TrueMotion S On2 Technologies 1995 Un­known Proprietary TrueMotion S Lossy Intra-frame coding Un­known Un­known Un­known Un­known Un­known RealVideo RealNetworks 1997 RealVideo 10[26] Proprietary H.263, RealVideo Lossy DCT Un­known Un­known Un­known Un­known Un­known Huffyuv Ben Rudiak-Gould 2000 2.1.1 (2003)[27] GNU GPL 2 none Lossless Huffman Un­known Un­known Un­known Un­known Un­known Lagarith Ben Greenwood 2004-10-04 1.3.27 (2011-12-08)[28] GNU GPL 2 none Lossless Huffman Un­known Un­known Un­known Un­known Un­known MainConcept MainConcept GmbH 1993 8.8.0 (2011) Proprietary MPEG-1, MPEG-2, H.264/AVC, H.263, VC-3, MPEG-4 Part 2, DV, MJPEG etc. Lossy DCT Yes[29] Yes[30][31] Un­known Un­known Yes[32] CellB Video Encoding Sun Microsystems 1992[33][34][35][36] [37] BSD-style none Lossy VQ Un­known Un­known Un­known Un­known Un­known Elecard Elecard 2008 G4 (2010)[38] Proprietary MPEG-1, MPEG-2, MPEG-4, AVC Lossy DCT No Yes[38] No Yes[38] Yes[38] Codec Creator/Maintainer First public release date Latest stable version License Patented compression formats Compression method Basic algorithm OpenCL support nVidia CUDA support Intel SSE Support Intel AVX support Intel Quick Sync Video support Native operating system support[edit]

Note that operating system support does not mean whether video encoded with the codec can be played back on the particular operating system – for example, video encoded with the DivX codec is playable on Unix-like systems using free MPEG-4 ASP decoders (FFmpeg MPEG-4 or Xvid), but the DivX codec (which is a software product) is only available for Windows and macOS.

Freely available codecs comparisons[edit]

List of freely available comparisons and their content description:

Name of comparison Type of comparison Date(s) of publication List of compared codecs Comments Series of Doom9 codec comparisons Series of subjective comparison of popular codecs Subjective comparison with convenient visualization Series of MSU annual video codecs comparisons Series of objective HEVC/AV1 codecs comparisons Detailed objective comparisons Series of MSU annual H.264 codecs comparisons Series of objective H.264 codecs comparisons with MPEG-4 ASP reference Detailed objective comparisons Series of Lossless Video Codecs Comparison Two size and time comparisons of lossless codecs (with lossless checking) in 2007 – more detailed report with new codecs including first standard H.264 (x264) MSU MPEG-4 codecs comparison Objective comparison of MPEG-4 codecs DivX 5.2.1, DivX 4.12, DivX 3.22, MS MPEG-4 3688 v3, XviD 1.0.3, 3ivx D4 4.5.1, OpenDivX 0.3 Different versions of DivX were also compared. The Xvid results may be erroneous, as deblocking was disabled for it while used for DivX. Subjective Comparison of Modern Video Codecs Scientifically accurate subjective comparison using 50 experts and SAMVIQ methodology DivX 6.0, Xvid 1.1.0, x264, WMV 9.0 (2 bitrates for every codec) PSNR via VQM via SSIM comparison was also done MPEG-2 Video Decoders Comparison Objective MPEG-2 Decoders comparison bitcontrol MPEG-2 Video Decoder, DScaler MPEG2 Video Decoder, Elecard MPEG-2 Video Decoder, ffdshow MPEG-4 Video Decoder (libavcodec), InterVideo Video Decoder, Ligos MPEG Video Decoder, MainConcept MPEG Video Decoder, Pinnacle MPEG-2 Decoder Objectly tested (100 times per stream) decoders "crash test" (test on damaged stream – like scratched DVD or satellite samples) Codecs comparison Personal subjective opinion 3ivx, Avid AVI 2.02, Cinepak, DivX 3.11, DivX 4.12, DivX 5.0.2, DV, Huffyuv, Indeo 3.2, Indeo 4.4, Indeo 5.10, Microsoft MPEG-4 v1, Microsoft MPEG-4 v2, Microsoft RLE, Microsoft Video 1, XviD, 3ivx, Animation, Blackmagic 10-bit, Blackmagic 8-bit, Cinepak, DV, H.261, H.263, Motion-JPEG, MPEG-4 Video, PNG, Sorenson Video, Sorenson Video 3 Sometimes comparison is short (up to one text line per codec) Evaluation of Dirac and Theora Scientific paper Dirac, Dirac Pro, Theora I, H.264, Motion JPEG2000 (the tested codecs are from Q2-2008) Quite detailed comparison of software available in Q2-2008; However, a buggy version of ffmpeg2Theora was used VP8 versus x264 Objective and subjective quality comparison of VP8 and x264 VP8, x264 VQM, SSIM and PSNR for 19 CIF video clips with bitrates of 100, 200, 500 and 1000 kbit/s Notes and references[edit]
  1. ^ Google - VP9 Bitrate Modes in Detail
  2. ^ Werner Robitza - CRF Guide
  3. ^ "AV1 Bitstream & Decoding Process Specification" (PDF). The Alliance for Open Media. Archived (PDF) from the original on 2 May 2019. Retrieved 31 March 2019.
  4. ^ Xiph.Org Foundation (2009) Theora development website - news, Retrieved 2009-10-06
  5. ^ a b "Redirect". Retrieved 22 November 2016.
  6. ^ a b Dirac Video Compression[usurped]
  7. ^ Releases · gopro/cineform-sdk
  8. ^ x264 Encoder 164 r3079 Free Download - VideoHelp, Retrieved on 2021-12-14
  9. ^ "Release Notes — x265 documentation". x265.readthedocs.io. Retrieved 2021-12-14.
  10. ^ "Xvid.com". Retrieved 2021-12-14.
  11. ^ FFmpeg.org, Retrieved on 2021-12-14
  12. ^ FFavs Archived 2009-12-16 at the Wayback Machine
  13. ^ OpenH264 Releases
  14. ^ "Next generation of Blackbird video codec - Blackbird". Blackbird plc. Retrieved 14 December 2021.
  15. ^ "DivX Software Version History – DivX". DivX, LLC. Retrieved 14 December 2021.
  16. ^ "HEVC - DivX Labs". Archived from the original on 11 January 2017. Retrieved 22 November 2016.
  17. ^ VirtualDub VirtualDub documentation: codecs, Retrieved on 2009-08-08
  18. ^ FOURCC.org Video Codecs - Compressed Formats Archived 2009-05-23 at the Wayback Machine, Retrieved on 2009-08-08
  19. ^ Tom's Hardware (2001-10-22) A Tough Choice: DivX 3.20a Codec Still Better Than DivX 4.01 Codec, Retrieved on 2009-08-08
  20. ^ 3ivx, Retrieved on 2014-12-27
  21. ^ Nero AG What is Nero Digital, Retrieved on 2009-08-08
  22. ^ a b refs/tags/v1.11.0 - webm/libvpx - Git at Google, Retrieved on 14 December 2021
  23. ^ Custom Technology Corporation CINEMA CRAFT - Download, Retrieved on 2009-08-11
  24. ^ Pegasys Inc. What Is New, Retrieved on 2009-08-11
  25. ^ Compression Technologies, Inc., current maintainer of Cinepak
  26. ^ RealNetworks Products - Codecs Archived 2004-08-04 at the Wayback Machine
  27. ^ Huffyuv v2.1.1, Retrieved on 2009-08-09
  28. ^ Lagarith Lossless Video Codec, Retrieved on 2018-02-10
  29. ^ GmbH, MainConcept. "SDKs - Software Development Kits: MainConcept". Archived from the original on 28 January 2013. Retrieved 22 November 2016.
  30. ^ "MainConcept will present latest GPU CUDA Encoding at NVIDIA Technology Conference!: MainConcept". Archived from the original on 2010-10-02. Retrieved 2010-10-26.
  31. ^ GmbH, MainConcept. "SDKs - Software Development Kits: MainConcept". Archived from the original on 28 January 2013. Retrieved 22 November 2016.
  32. ^ GmbH, MainConcept. "SDKs - Adobe Plugins - Transcoding Software - MainConcept Products: MainConcept". Archived from the original on 6 September 2012. Retrieved 22 November 2016.
  33. ^ Speer, Michael F.; Don, Hoffman (21 August 1995). "RTP Payload Format of Sun's CellB Video Encoding". cs.columbia.edu. Archived from the original on 10 August 2021.
  34. ^ "Holiday_greeting_1992". GitHub. 11 February 2020.
  35. ^ Hoffman, Don; Speer, Michael F. (October 1996). "RTP Payload Format of Sun's CellB Video Encoding". Ietf Datatracker.
  36. ^ "XIL Programmer's Guide" (PDF). docs.oracle.com. Sun Microsystems. 1997. Archived (PDF) from the original on 17 October 2022.
  37. ^ "Network Video tool". GitHub. 14 October 2021.
  38. ^ a b c d "Elecard Group - Codec SDK G4 - h.264 codec, Codec SDK, software development kit, mpeg2 decoder, mpeg-2 decoder, avc codec, MPEG Decoder, MPEG Encoder, MPEG Multiplexer, MPEG Audio Decoder, Graph Viewer, AVC Encoder, AAC Decoder, AAC encoder, mpeg-4, API, sample application, source code". Retrieved 10 February 2018.
  39. ^ Theora.org FAQ: isn't VP3 a patented technology?
  40. ^ Technical description of the Cinepak codec Archived 2007-02-05 at the Wayback Machine
  41. ^ a b Frame rate, resolution, etc. are coded as variable length data.
  42. ^ a b "Theora format specification" (PDF). (827 KB)
  43. ^ Requires about 3 terabytes per uncompressed frame at maximum resolution (pg 37, Theora I Specification. March 7, 2006)
Multimedia compression

and

container

formats

Video
compression
ISO, IEC,
MPEG ITU-T, VCEG SMPTE TrueMotion and AOMedia Chinese Standard Others Audio
compression
ISO, IEC,
MPEG ITU-T IETF 3GPP ETSI Bluetooth SIG Chinese Standard Others Image
compression
IEC, ISO, IETF,
W3C, ITU-T, JPEG Others Containers ISO, IEC ITU-T IETF SMPTE Others Collaborations Methods Lists

See

Compression methods

for techniques and

Compression software

for codecs


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4