📜 ⬆️ ⬇️

Pro Video Compression - Introduction

Days go by, video quality requirements are constantly increasing. At the same time, the width of the channels and the capacity of the carriers could not keep up with this growth if the video compression algorithms had not been improved.
Then we will talk about some basic concepts of video compression. Some of them are somewhat outdated or described too simply, but at the same time they give a minimal idea of ​​how everything works.

image
Search for motion vectors to compensate for motion (-: More on this ...

Characteristics of the video stream


Almost everyone knows that any video is a set of static pictures that will replace each other in time. Further we will call this ordered set a video stream. They are different, so here it is extremely useful to conduct a small classification:

Why do I need to compress video?


If we transmit video uncompressed, then no matter what is serious, we will not have enough communication channels or space to store data. Suppose we have an HD stream with characteristics:
1920x1080p, 24 fps, RGB24 and calculate the “cost” of such a stream.
1920 * 1080 * 24 * 24 = 1139 Megabit / s, and if we want to record a 90 minute film, then we need 90 * 60 * 1139 = 750 GB! Cool? This is despite the fact that a video of amazing quality with the same 1920x1080p on BluRay will occupy 20 GB, that is, the difference is almost 40 times!
Obviously, the video requires compression, especially given the fact that you can reduce the size of 40 or more times, while leaving the viewer in awe.

What can you save?



Instead of conclusion


I tried to tell some basic concepts, not much loading with technical details. Next, I will talk about the structure of codecs, containers, etc. For those who are seriously interested in the compression and processing of video data there is a website compression.ru, supported by the native laboratory of computer graphics and multimedia VMK MSU.
To be continued…

Source: https://habr.com/ru/post/111244/


All Articles