What is an audio or video data container Part 2


Free Download Mp4Gain
picture

What is an audio or video data container Part 2

digital containers

First the proprietary DivX codec, then its open counterpart Xvid, helped burn a DVD to a CD. The quality was, of course, much worse than that of the DVD.
But an hour and a half of film took up 700 MB and in the 2000s the boom in film piracy was linked precisely to these codecs. If there were movies on the computer, they were movies of this format, with rare exceptions.
And since 2003 modernity begins. The Joint Video Team, under the auspices of the ubiquitous Moving Picture Experts Group, introduced the H.264 codec, which encodes video at the bottom of the post.

Well, almost after all, since then it was finalized, and YouTube generally outperformed my video in VP9 =) For example, in 2007, a plugin for H.264 was released – SVC (Scalable Video Coding), which not only complicated decoding and so on is not an easy codec for computers, it also made it possible to store video at various resolutions in such a format that the highest were dependent on the lowest. Most likely, you have seen pictures on the Internet in a progressive jeep, when they are not loaded from top to bottom, but first in squares, and then everything works out better until they are fully loaded. Here’s a similar story. With the advantage that devices that need to output video in a lower resolution than video, they may not waste resources decoding unnecessary layers.
And the codec consumes a lot of resources. It contains a lot of advanced technologies that I am unfortunately not strong at. However, today, even phones successfully cope with FullHD video in this format, and high-end ones also use 4K.

At the same time, the bit rate of such a 1080p video fluctuates around 2 Mbps, and even less without sound. And the fact of how much it is possible to reduce the amount of data by intelligently increasing the volume and complexity of the calculations still amazes me.

In 2006, Blurey records appeared.

In two years they have supplanted their competitor HD-DVD. They are still alive. The databases were developed by an entire consortium of large companies. Disks come in one layer and two layers, with capacities of 25 and 50 GB, respectively. The video for them is encoded in MPEG-2, MPEG-4, H.264 and the new Microsoft VC-1 codec at the time.
For HD-DVD, the capacities were a bit more modest (15 and 30 GB), but they could also be double-sided. The codec set is the same.

At the same time, the future is slowly approaching. Many would like to meet you in the person of the free VP9 codec, but it is most likely the corporate smile of H.265, which is also called HEVC. What can I say with the coming =)

Seriously, both codecs will find their place. Already today you can find video embeds on sites that are implemented in the open WebM format, which uses VP9 or 8. And since Google is only forcing the use of VP9, ​​YouTube will also support both new codecs.
Both codecs are not revolutionary, but this is another round of video technology. Videos in H.264, VP8, H.265 and VP9 look great. Only the last two are smaller and have a higher usage ceiling. Another question is how much faster or slower will video be encoded in new formats, so that modest content producers like Slaylama are comfortable too. Yes, and these codecs have no special competitors, because today it is important again whether devices can decode video hardware to hardware – your smartphone can handle any open source Theora without any problem, but it will download much faster. So we have good and bad again, Coca-Cola and Pepsi, Android and iPhone, VP9 and H.265.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What is an audio or video data container

What is an audio or video data container

Digital Container

A container is a file format or data stream that encodes data in one way or another.

Codecs and Containers

A codec is an encoder and decoder. Something that transforms the data. In the case of media, codecs are designed to compress the data stream and are often lossy.

Within the DV formats, the container can be AVI, Quicktime or the lesser known MXF. The codecs within these containers and formats may be different.

If we are talking about video compression, then there is a general rule of thumb: the more advanced the media we encode, the smaller the data stream or the file size, but more resources will be required for playback with subjectively equal recording quality.

Codec development took place in parallel with the growth of computer performance.

In 1988 the H.261 codec appeared. Few have heard of it, although it was in it that the concepts of keyframes, block vector transforms, and other technologies appeared, which are now used in all popular codecs.
That is, the video is not stored as a sequence of frames, as in a movie. The video is analyzed by the encoder, which finds an abrupt change in the image, for example the beginning of a new scene, and saves that frame, which is called the reference frame. And until the next keyframe, describe only the changes in this frame over time, dividing the image into blocks.

A group of MPEG-1 compression standards has been developed in the 93rd Moving Images Expert Group (MPEG), formed by the International Organization for Standardization (ISO).

With respect to H.261, it was possible to construct changes not only from the previous frame of reference, but also from the next one; and also to encode some section isolated from the rest.

In 1996 MPEG-2 appeared. It is for them that DVDs will be encoded later, you can imagine the scale of distribution. Interlaced scanning is back in the game, so there is nothing radically new.
It is necessary to dwell on the DVD video in detail. These discs appeared in the distant 96, and by 2003 they had become the leading consumer video format.
Movies were recorded at 720 × 576 pixels, which is the same as the D1 format. At the same time, compression made it possible to reduce the bit rate, that is, the data stream, to 9.8 Mbps, which made it possible to write movies on 4.7 GB discs. Coding format: 4: 2: 0, with decreased resolution of the chrominance channels; This trick allows you to reduce the size of the files without significantly affecting the quality of the image, because the luminance channel remains at the original resolution.
The third MPEG does not exist separately, all its chips were absorbed by the second. It also has nothing to do with mp3. They started developing it roughly on par with the second, aiming for higher bit rates, but then they solved all their tasks within the MPEG2 framework.