The Magic of Video Encoding and How it Enhances the Web

With all of the web video streaming services at our disposal that can instantly serve up 1080p video, it is easy to forget how much of a challenge it is to store and encode moving images and sound. When we think about analog motion picture, film comes to mind and it is easy to visualize the difficulties of loading, storing, protecting, and projecting it. Even relatively short films are incredibly bulky and difficult to manage, giving us some rationale for why we needed to digitize video.

However, there is a complication: audio and video information, in their raw form, take up huge amounts of memory. High quality uncompressed digital audio is made up of around 44 thousand samples, each usually 16 or 24 bits per sample, for every second of playback. For even a three minute pop song this adds up quickly. Uncompressed video is a collection of pixel arrays, usually 24 or 32 bits per pixel, and when you multiply the resolutions of the image by the 30-60 frames per second that you can expect from video, you will be faced with a massive amount of storage. Even though storage is very cheap these day and companies like Google deal in petabytes worth of storage at a time, files of that size are impossible to send over a network with any kind of real-time reliability. This is where encoding comes in: it has enabled the rich playback abilities that we enjoy today.

Encoding schemes such as MPEG take advantage of the fact we maintain persistence of vision and are more susceptible to high frequency changes in an image sequence. Ever wonder why you will usually see small blocky regions in an encoded video? This is because the image is given a spatial frequency analysis in blocks that are usually 8×8. Converting something such as an array of pixels or audio samples into a sum of cosines (known mathematically as DCT) leads to a representation that is significantly more compact, and in the case of most video there is little change from pixel to pixel. The most current encoding schemes, on top of this type of analysis, can perform recognition of objects in frames and motion estimation so that only changes in the image that are perceptible to the viewer are part of the output. What this means is orders of magnitude less information that must be transmitted in order to play the video at reasonable quality.

This is just scratching the surface of the abilities of modern video encoding, but we have established that it is an essential part of modern media delivery capability and a core driver to value in many businesses. Contact us to learn more about our efficient, high quality enterprise video encoding services.

You may be interested

The Essential CDN Glossary
CDN
5790 views
CDN
5790 views

The Essential CDN Glossary

Nadia Benslimane - November 21, 2019

Why Have We Decided To Create a CDN Glossary? Whether you are new to the world of CDN, or have been involved in it for years, there…

Laravel Migration Operations and Common Errors
Software Learning Center
110 views1
Software Learning Center
110 views1

Laravel Migration Operations and Common Errors

Tolga Karabulut - March 30, 2020

Common Errors Related To Laravel Migration This week, I will talk to you about migration with Laravel and some common Laravel migration errors. But first, what is…

The Impact Of Coronavirus On The Streaming Industry
OTT
1550 views
OTT
1550 views

The Impact Of Coronavirus On The Streaming Industry

Tushar Sonal - March 23, 2020

How Is Coronavirus Affecting The Streaming Industry? The unprecedented public health crisis, that the coronavirus outbreak is, has been declared a pandemic by WHO, on March 11.…

Swoole Installation and Laravel
Software Learning Center
559 views1
Software Learning Center
559 views1

Swoole Installation and Laravel

Tolga Karabulut - March 18, 2020

Swoole and Laravel Hello again everyone, today I will try to tell you more about Swoole. It doesn't matter whether you've heard of it before or not,…

Most from this category

The Essential CDN Glossary
CDN
5790 views
5790 views

The Essential CDN Glossary

Nadia Benslimane - November 21, 2019
Shared vs Private SSL: What Is Best For You?
How To
515 views
515 views

Shared vs Private SSL: What Is Best For You?

Nadia Benslimane - March 11, 2020
What On Earth is Edge Intelligence?
Tech News
856 views
856 views

What On Earth is Edge Intelligence?

Tushar Sonal - February 28, 2020
A Deep Dive Into AKSELA
CDN
694 views
694 views

A Deep Dive Into AKSELA

Nima Najaflou - February 21, 2020