{"id":2351,"date":"2020-10-31T15:59:03","date_gmt":"2020-10-31T15:59:03","guid":{"rendered":"http:\/\/mp4gain.com\/mp4gain\/?p=2351"},"modified":"2020-10-31T15:59:03","modified_gmt":"2020-10-31T15:59:03","slug":"how-is-file-compression-done","status":"publish","type":"post","link":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/","title":{"rendered":"How is file compression done?"},"content":{"rendered":"<p><strong>How is file compression done?<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616\" alt=\"Audio and Video Compression\" width=\"638\" height=\"479\" \/><\/p>\n<p>As there are many computers, their owners do not have enough memory on internal and removable drives to accommodate their data. The rapid growth of disk volumes does not solve this problem. If 10 years ago we did not have 20 megabytes on the hard drive, today 20 gigabytes are the same.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-3-638.jpg?cb=1469543616\" alt=\"Audio and Video Compression\" width=\"638\" height=\"479\" \/><\/p>\n<p>The size of the programs and data we use grows with the growth of hard drives. We can already afford to store a library of tens of thousands of books on our hard drive. But we can store music compositions on the hard drive for several hundred hours of sound and video, only a few tens of hours of viewing. Therefore, the problem of archiving or compressing data is still as urgent as it was 10 and 20 years ago.<\/p>\n<p>How does information compression occur?<\/p>\n<p>Let&#8217;s give you, as usual, a rough but understandable analogy. Data compression is similar to the production of powdered milk or dried fruit. That is, it is the process of removing water, which can then be added to give the product its original appearance.<\/p>\n<p>And what kind of water can there be in the data? This water is informative. There are many repetitions in the data. This can be used to compress data.<\/p>\n<p>For example, compressing text files goes something like this. A table of words and expressions found in the text is compiled. Then all the words and expressions in this table are given numbers. And all the text in the file is replaced with numbers from the word and expression table. This method allows you to reduce the size of a text file 2-3 times. Sometimes the text is compressed up to 10 times, if there are many repetitions in it.<\/p>\n<p>A program that converts a text file into a &#8220;compressed&#8221; format is called a wrapper. And the file resulting from compression is called a packed or compressed file.<\/p>\n<p>Compressed files are often called archives or archives, which is, strictly speaking, a misnomer. The files were originally called files that were created especially during backup processes. During this process, a single file was created, containing multiple source files and folders. This was the file. Compression was not performed. A similar situation still exists in the Linux operating system, where archiving and data compression are two independent processes. In the MS-DOS operating system, and later in MS Windows, the data compression programs of their early versions began to support both compression and data archiving, that is, they created a compressed file that contained not one, but several source files and folders (archived). &#8230; Since then, in these operating systems, the concept of &#8221;<\/p>\n<p>Since the archive file is not written in text format, text editors cannot work with it. Before opening the archive file with a text editor, this archive must be unzipped. The decompression is done using the same program: a filing cabinet. After unzipping, the text file takes on exactly the same look and size as before.<\/p>\n<p>Text filing cabinets can also archive program files. Only programs are much less compressed than text.<\/p>\n<p>The packers used to compress text and programs cannot efficiently compress audio, graphics, or video files. Other more complex algorithms have been developed for its compression. However, after unpacking, the resulting files differ slightly from the originals (this compression is called lossy compression). But the common human ear does not pick up on this and the common eye does not notice it on the monitor screen.<\/p>\n<p>A brief history of filing cabinets<br \/>\nFrom what I remember, the first popular data file cabinet was the file cabinet named &#8220;ARJ&#8221;. Created archive files with a similar extension &#8220;ARJ&#8221;. It was in the late 80s, early 90s of the last century. These files are still in existence today. They are generally written in DOS encoding.<\/p>\n<p>Then the two most popular archivers on the territory of the CIS appeared: &#8220;RAR&#8221; and &#8220;ZIP&#8221;. They are now represented by the &#8220;WinRAR&#8221; and &#8220;WinZIP&#8221; programs. Also, the &#8220;WinRAR&#8221; program can create both &#8220;RAR&#8221; and &#8220;ZIP&#8221; archives. And &#8220;WinRAR&#8221; can unzip files from a dozen formats. In this sense, &#8220;WinRAR&#8221; is for us a universal and convenient (but not free) archiver.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How is file compression done? As there are many computers, their owners do not have enough memory on internal and removable drives to accommodate their data. The rapid growth of disk volumes does not solve this problem. If 10 years ago we did not have 20 megabytes on the hard drive, today 20 gigabytes are &hellip; <a href=\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How is file compression done?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[49619,27953,49607,49608,49616,49618,49617,49610,27883,27878,49609,49611,49612,49613,49615,49614,24669,27960,24678],"class_list":["post-2351","post","type-post","status-publish","format-standard","hentry","category-audio-video","tag-audio-21-compression","tag-audio-compression-visualizer","tag-audio-compressor","tag-audio-compressor-hookup","tag-audio-compressor-xlr","tag-camtasia-2019-audio-compression","tag-camtasia-2020-audio-compression","tag-flac-compression-audio-quality","tag-how-audio-compression-works","tag-how-does-audio-compression-work","tag-naudio-compress-mp3-frame","tag-radio-compression","tag-radio-compression-device","tag-radio-suppression","tag-radio-suppression-condenser","tag-radio-suppression-package","tag-x-audio-compression-toolkit","tag-youtube-audio-compression","tag-zoom-audio-compression"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How is file compression done? - mp4gain.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How is file compression done? - mp4gain.com\" \/>\n<meta property=\"og:description\" content=\"How is file compression done? As there are many computers, their owners do not have enough memory on internal and removable drives to accommodate their data. The rapid growth of disk volumes does not solve this problem. If 10 years ago we did not have 20 megabytes on the hard drive, today 20 gigabytes are &hellip; Continue reading &quot;How is file compression done?&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\" \/>\n<meta property=\"og:site_name\" content=\"mp4gain.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mp4gain\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-31T15:59:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616\" \/>\n<meta name=\"author\" content=\"R. Arias\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mp4gain\" \/>\n<meta name=\"twitter:site\" content=\"@mp4gain\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"R. Arias\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\"},\"author\":{\"name\":\"R. Arias\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc\"},\"headline\":\"How is file compression done?\",\"datePublished\":\"2020-10-31T15:59:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\"},\"wordCount\":699,\"image\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616\",\"keywords\":[\"audio 2:1 compression\",\"audio compression visualizer\",\"audio compressor\",\"audio compressor hookup\",\"audio compressor xlr\",\"camtasia 2019 audio compression\",\"camtasia 2020 audio compression\",\"flac compression audio quality\",\"how audio compression works\",\"how does audio compression work\",\"naudio compress mp3 frame\",\"radio compression\",\"radio compression device\",\"radio suppression\",\"radio suppression condenser\",\"radio suppression package\",\"x audio compression toolkit\",\"youtube audio compression\",\"zoom audio compression\"],\"articleSection\":[\"Audio and video\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\",\"url\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\",\"name\":\"How is file compression done? - mp4gain.com\",\"isPartOf\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616\",\"datePublished\":\"2020-10-31T15:59:03+00:00\",\"author\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc\"},\"breadcrumb\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage\",\"url\":\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616\",\"contentUrl\":\"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mp4gain.com\/mp4gain\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How is file compression done?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#website\",\"url\":\"https:\/\/mp4gain.com\/mp4gain\/\",\"name\":\"mp4gain.com\",\"description\":\"Mp4 Gain Official Website\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mp4gain.com\/mp4gain\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc\",\"name\":\"R. Arias\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g\",\"caption\":\"R. Arias\"},\"description\":\"R. Arias is the author of this article and has extensive experience for more than 30 years as a recording engineer and audio specialist, as well as more than 20 years of experience creating algorithms related to audio and video. Linkedin\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ricardoariaszorrilla\/\"],\"url\":\"https:\/\/mp4gain.com\/mp4gain\/author\/mp4gain\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How is file compression done? - mp4gain.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/","og_locale":"en_US","og_type":"article","og_title":"How is file compression done? - mp4gain.com","og_description":"How is file compression done? As there are many computers, their owners do not have enough memory on internal and removable drives to accommodate their data. The rapid growth of disk volumes does not solve this problem. If 10 years ago we did not have 20 megabytes on the hard drive, today 20 gigabytes are &hellip; Continue reading \"How is file compression done?\"","og_url":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/","og_site_name":"mp4gain.com","article_publisher":"https:\/\/www.facebook.com\/mp4gain","article_published_time":"2020-10-31T15:59:03+00:00","og_image":[{"url":"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616","type":"","width":"","height":""}],"author":"R. Arias","twitter_card":"summary_large_image","twitter_creator":"@mp4gain","twitter_site":"@mp4gain","twitter_misc":{"Written by":"R. Arias","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#article","isPartOf":{"@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/"},"author":{"name":"R. Arias","@id":"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc"},"headline":"How is file compression done?","datePublished":"2020-10-31T15:59:03+00:00","mainEntityOfPage":{"@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/"},"wordCount":699,"image":{"@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage"},"thumbnailUrl":"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616","keywords":["audio 2:1 compression","audio compression visualizer","audio compressor","audio compressor hookup","audio compressor xlr","camtasia 2019 audio compression","camtasia 2020 audio compression","flac compression audio quality","how audio compression works","how does audio compression work","naudio compress mp3 frame","radio compression","radio compression device","radio suppression","radio suppression condenser","radio suppression package","x audio compression toolkit","youtube audio compression","zoom audio compression"],"articleSection":["Audio and video"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/","url":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/","name":"How is file compression done? - mp4gain.com","isPartOf":{"@id":"https:\/\/mp4gain.com\/mp4gain\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage"},"image":{"@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage"},"thumbnailUrl":"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616","datePublished":"2020-10-31T15:59:03+00:00","author":{"@id":"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc"},"breadcrumb":{"@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#primaryimage","url":"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616","contentUrl":"https:\/\/image.slidesharecdn.com\/tae2-160726143319\/95\/audio-and-video-compression-7-638.jpg?cb=1469543616"},{"@type":"BreadcrumbList","@id":"https:\/\/mp4gain.com\/mp4gain\/how-is-file-compression-done\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mp4gain.com\/mp4gain\/"},{"@type":"ListItem","position":2,"name":"How is file compression done?"}]},{"@type":"WebSite","@id":"https:\/\/mp4gain.com\/mp4gain\/#website","url":"https:\/\/mp4gain.com\/mp4gain\/","name":"mp4gain.com","description":"Mp4 Gain Official Website","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mp4gain.com\/mp4gain\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc","name":"R. Arias","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g","caption":"R. Arias"},"description":"R. Arias is the author of this article and has extensive experience for more than 30 years as a recording engineer and audio specialist, as well as more than 20 years of experience creating algorithms related to audio and video. Linkedin","sameAs":["https:\/\/www.linkedin.com\/in\/ricardoariaszorrilla\/"],"url":"https:\/\/mp4gain.com\/mp4gain\/author\/mp4gain\/"}]}},"_links":{"self":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/posts\/2351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/comments?post=2351"}],"version-history":[{"count":0,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/posts\/2351\/revisions"}],"wp:attachment":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/media?parent=2351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/categories?post=2351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/tags?post=2351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}