Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Video codec

From Wikipedia, the free encyclopedia
Digital video coder/decoder
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Video codec" – news ·newspapers ·books ·scholar ·JSTOR
(May 2023) (Learn how and when to remove this message)
A short video explaining the concept of video codecs.

Avideo codec issoftware orhardware thatcompresses anddecompressesdigital video. In the context of video compression,codec is aportmanteau ofencoder anddecoder, while a device that only compresses is typically called anencoder, and one that only decompresses is adecoder.

The compressed data format usually conforms to a standardvideo coding format. The compression is typicallylossy, meaning that the compressed video lacks some information present in the original video. A consequence of this is that decompressed video has lower quality than the original, uncompressed video because there is insufficient information to accurately reconstruct the original video.

There are complex relationships between thevideo quality, the amount of data used to represent the video (determined by thebit rate), the complexity of the encoding and decoding algorithms, sensitivity to data losses and errors, ease of editing, random access, and end-to-end delay (latency).

History

[edit]
Further information:Video coding format § History

Historically, video was stored as an analog signal onmagnetic tape. Around the time when thecompact disc entered the market as a digital-format replacement for analog audio, it became feasible to also store and convey video in digital form. Because of the large amount of storage and bandwidth needed to record and convey raw video, a method was needed to reduce the amount of data used to represent the raw video. Since then,engineers andmathematicians have developed a number of solutions for achieving this goal that involve compressing the digital video data.

In 1974,discrete cosine transform (DCT) compression was introduced byNasir Ahmed, T. Natarajan andK. R. Rao.[1][2][3] During the late 1980s, a number of companies began experimenting with DCTlossy compression for video coding, leading to the development of theH.261 standard.[4] H.261 was the first practical video coding standard,[5] and was developed by a number of companies, includingHitachi,PictureTel,NTT,BT, andToshiba, among others.[6] Since H.261, DCT compression has been adopted by all the major video coding standards that followed.[4]

The most popularvideo coding standards used for codecs have been theMPEG standards.MPEG-1 was developed by theMotion Picture Experts Group (MPEG) in 1991, and it was designed to compressVHS-quality video. It was succeeded in 1994 byMPEG-2/H.262,[5] which was developed by a number of companies, primarilySony,Thomson andMitsubishi Electric.[7] MPEG-2 became the standard video format forDVD andSD digital television.[5] In 1999, it was followed byMPEG-4/H.263, which was a major leap forward for video compression technology.[5] It was developed by a number of companies, primarily Mitsubishi Electric, Hitachi andPanasonic.[8]

The most widely used video coding format, as of 2016, isH.264/MPEG-4 AVC. It was developed in 2003 by a number of organizations, primarily Panasonic,Godo Kaisha IP Bridge andLG Electronics.[9] H.264 is the main video encoding standard forBlu-ray Discs, and is widely used by streaming internet services such asYouTube,Netflix,Vimeo, andiTunes Store, web software such asAdobe Flash Player andMicrosoft Silverlight, and variousHDTV broadcasts over terrestrial and satellite television.

AVC has been succeeded byHEVC (H.265), developed in 2013. It is heavily patented, with the majority of patents belonging toSamsung Electronics,GE, NTT andJVC Kenwood.[10][11] The adoption of HEVC has been hampered by its complex licensing structure. HEVC is, in turn, succeeded byVersatile Video Coding (VVC).

There are also the open and freeVP8,VP9 andAV1 video coding formats, used by YouTube, all of which were developed with involvement fromGoogle.

Applications

[edit]

Video codecs are used in DVD players,Internet video,video on demand,digital cable,digital terrestrial television,videotelephony and a variety of other applications. In particular, they are widely used in applications that record or transmit video, which may not be feasible with the high data volumes and bandwidths of uncompressed video. For example, they are used inoperating theaters to record surgical operations, inIP cameras in security systems, and inremotely operated underwater vehicles andunmanned aerial vehicles. Any video stream or file can be encoded using a wide variety of live video format options.[12]

Video codec design

[edit]
Further information:Video coding format

Video codecs seek to represent a fundamentally analog data set in a digital format. Because of the design of analog video signals, which representluminance (luma) andcolor information (chrominance, chroma) separately, a common first step in image compression in codec design is to represent and store the image in aYCbCr color space. The conversion to YCbCr provides two benefits: first, it improves compressibility by providing decorrelation of the color signals; and second, it separates the luma signal, which is perceptually much more important, from the chroma signal, which is less perceptually important and which can be represented at lower resolution usingchroma subsampling to achieve more efficient data compression. It is common to represent the ratios of information stored in these different channels in the following way YCbCr. Different codecs use different chroma subsampling ratios as appropriate to their compression needs. Video compression schemes for Web and DVD make use of a 4:2:1 color sampling pattern, and theDV standard uses 4:1:1 sampling ratios. Professional video codecs designed to function at much higher bitrates and to record a greater amount of color information for post-production manipulation, sample in 4:2:2 and 4:4:4 ratios. Examples of these codecs include Panasonic's DVCPRO50 and DVCPROHD codecs (4:2:2), Sony's HDCAM-SR (4:4:4), Panasonic's HDD5 (4:2:2),Apple's Prores HQ 422 (4:2:2).[13]

It is also worth noting that video codecs can operate in RGB space as well. These codecs tend not to sample the red, green, and blue channels in different ratios, since there is less perceptual motivation for doing so—just the blue channel could be undersampled.

Some amount of spatial and temporaldownsampling may also be used to reduce the raw data rate before the basic encoding process. The most popular encoding transform is the 8x8 DCT. Codecs that make use of awavelet transform are also entering the market, especially in camera workflows that involve dealing withRAW image formatting in motion sequences. This process involves representing the video image as a set ofmacroblocks. For more information about this critical facet of video codec design, seeB-frames.[14]

The output of the transform is firstquantized, thenentropy encoding is applied to the quantized values. When a DCT has been used, the coefficients are typically scanned using azig-zag scan order, and the entropy coding typically combines a number of consecutive zero-valued quantized coefficients with the value of the next non-zero quantized coefficient into a single symbol and also has special ways of indicating when all of the remaining quantized coefficient values are equal to zero. The entropy coding method typically usesvariable-length coding tables. Some encoders compress the video in a multiple-step process calledn-pass encoding (e.g. 2-pass), which performs a slower but potentially higher quality compression.

The decoding process consists of performing, to the extent possible, an inversion of each stage of the encoding process.[citation needed] The one stage that cannot be exactly inverted is the quantization stage. There, a best-effort approximation of inversion is performed. This part of the process is often calledinverse quantization ordequantization, although quantization is an inherently non-invertible process.

Video codec designs are usually standardized or eventually become standardized—i.e., specified precisely in a published document. However, only the decoding process need be standardized to enable interoperability. The encoding process is typically not specified at all in a standard, and implementers are free to design their encoder however they want, as long as the video can be decoded in the specified manner. For this reason, the quality of the video produced by decoding the results of different encoders that use the same video codec standard can vary dramatically from one encoder implementation to another.

Commonly used video codecs

[edit]
Main article:List of codecs § Video compression formats

A variety of video compression formats can be implemented on PCs and in consumer electronics equipment. It is therefore possible for multiple codecs to be available in the same product, reducing the need to choose a single dominant video compression format to achieveinteroperability.

Standardvideo compression formats can be supported by multiple encoder and decoder implementations from multiple sources. For example, video encoded with a standardMPEG-4 Part 2 codec such asXvid can be decoded using any other standardMPEG-4 Part 2 codec such asFFmpeg MPEG-4 orDivX Pro Codec, because they all use the same video format.

Codecs have their qualities and drawbacks.Comparisons are frequently published. The trade-off between compression power, speed, and fidelity (includingartifacts) is usually considered the most important figure of technical merit.

Codec packs

[edit]

Online video material is encoded by a variety of codecs, and this has led to the availability of codec packs — a pre-assembled set of commonly used codecs combined with an installer available as a software package for PCs, such asK-Lite Codec Pack,Perian andCombined Community Codec Pack.

See also

[edit]

References

[edit]
  1. ^Ahmed, Nasir; Natarajan, T.; Rao, K. R. (January 1974), "Discrete Cosine Transform",IEEE Transactions on Computers,C-23 (1):90–93,doi:10.1109/T-C.1974.223784
  2. ^Rao, K. R.; Yip, P. (1990),Discrete Cosine Transform: Algorithms, Advantages, Applications, Boston: Academic Press,ISBN 978-0-12-580203-1
  3. ^"T.81 – DIGITAL COMPRESSION AND CODING OF CONTINUOUS-TONE STILL IMAGES – REQUIREMENTS AND GUIDELINES"(PDF). CCITT. September 1992. Retrieved12 July 2019.
  4. ^abGhanbari, Mohammed (2003).Standard Codecs: Image Compression to Advanced Video Coding.Institution of Engineering and Technology. pp. 1–2.ISBN 9780852967102.
  5. ^abcd"The History of Video File Formats Infographic — RealPlayer". 22 April 2012.
  6. ^"ITU-T Recommendation declared patent(s)".ITU. Retrieved12 July 2019.
  7. ^"MPEG-2 Patent List"(PDF).MPEG LA. Archived fromthe original(PDF) on 29 May 2019. Retrieved7 July 2019.
  8. ^"MPEG-4 Visual - Patent List"(PDF).MPEG LA. Archived fromthe original(PDF) on 6 July 2019. Retrieved6 July 2019.
  9. ^"AVC/H.264 – Patent List"(PDF).MPEG LA. Archived fromthe original(PDF) on 25 January 2023. Retrieved6 July 2019.
  10. ^"HEVC Patent List"(PDF).MPEG LA. Archived fromthe original(PDF) on 10 April 2021. Retrieved6 July 2019.
  11. ^"HEVC Advance Patent List".HEVC Advance. Archived fromthe original on 24 August 2020. Retrieved6 July 2019.
  12. ^"What is the Best Video Codec for Web Streaming? (2021 Update)".Dacast. 2021-06-18. Retrieved2022-02-11.
  13. ^Hoffman, P. (June 2011).Requirements for Internet-Draft Tracking by the IETF Community in the Datatracker.doi:10.17487/rfc6293.
  14. ^Richardson, Iain E. G. (2002).Video Codec Design.doi:10.1002/0470847832.ISBN 978-0-471-48553-7.[page needed]

External links

[edit]
Video
compression
ISO,IEC,
MPEG
ITU-T,VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
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
SeeCompression methods for techniques andCompression software for codecs
Lossless
type
Entropy
Dictionary
Other
Hybrid
Lossy
type
Transform
Predictive
Audio
Concepts
Codec
parts
Image
Concepts
Methods
Video
Concepts
Codec
parts
Theory
Community
People
Retrieved from "https://en.wikipedia.org/w/index.php?title=Video_codec&oldid=1330286688"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp