AVI format: how an AVI format is composed


Free Download Mp4Gain
picture

AVI format: how an AVI format is composed

AVI

There are at least two sub-blocks in the avi file: header and data. The title contains general information about the movie: image resolution, frame rate, audio format, etc.

AVI

In the header, 32 bits are allocated to record the length of the file. This means that the maximum possible file size is approximately 4 GB. In fact, the actual length of a standard format avi file that editing programs can work with does not exceed 2GB. At the time of the appearance of the format, this seemed to be sufficient, as FAT 16 did not allow disk partitions larger than 2GB, and the length of the file, of course, cannot exceed the size of the logical disk. With the advent of FAT 32, the upper limit of the partition size has moved significantly.

The data sub-block is organized in the form of sequences of records, each of which consists of a frame and a corresponding soundtrack. For video, the division into frames is completely natural, but the sound is a continuous stream, artificially superimposed on the fragments corresponding to the frames. If a video capture device is used to record both video and sound, problems generally do not arise. If the sound is written through a sound card, there is no exact synchronization of the picture and sound, and the sound may “come out of the picture”.

The AVI image supports a wide variety of palettes. They are listed below:

8 bit (256 grayscale);
9-bit YUV (luminance and difference of two colors);
12-bit YUV, 4: 1: 1 (here, 4: 1: 1 is the signal sampling, which is calculated for a specific channel as the product of the base digital encoding frequency by the corresponding ratio: 4 for the channel Y and 1 for color difference channels);
16-bit YUY2, 4: 2: 2;
8-bit color (RGB);
15-bit RGB (16-bit with the most significant bit set to 0, 5 for red, 5 for green, and 5 for blue);
16-bit RGB (5 bits for red, 6 for green, and 5 for blue);
24-bit RGB (standard RGB palette);
32-bit RGB (for informational content, it is completely equal to 24-bit: most significant byte is set to 0, 1 byte is allocated to encode each of the three colors). 32-bit color rendering does not increase color accuracy. The most informative palette is 24-bit RGB
AVI recording can be unzipped or compressed. The most widely used compression algorithm is Motion JPEG. Compression formats are also supported: Microsoft Video 1 (the format works only with 8 and 16 bit color), Microsoft RLE (8 bit color only), Indeo, Cinepak Editable MPEG, which uses only I-frames.

Recently, the DivX compression format has become more and more popular. The codec used for compression is a decrypted version of Microsoft’s MPEG-4 video codec.

AVI data can be exported in various formats.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What is AVI?

What is AVI?

What is AVI

The AVI format was invented by Microsoft over twenty years ago, yet AVI remains one of the most popular formats for storing video information in the world.

Avi

For the first time, the AVI format appeared in November 1992 together with the innovative Windows 3.1 operating system for those times, becoming the main one for storing video in Microsoft Windows operating systems. The abbreviation “AVI” stands for – Audio Video Interleave (interlaced audio and video).

Unlike common formats like MP3 or JPG, AVI is a container that can contain compressed video / audio data using different combinations of codecs. So if MP3 and JPG files are based on using only the main type of data compression (compression) (MPEG Audio Layer 3 and JPEG), an AVI file can contain several types of compressed data (for example, DivX – video + WMA – audio or Indeo – video + PCM – audio), depending on the codec used for encoding / decoding. All AVI files look the same “on the outside” (they have the extension .AVI), but they can be very different “on the inside”.

Recording in AVI format can be done with or with compression. To encode data in AVI, Motion JPEG is commonly used. Compression formats are also supported: Microsoft Video 1 (the format works only with 8 and 16 bit color), Microsoft RLE (8 bit color only), Indeo, Cinepak Editable MPEG, which uses only I-frames.

Most of the time, data in AVI container format is encoded and decoded using the DivX codec, which is a decrypted version of Microsoft’s MPEG-4 video codec.
All Windows operating system software players can understand and play AVI format.

Main disadvantages:
Lack of VBR support
Unfortunately, the AVI format does not support variable bit rate (VBR) audio streams. The developers of the AVI format managed to implement support for the variable bit rate of MP3 tracks, but it does not support sound in the Ogg Vorbis format.

Picture and sound out of sync The
Data in the AVI container is stored as sequences of recordings, each of which consists of a frame and the corresponding soundtrack. For video, the division into frames is completely natural, but the sound is a continuous stream, artificially divided into fragments corresponding to the frames. If a video capture device is used to record both video and sound, problems generally do not arise. However, if the sound is recorded via a sound card, there is no exact synchronization of the picture and sound, and the sound may “come out of the picture”.

AVI data can be exported to other formats.

AVI format: specifications and capabilities
There are several computer video formats, of which, until recently, AVI (Microsoft) was the most popular.

Most frame capture and non-linear editing systems deal with the AVI (Audio Video Interleave) format. This format allows you to store images and sound simultaneously. They are recorded alternately, so that after the frame, there is a sound recording.

Audio Video Interleave is abbreviated as AVI, which stands for “audio and video interleaving.” The .avi file format is known as a media container, developed by Microsoft in 1992. AVI is a file format like MP3 or JPG. But, unlike these formats, AVI is a container format. Meaning it can contain compressed video / audio data using different codec combinations, allowing video and sound to be played in sync. Therefore, if MP3 and JPG files are based on using only the main type of data compression (MPEG Audio Layer 3 and JPEG), an AVI file can contain several types of compressed data (for example, DivX – video + WMA – audio or Indeo – video + PCM – audio), depending on the codec used for encoding / decoding. Like a DVD AVI files support multi-streaming audio and video. AVI files can contain various types of compressed data, such as DivX for video and MP3 for audio.

In structure, the AVI format is a variant of the RIFF format. The file of this format consists of blocks (fragments) that, in turn, can contain other nested blocks. The “top” block – RIFF – contains the form identifier “avi_”, which actually means that we are dealing with an avi file. There are four characters for the identifier, but one of them is not used.