Generation loss

Digital generation loss induced by rotating a JPEG image 90 degrees (from top to bottom) 0, 100, 200, 500, 900, and 2000 times (without using lossless tools)

Generation loss is the loss of quality between subsequent copies or transcodes of data. Anything that reduces the quality of the representation when copying, and would cause further reduction in quality on making a copy of the copy, can be considered a form of generation loss. File size increases are a common result of generation loss, as the introduction of artifacts may actually increase the entropy of the data through each generation.

Analog generation loss

In analog systems (including systems that use digital recording but make the copy over an analog connection), generation loss is mostly due to noise and bandwidth issues in cables, amplifiers, mixers, recording equipment and anything else between the source and the destination. Poorly adjusted distribution amplifiers and mismatched impedances can make these problems even worse. Repeated conversion between analog and digital can also cause loss.

Generation loss was a major consideration in complex analog audio and video editing, where multi-layered edits were often created by making intermediate mixes which were then "bounced down" back onto tape. Careful planning was required to minimize generation loss, and the resulting noise and poor frequency response.

One way of minimizing the number of generations needed was to use an audio mixing or video editing suite capable of mixing a large number of channels at once; in the extreme case, for example with a 48-track recording studio, an entire complex mixdown could be done in a single generation, although this was prohibitively expensive for all but the best-funded projects.

The introduction of professional analog noise reduction systems such as Dolby A helped reduce the amount of audible generation loss, but were eventually superseded by digital systems which vastly reduced generation loss.[1]

According to ATIS, "Generation loss is limited to analog recording because digital recording and reproduction may be performed in a manner that is essentially free from generation loss."[1]

Digital generation loss

Used correctly, digital technology can eliminate generation loss. This implies the exclusive use of lossless compression codecs or uncompressed data from recording or creation until the final lossy encode for distribution through internet streaming or optical discs. Copying a digital file gives an exact copy if the equipment is operating properly which eliminates generation loss caused by copying, while reencoding digital files with lossy compression codecs can cause generation loss. This trait of digital technology has given rise to awareness of the risk of unauthorized copying. Before digital technology was widespread, a record label, for example, could be confident knowing that unauthorized copies of their music tracks were never as good as the originals.

Generation loss can still occur when using lossy video or audio compression codecs as these introduce artifacts into the source material with each encode or reencode. Lossy compression codecs such as Apple ProRes, Advanced Video Coding and mp3 are very widely used as they allow for dramatic reductions on file size while being indistinguishable from the uncompressed or losslessly compressed original for viewing purposes. The only way to avoid generation loss is by using uncompressed or losslessly compressed files; which may be expensive from a storage standpoint as they require larger amounts of storage space in flash memory or hard drives per second of runtime. Uncompressed video requires a high data rate; for example, a 1080p video at 60 frames per second require approximately 370 megabytes per second.[2] Lossy codecs make Blu-rays and streaming video over the internet feasible since neither can deliver the amounts of data needed for uncompressed or losslessly compressed video at acceptable frame rates and resolutions. Images can suffer from generation loss in the same way video and audio can.

Processing a lossily compressed file rather than an original usually results in more loss of quality than generating the same output from an uncompressed original. For example, a low-resolution digital image for a web page is better if generated from an uncompressed raw image than from an already-compressed JPEG file of higher quality.

Techniques that cause generation loss in digital systems

In digital systems, several techniques such as lossy compression codecs and algorithms, used because of other advantages, may introduce generation loss and must be used with caution. However, copying a digital file itself incurs no generation loss—the copied file is identical to the original, provided a perfect copying channel is used.

Some digital transforms are reversible, while some are not. Lossless compression is, by definition, fully reversible, while lossy compression throws away some data which cannot be restored. Similarly, many DSP processes are not reversible.

Thus careful planning of an audio or video signal chain from beginning to end and rearranging to minimize multiple conversions is important to avoid generation loss when using lossy compression codecs. Often, arbitrary choices of numbers of pixels and sampling rates for source, destination, and intermediates can seriously degrade digital signals in spite of the potential of digital technology for eliminating generation loss completely.

Similarly, when using lossy compression, it will ideally only be done once, at the end of the workflow involving the file, after all required changes have been made.

Transcoding

Converting between lossy formats – be it decoding and re-encoding to the same format, between different formats, or between different bitrates or parameters of the same format – causes generation loss.

Repeated applications of lossy compression and decompression can cause generation loss, particularly if the parameters used are not consistent across generations. Ideally an algorithm will be both idempotent, meaning that if the signal is decoded and then re-encoded with identical settings, there is no loss, and scalable, meaning that if it is re-encoded with lower quality settings, the result will be the same as if it had been encoded from the original signal – see Scalable Video Coding. More generally, transcoding between different parameters of a particular encoding will ideally yield the greatest common shared quality – for instance, converting from an image with 4 bits of red and 8 bits of green to one with 8 bits of red and 4 bits of green would ideally yield simply an image with 4 bits of red color depth and 4 bits of green color depth without further degradation.

Some lossy compression algorithms are much worse than others in this regard, being neither idempotent nor scalable, and introducing further degradation if parameters are changed.

For example, with JPEG, changing the quality setting will cause different quantization constants to be used, causing additional loss. Further, as JPEG is divided into 16×16 blocks (or 16×8, or 8×8, depending on chroma subsampling), cropping that does not fall on an 8×8 boundary shifts the encoding blocks, causing substantial degradation – similar problems happen on rotation. This can be avoided by the use of jpegtran or similar tools for cropping. Similar degradation occurs if video keyframes do not line up from generation to generation.

Editing

Digital resampling such as image scaling, and other DSP techniques can also introduce artifacts or degrade signal-to-noise ratio (S/N ratio) each time they are used, even if the underlying storage is lossless.

Resampling causes aliasing, both blurring low-frequency components and adding high-frequency noise, causing jaggies, while rounding off computations to fit in finite precision introduces quantization, causing banding; if fixed by dither, this instead becomes noise. In both cases, these at best degrade the signal's S/N ratio, and may cause artifacts. Quantization can be reduced by using high precision while editing (notably floating point numbers), only reducing back to fixed precision at the end.

Often, particular implementations fall short of theoretical ideals.

Examples

Successive generations of photocopies result in image distortion and degradation.[3] Repeatedly downloading and then reposting / reuploading content to platforms such as Instagram or YouTube can result to noticeable quality degradation.[4][5][6] Similar effects have been documented in copying of VHS tapes.[7] This is because both services use lossy codecs on all data that is uploaded to them, even if the data being uploaded is a duplicate of data already hosted on the service, while VHS is an analog medium, where effects such as noise from interference can have a much more noticeable impact on recordings.

See also

Notes

  1. ^ a b "generation loss". ATIS Telecom Glossary. Alliance for Telecommunications Industry Solutions. September 28, 2016. Archived from the original on 2017-01-23. Retrieved September 28, 2016.
  2. ^ "H.264 is magic: A technical walkthrough of a remarkable technology". 2 November 2016.
  3. ^ "Generation loss". Webopedia. March 2007. Retrieved September 28, 2016.
  4. ^ Simpson, Isaac (December 4, 2013). "Copying a YouTube video 1,000 times is a descent into hell". The Daily Dot. Retrieved September 28, 2016 – via YouTube.
  5. ^ Zhang, Michael (February 11, 2015). "Experiment Shows What Happens When You Repost a Photo to Instagram 90 Times". Petapixel. Retrieved September 28, 2016.
  6. ^ Zhang, Michael (June 4, 2010). "I Am Sitting in a Room, YouTube Style". Petapixel. Retrieved September 28, 2016.
  7. ^ "VHS generation loss (50fps)". YouTube. December 4, 2016. Retrieved September 11, 2024.

Read other articles:

Mount in Hormozgan, IranNakh Mountain کوه ناخMountNakh MountainCoordinates: 27°05′14″N 54°29′30″E / 27.08722°N 54.49167°E / 27.08722; 54.49167CountryIranProvinceHormozganCountyBastakBakhshKukherdPopulation (2006) • Total3,144Time zoneUTC+3:30 (IRST) • Summer (DST)UTC+4:30 (IRDT) Nakh Mountain (Persian: کوه ناخ) is a mountain in Kukherd Rural District, Kukherd District, Bastak County, Hormozgan Province in the south of I…

California law This article's sources may have been cherry picked. Please help improve the article. (January 2013) Elections in California Federal government U.S. President 1852 1856 1860 1864 1868 1872 1876 1880 1884 1888 1892 1896 1900 1904 1908 1912 1916 1920 1924 1928 1932 1936 1940 1944 1948 1952 1956 1960 1964 1968 1972 1976 1980 1984 1988 1992 1996 Dem Rep 2000 Dem Rep 2004 Dem Rep 2008 Dem Rep 2012 Dem Rep 2016 Dem Rep 2020 Dem Rep 2024 Dem Rep U.S. Senate 1849 1850 1852 sp 1856 1857 sp …

American academic Bruce RiedelRiedel in 2017BornBruce O. Riedel1953 (age 70–71)New York City, New York, U.S.EducationBrown University (BA)Harvard University (MA)Royal College of Defence Studies Bruce O. Riedel (born 1953) is an American expert on U.S. security, South Asia, and counter-terrorism. He is currently a senior fellow in the Saban Center for Middle East Policy at the Brookings Institution, and a professor at Johns Hopkins School of Advanced International Studies. He also serv…

この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: コルク – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2017年4月) コルクを打ち抜いて作った瓶の栓 コルク(木栓、蘭&…

Torneo Rio-San Paolo 1961Torneio Rio-São Paulo 1961 Competizione Torneo Rio-San Paolo Sport Calcio Edizione 13ª Date dal 1º marzo 1961al 23 aprile 1961 Luogo  Brasile Partecipanti 10 Risultati Vincitore  Flamengo(1º titolo) Secondo  Botafogo Statistiche Miglior marcatore Coutinho (Santos), Pepe (Santos), 9 gol Incontri disputati 54 Gol segnati 191 (3,54 per incontro) Cronologia della competizione 1960 1962 Manuale Il Torneo Rio-San Paolo 1961 (ufficialmente i…

Флаг гордости бисексуалов Бисексуальность      Сексуальные ориентации Бисексуальность Пансексуальность Полисексуальность Моносексуальность Сексуальные идентичности Би-любопытство Гетерогибкость и гомогибкость Сексуальная текучесть Исследования Шка…

Josiah Parsons CookeBiographieNaissance 12 octobre 1827BostonDécès 3 septembre 1894 (à 66 ans)NewportNationalité américaineFormation Université HarvardHarvard CollegeBoston Latin SchoolActivités Chimiste, écrivainAutres informationsA travaillé pour Université HarvardMembre de Académie américaine des sciencesAcadémie américaine des arts et des sciencesDistinction Membre de l'Académie américaine des arts et des sciencesSignaturemodifier - modifier le code - modifier Wikidata J…

River in Hokkaidō, Japan Yūbari River夕張川View from an open train window on the Sekishō Line between Numanosawa Station and Minami-Shimizusawa Station (August 2006)Location of the mouthShow map of HokkaidoYūbari River (Japan)Show map of JapanNative nameYūbari-gawa (Japanese)LocationCountryJapanStateHokkaidōPhysical characteristicsSourceMount Hachimori • locationYūbari, Hokkaidō, Japan • coordinates43°11′32″N 142°15′26″E / &#…

Public utility supplying water to London 1903–1974 Metropolitan Water BoardCrest of the Metropolitan Water BoardBoard overviewFormed1903Dissolved1 April 1974Superseding agencyThames Water Authority The Metropolitan Water Board was a municipal body formed in 1903 to manage the water supply in London, UK. The members of the board were nominated by the local authorities within its area of supply. In 1904 it took over the water supply functions from the eight private water companies which had prev…

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 Maret 2016. Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: …

Disocactus Disocactus crenatus Klasifikasi ilmiah Domain: Eukaryota Kerajaan: Plantae (tanpa takson): Tracheophyta (tanpa takson): Angiospermae (tanpa takson): Eudikotil Ordo: Caryophyllales Famili: Cactaceae Subfamili: Cactoideae Tribus: Hylocereeae Genus: DisocactusLindl.[1] Spesies tipe Disocactus biformis Spesies Lihat teks Disocactus adalah genus kaktus (famili cactaceae) epifit dalam tribus Hylocereeae yang ditemukan di Amerika Tengah, Kepulauan Karibia, dan Amerika Selatan bagian …

2018 Philippine law establishing the Bangsamoro autonomous region Bangsamoro Organic LawCongress of the Philippines Long title An Act Providing for the Organic Law for the Bangsamoro Autonomous Region in Muslim Mindanao, Repealing for the purpose Republic Act No. 6734, Entitled An Act providing an Organic Act for the Autonomous Region in Muslim Mindanao, as amended by Republic Act No. 9054, Entitled An Act to strengthen and expand the Organic Act for the Autonomous Region in Muslim Mindanao[…

Sixth director of the FBI; American attorney For other people with similar names, see Robert Muller (disambiguation). Robert MuellerOfficial portrait, 2011Special Counsel for the United States Department of JusticeIn officeMay 17, 2017 – May 29, 2019Appointed byRod RosensteinPreceded byOffice establishedSucceeded byOffice abolished6th Director of the Federal Bureau of InvestigationIn officeSeptember 4, 2001 – September 4, 2013PresidentGeorge W. BushBarack ObamaDeputyThomas …

County in Ireland For other uses, see County Dublin (disambiguation). County in IrelandCounty Dublin Contae Bhaile Átha CliathCounty Coat of armsMotto(s): Irish: Beart do réir ár mbriatharAction to match our speechCounty Dublin shown darker on the green of the Republic of Ireland, with Northern Ireland in pinkCountryIrelandProvinceLeinsterRegionEastern and MidlandEstablished1190s[1]County townDublinGovernment • Dáil constituencies 11 Dublin Bay North Dublin Bay South…

US federal agency Agency for Toxic Substances and Disease RegistryAgency overviewFormed December 31, 1980 (authorized) April 19, 1983 (created) June 11, 1985 (formally organized) JurisdictionFederal government of the United StatesHeadquarters4770 Buford Highway NE, Atlanta, Georgia, 30341[1]33°52′44″N 84°17′32″W / 33.8788°N 84.2923°W / 33.8788; -84.2923Employees228 FTE (FY2022)[2]Annual budgetUS$78 million (FY2021)[2]Agency executivesMa…

Diplomatic missions of Lebanon This is a list of diplomatic missions of Lebanon, excluding honorary consulates. Africa  Algeria Algiers (Embassy)  Democratic Republic of the Congo Kinshasa (Embassy)  Egypt Cairo (Embassy) Alexandria (Consulate-General)  Gabon Libreville (Embassy)  Ghana Accra (Embassy)  Guinea Conakry (Embassy)  Ivory Coast Abidjan (Embassy)  Liberia Monrovia (Embassy)  Libya Tripoli (Embassy)  Morocco Rabat (Embassy)  Niger…

Australian politician, Deputy Prime Minister of Australia The Right HonourableDoug AnthonyAC CH FTSE PCDeputy Prime Minister of AustraliaIn office5 February 1971 – 5 December 1972Prime MinisterJohn GortonWilliam McMahonPreceded byJohn McEwenSucceeded byLance BarnardIn office12 November 1975 – 11 March 1983Prime MinisterMalcolm FraserPreceded byFrank CreanSucceeded byLionel BowenLeader of the National Party[a]In office2 February 1971 – 17 January 1…

Raffaele Viviani nell'opera teatrale Scugnizzo (1905) Raffaele Viviani, all'anagrafe Raffaele Viviano (Castellammare di Stabia, 10 gennaio 1888 – Napoli, 22 marzo 1950), è stato un attore, commediografo, compositore, poeta e traduttore italiano. Indice 1 Biografia 1.1 L'infanzia 1.2 Scugnizzo, il primo successo 1.3 La scrittura all'Eden e il matrimonio 1.4 Tournée Viviani 1.5 Il passaggio alla prosa 1.6 Gli atti unici 1.7 La stagione dell'Umberto 1.8 Una compagnia nazionale 1.9 Il teatro soc…

Cet article est une ébauche concernant un musicien britannique et le jazz. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Pour les articles homonymes, voir Hayes. Tubby Hayes Données clés Nom de naissance Edward Brian Hayes Naissance 30 janvier 1935St Pancras, Londres, Angleterre Décès 8 juin 1973 (à 38 ans)Hammersmith, Londres, Angleterre Genre musical Jazz Instruments Saxophone ténor, vibraphone, flû…

History United States NameUSS LST-550 BuilderMissouri Valley Bridge and Iron Company, Evansville, Indiana Laid down13 November 1943 Launched9 March 1944 Sponsored byMrs. Henry D. Hoover Commissioned10 April 1944 Decommissioned13 January 1946 In serviceIn non-commissioned service with Military Sea Transportation Service as USNS LST-550 (T-LST-550) from 31 March 1952 Stricken1 November 1973 Honors andawardsTwo battle stars for World War II General characteristics Class and typeLST-542-class tank l…