Share to: share facebook share twitter share wa share telegram print page

Video codec

A short video explaining the concept of video codecs.

A video codec is software or hardware that compresses and decompresses digital video. In the context of video compression, codec is a portmanteau of encoder and decoder, while a device that only compresses is typically called an encoder, and one that only decompresses is a decoder.

The compressed data format usually conforms to a standard video coding format. The compression is typically lossy, 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 the video quality, the amount of data used to represent the video (determined by the bit 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

Historically, video was stored as an analog signal on magnetic tape. Around the time when the compact 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 and mathematicians 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 by Nasir Ahmed, T. Natarajan and K. R. Rao.[1][2][3] During the late 1980s, a number of companies began experimenting with DCT lossy compression for video coding, leading to the development of the H.261 standard.[4] H.261 was the first practical video coding standard,[5] and was developed by a number of companies, including Hitachi, PictureTel, NTT, BT, and Toshiba, among others.[6] Since H.261, DCT compression has been adopted by all the major video coding standards that followed.[4]

The most popular video coding standards used for codecs have been the MPEG standards. MPEG-1 was developed by the Motion Picture Experts Group (MPEG) in 1991, and it was designed to compress VHS-quality video. It was succeeded in 1994 by MPEG-2/H.262,[5] which was developed by a number of companies, primarily Sony, Thomson and Mitsubishi Electric.[7] MPEG-2 became the standard video format for DVD and SD digital television.[5] In 1999, it was followed by MPEG-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 and Panasonic.[8]

The most widely used video coding format, as of 2016, is H.264/MPEG-4 AVC. It was developed in 2003 by a number of organizations, primarily Panasonic, Godo Kaisha IP Bridge and LG Electronics.[9] H.264 is the main video encoding standard for Blu-ray Discs, and is widely used by streaming internet services such as YouTube, Netflix, Vimeo, and iTunes Store, web software such as Adobe Flash Player and Microsoft Silverlight, and various HDTV broadcasts over terrestrial and satellite television.

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

There are also the open and free VP8, VP9 and AV1 video coding formats, used by YouTube, all of which were developed with involvement from Google.

Applications

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 in operating theaters to record surgical operations, in IP cameras in security systems, and in remotely operated underwater vehicles and unmanned aerial vehicles. Any video stream or file can be encoded using a wide variety of live video format options. Here are some of the H.264 encoder settings that need to be set when streaming to an HTML5 video player.[12]

Video codec design

Video codecs seek to represent a fundamentally analog data set in a digital format. Because of the design of analog video signals, which represent luminance (luma) and color information (chrominance, chroma) separately, a common first step in image compression in codec design is to represent and store the image in a YCbCr 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 using chroma 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 Y:Cb:Cr. 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 the DV 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 temporal downsampling 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 a wavelet transform are also entering the market, especially in camera workflows that involve dealing with RAW image formatting in motion sequences. This process involves representing the video image as a set of macroblocks. For more information about this critical facet of video codec design, see B-frames.[14]

The output of the transform is first quantized, then entropy encoding is applied to the quantized values. When a DCT has been used, the coefficients are typically scanned using a zig-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 uses variable-length coding tables. Some encoders compress the video in a multiple-step process called n-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.[15] 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 called inverse quantization or dequantization, 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

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 achieve interoperability.

Standard video compression formats can be supported by multiple encoder and decoder implementations from multiple sources. For example, video encoded with a standard MPEG-4 Part 2 codec such as Xvid can be decoded using any other standard MPEG-4 Part 2 codec such as FFmpeg MPEG-4 or DivX 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 (including artifacts) is usually considered the most important figure of technical merit.

Codec packs

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 as K-Lite Codec Pack, Perian and Combined Community Codec Pack.

See also

References

  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, S2CID 149806273
  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. Retrieved 12 July 2019.
  4. ^ a b Ghanbari, Mohammed (2003). Standard Codecs: Image Compression to Advanced Video Coding. Institution of Engineering and Technology. pp. 1–2. ISBN 9780852967102.
  5. ^ a b c d "The History of Video File Formats Infographic — RealPlayer". 22 April 2012.
  6. ^ "ITU-T Recommendation declared patent(s)". ITU. Retrieved 12 July 2019.
  7. ^ "MPEG-2 Patent List" (PDF). MPEG LA. Retrieved 7 July 2019.
  8. ^ "MPEG-4 Visual - Patent List" (PDF). MPEG LA. Retrieved 6 July 2019.
  9. ^ "AVC/H.264 – Patent List" (PDF). MPEG LA. Retrieved 6 July 2019.
  10. ^ "HEVC Patent List" (PDF). MPEG LA. Retrieved 6 July 2019.
  11. ^ "HEVC Advance Patent List". HEVC Advance. Archived from the original on 24 August 2020. Retrieved 6 July 2019.
  12. ^ "What is the Best Video Codec for Web Streaming? (2021 Update)". Dacast. 2021-06-18. Retrieved 2022-02-11.
  13. ^ Hoffman, P. (June 2011). Requirements for Internet-Draft Tracking by the IETF Community in the Datatracker. doi:10.17487/rfc6293.
  14. ^ "Video Codec Design: Developing Image and Video Compression Systems | Wiley". Wiley.com. Retrieved 2022-02-11.
  15. ^ "Encoding Stage - an overview | ScienceDirect Topics". www.sciencedirect.com. Retrieved 2022-02-11.

Read other articles:

IklimInformasi latar belakangLahir1985AsalTerengganu, MalaysiaGenreHard rockpop rockglam metalblues rockTahun aktif1991- 1998, 2003 & 2004 (reunion) 2005 - kiniLabelSuara Cipta Sempurna (Rock Records Malaysia) (1991- 1994)Warner Music Malaysia (1994-1999)Nova Music (2003-2004.Anggota Umarul Mohalim Huzali Mantan anggota Saleem Kama Iklim adalah sebuah grup musik rock dari Malaysia yang resmi terbentuk pada tahun 1990. Grup musik ini menyajikan lagu-lagu Melayu bergenre hard rock dengan irama…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Demographics of the Netherlands – news · newspapers · books · scholar · JSTOR (November 2011) (Learn how and when to remove this template message) Demographics of the NetherlandsPopulation pyramid of the Netherlands in 2023Population17,821,419 (January 2023) (67th…

Region Bratislava Bratislavský krajRegion BenderaLambang kebesaranNegaraSlowakiaIbu kotaBratislavaPemerintahan • GubernurJuraj DrobaLuas • Total2.053 km2 (793 sq mi)Ketinggian tertinggi754 m (2,474 ft)Ketinggian terendah126 m (413 ft)Populasi (31 Desember 2019) • Total669.592 • Kepadatan330/km2 (840/sq mi)Kode ISO 3166SK-BLSitus webwww.region-bsk.sk Region Bratislava (bahasa Slowakia: Brat…

Механика сплошных средСплошная среда Классическая механика Закон сохранения массы · Закон сохранения импульса Теория упругости Напряжение · Тензор · Твёрдые тела · Упругость · Пластичность · Закон Гука · Реология · Вязкоупругость Гидродинамика Жидкость · Гидростатика …

American politician Alexander M. Dockery30th Governor of MissouriIn officeJanuary 14, 1901 – January 9, 1905LieutenantJohn Adams LeeThomas Lewis RubeyPreceded byLawrence Vest StephensSucceeded byJoseph W. FolkMember of the U.S. House of Representativesfrom Missouri's 3rd districtIn officeMarch 4, 1883 – March 3, 1899Preceded byGustavus SessinghausSucceeded byJohn Dougherty Personal detailsBorn(1845-02-11)February 11, 1845Near Gallatin, MissouriDiedDecember 26, 1…

American politician Frank HerefordUnited States Senatorfrom West VirginiaIn officeJanuary 31, 1877 – March 3, 1881Preceded bySamuel PriceSucceeded byJohnson N. CamdenMember of the U.S. House of Representativesfrom West Virginia's 3rd districtIn officeMarch 4, 1871 – January 31, 1877Preceded byJohn WitcherSucceeded byJohn E. Kenna Personal detailsBorn(1825-07-04)July 4, 1825Warrenton, VirginiaDiedDecember 21, 1891(1891-12-21) (aged 66)Union, West VirginiaPol…

Artikel atau sebagian dari artikel ini mungkin diterjemahkan dari List of Nobel Memorial Prize laureates in Economics di en.wikipedia.org. Isinya masih belum akurat, karena bagian yang diterjemahkan masih perlu diperhalus dan disempurnakan. Jika Anda menguasai bahasa aslinya, harap pertimbangkan untuk menelusuri referensinya dan menyempurnakan terjemahan ini. Anda juga dapat ikut bergotong royong pada ProyekWiki Perbaikan Terjemahan. (Pesan ini dapat dihapus jika terjemahan dirasa sudah cukup te…

العلاقات الجزائرية الطاجيكستانية الجزائر طاجيكستان   الجزائر   طاجيكستان تعديل مصدري - تعديل   العلاقات الجزائرية الطاجيكستانية هي العلاقات الثنائية التي تجمع بين الجزائر وطاجيكستان.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية لل…

State of the Holy Roman Empire (980–1795) Prince-Bishopric of Liège Fürstbistum Lüttich (German) Principatus episcopalis Leodiensis (Latin) Principauté de Liège (French) Prinsbisdom Luik (Dutch) Principåté d' Lidje (Walloon) Prinsbisdom Luuk (Limburgish)980–17891791–17921793–1795 Flag Coat of arms The Prince-Bishopric of Liège around 1350.StatusEcclesiastic state of the Holy Roman EmpireCapitalLiègeCommon languagesLatin and Old French, becoming…

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:СинапсидыКл…

Bupati DemakLambang Kabupaten DemakPetahanadr. Hj. Eisti'anah, S.Esejak 27 Mei 2021KediamanRumah Dinas Bupati DemakMasa jabatan5 tahunDibentuk1801-1845 (pembangunan Pendopo Pangeran Cokronegoro)Pejabat pertamaPangeran Jimbun/Sultan Fattah (1478-1518) Berikut adalah Daftar Bupati Demak dari masa ke masa. No Foto Nama Mulai Jabatan Akhir Jabatan Wakil Bupati Keterangan Ref. Kesultanan Demak 1 Raden Patah 1478 1518 2 Pati Unus 1518 1521 3 Trenggana 1521 1546 4 Sunan Prawoto 1546 1568 1548-1568…

Historic opera venue in Atlanta, Georgia, United States (1871-93) DeGive Opera House building toward the end of its life, doing business as the Bijou Theater DeGive's Opera House was the main venue for opera in the U.S. city of Atlanta from 1871 until 1893. History and location The Atlanta History Center describes how Belgian consul Laurent DeGive purchased an unfinished building at the corner of Marietta and Forsyth and hired architect and civil engineer Max Corput to design the opera house. …

Chemical compound The topic of this article may not meet Wikipedia's general notability guideline. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.Find sources: Hexocyclium – news · newspapers · books · scholar · JSTOR (A…

Pour les articles homonymes, voir Martin et George Martin (homonymie). Ne doit pas être confondu avec Georges Martin. George Martin George Martin en 2006Informations générales Surnom Henry (surnom donné par les Beatles) Nom de naissance George Henry Martin Naissance 3 janvier 1926Londres, Angleterre, Royaume-Uni Décès 8 mars 2016 (à 90 ans)Swindon (Wiltshire, Angleterre, Royaume-Uni) Activité principale Producteur, compositeur, arrangeur musical Genre musical Rock 'n' roll, pop, roc…

Questa voce sull'argomento contee dell'Illinois è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Contea di HancockconteaLocalizzazioneStato Stati Uniti Stato federato Illinois AmministrazioneCapoluogoCarthage Data di istituzione1825 TerritorioCoordinatedel capoluogo40°24′00″N 91°10′12″W / 40.4°N 91.17°W40.4; -91.17 (Contea di Hancock)Coordinate: 40°24′00″N 91°10′12″W / 40.4°N 91.17°W40.4; …

У этого термина существуют и другие значения, см. Чайки (значения). Чайки Доминиканская чайкаЗападная чайкаКалифорнийская чайкаМорская чайка Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:Вторичн…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada April 2016. Mannequin adalah nama sebuah grup musik Indonesia yang terbentuk pada tahun 2012. Girl band ini diproduseri oleh Maia Estianty. Anggota grup musik ini di antaranya adalah Dearly, Keyla, Nathalie, Dayna dan Gina. Kelima anggotanya memiliki latar belakang pro…

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字が含まれています(詳細)。 数字の大字(だいじ)は、漢数字の一種。通常用いる単純な字形の漢数字(小字)の代わりに同じ音の別の漢字を用いるものである。 概要 壱万円日本銀行券(「壱」が大字) 弐千円日本銀行券(「弐」が大字) 漢数字には「一」「二」「三」と続く小字と、「壱」「弐」…

Brazilian activist André Pinto RebouçasAndré Rebouças, c.1862Born13 January 1838Cachoeira, Bahia, Empire of BrazilDied9 April 1898(1898-04-09) (aged 60)Funchal, Madeira, Kingdom of PortugalNationalityBrazilianOccupationEngineerEngineering careerDisciplineCivil André Pinto Rebouças (13 January 1838 – 9 April 1898) was a Brazilian military engineer, abolitionist and inventor, son of Antônio Pereira Rebouças (1798–1880) and Carolina Pinto Rebouças. Lawyer, member of Parliament (re…

Queen Urraca, as depicted in the 16th-century Liber genealogiae regum Hispanie. Urraca Sánchez was an Infanta of Pamplona and Queen consort of León. Family Urraca was a daughter of Sancho I, King of Pamplona and his wife Toda of Navarre, and sister of García Sánchez I of Pamplona. She was the second wife of king Ramiro II of León, by him having two known children, later king Sancho I of León and regent Elvira Ramírez. References Viñayo González, Antonio (1998). Real Colegiata de San Isi…

Kembali kehalaman sebelumnya