Video / Audio Standards -Codec / Container Part 3


Free Download Mp4Gain
picture

Video / Audio Standards -Codec / Container Part 3

AVI

Container type / characteristics

avi

avi Audio and video interleaving. An old container that is a Windows standard. Although it is widely used, it is rarely used on video sharing sites because it is incompatible with browsers. Most of the editing programs support this AVI format, making it very easy to edit. It’s a good idea to use this as a reference when editing. In addition, there is a large amount of data that can be stored. Video part: “MPEG-1 / -2” “H.263” “H.264” etc.
Audio part: “Linear PCM” “MP3” “AAC” etc.
mov This is a Macintosh standard. It can be played with QuickTime, etc. It works well with browsers and can store a wider range of data than AVI. If you’re on a Mac, it’s the basic container for editing and playback. Video part: “H.263” “H.264” “Pixlet”, etc.
Audio part: “MP3” “AAC” “Apple Lossless”, etc.
wmv Official name “Windows Media Video”. It is a Windows standard. It goes well with web pages. However, since the data format that can be stored is smaller than that of avi, there are few users. Not suitable for editing. Since it supports Digital Rights Management (DRM), it is mainly used for general business and organization video distribution. Video part: “H.264”, etc.
Audio part: “WMA”, etc.
mpg Synonym for mpeg. Compared with avi, etc., the video data that can be stored is very small, only “MPEG2” and “MPEG1”. This format is often distributed as video content on the Internet. Video part: “MPEG-1 / -2” only
Audio part: “MPEG2” “AC3” “LPCM” “DTS” etc.
wav A container format for speech data developed by Microsoft and IBM. It is also described as “WAVE”. Reading is “wave” and “web”. It is commonly referred to as a “wave” to avoid confusion with the Web. Typically often used for uncompressed and linear PCM sampling, it can also contain compressed audio data such as “MP3” and “WMA”. Video part: None
Audio part: “MP3” “WMA” “LPCM” etc.
mp4 There is a codec with a similar name, but this is a container. It is often used for video sharing sites, such as YouTube, that claim to have “high image quality.” In many cases, the voice is distributed as a single unit and in this case it is used for the ringtones of mobile phones. Video part: “H.263” “H.264” etc.
Audio part: “MP3” “AC3” “AAC” etc.
flv It is a video container in flash format that is often used on YouTube. The main content is “H.263 / H.264”. It is widely used in video sharing sites because it is very compatible with web pages. The official name is “Flash Video” Video part: “H.263” “H.264” etc.
Audio part: “MP3” “PCM” “ADPCM” “AAC” etc.
3gp This is a video file recorded by 3GPP. It is used in the “i-motion” function of the “FOMA” mobile phone service provided by NTT DoCoMo. If you want to play the video on a doCoMo mobile phone, save it in this format. (Except for smartphones) Video part: “H.263” “H.264”, etc.
Audio part: “AAC” “AMR”, etc.
3g2 This is a video file recorded by 3GPP2. It is based on MP4 format. It is used in the “EZ movie” function of KDDI’s “au” mobile phone service. If you want to play the video on your au mobile phone, please save it in this format. (Except for smartphones) Video part: “H.263” “H.264”, etc.
Audio part: “AAC” “AMR”, etc.
Term supplement
Some new terms have emerged which will be briefly explained here. I would like to write more details in another article.

fire
A still image. The video is made to appear as if it is moving by displaying a series of still images at high speed. 30 frames per second means that 30 still images are displayed per second. The unit is “fps” (the frame rate is said to be 30 fps, etc.). If this value is high, the video will move smoothly. (Frames per second)

Compression rate
It is often used as an index of how much the file size is suppressed.

Bit rate
This is an expression that represents the amount of data (number of bits) that can be sent and received per second. The unit is bits per second (bps). If this value is large, it will increase the amount of data that can be sent and received per second and improve the quality of music and videos.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Video / Audio Standards -Codec / Container Part 2

Video / Audio Standards -Codec / Container Part 2

AVI

Codec types / characteristics
film

AVI

The following codecs have little or no deterioration in image quality. When used for video editing, deterioration of image quality due to encoding is minimized. Also, the load is low both during compression and playback, and we are good at reverse playback. Instead, the amount of data tends to be large.

Motion JPEG Reads as Motion JPEG [Motion Jepeg: MJPEG]. As the name suggests, it is a JPEG compression of each frame of the video. Since JPEG compression deteriorates the image quality to some extent, since there is no compression between frames, the playback and compression load is small, and it is easy to delete frames one by one. It is often used in the recording part of digital cameras.
Lossless compression codec When compressed in this format, there is no deterioration of the video except for the color space. The famous ones are Huffyuv and Lagarith Lossless Video Codec. It is recommended to use it as an intermediate format when you do not want to deteriorate the image quality but want to reduce the capacity, or when editing a video.
The following codecs are formats intended to save and distribute edited and created videos. The data capacity is very small, but it is degraded compared to the original video. Also, because it uses a complicated compression algorithm, it is not suitable for editing work such as joining videos, cutting and inserting. Basically the playback load is high.

H.263 A video format developed for low bit rates. Often used for videophones. If you use DivX, Xivd, etc., it will be in this format. There are many users because the playback load is low compared to other codecs. However, the capacity is a bit large.
H.264 It is a very popular video format today. It is widely used in terrestrial digital broadcasting, mobile phones, next-generation DVD, etc. It is an excellent codec with a high compression rate and little deterioration in image quality. Good for playing low to medium bit rate videos. Instead, the playback load is quite high, so some machine power is required to reproduce it. Encoding a high-capacity video is likely to cause dropped frames. Sometimes called “MPEG-4”.
MPEG-1 Read as MPEG-1 [Mpegwan]. Created by an organization called Moving Picture Experts Group (MPEG). It is used for video CDs. It was a format that was thought to be able to play VHS quality video on CD, but now that VHS has become obsolete and DVDs and BDs have gone mainstream, it has to be said that there is less need to compress in this format. The playback load is low, but the capacity is high.
MPEG-2 This is the mainstream MPEG videos. Since it is good for playing at medium to high bit rates, it is used on DVDs and digital terrestrial broadcasts that require high picture quality. Since it is a lossy compression, the compression rate is high and the data capacity can be reduced. Since the data transfer rate requires 4 to 15 Mbps for both video and audio during playback, it is not suitable for low bit rate video.
Audio
PCM is an uncompressed audio codec that has been around for a long time. It is one of the methods for converting analog data into digital data, which is called pulse code modulation [PCM]. It can be played on most computers. The sound quality is very high, but the capacity is also great. Most of them are in WAV containers by themselves.
LPCM Read as linear PCM. One of the PCM methods, also uncompressed audio. Since there is no lossy compression, this is also very high quality sound. However, the capacity is also large. It is widely used in the audio part of DVD and BD, games for PlayStation 3, etc.
MP2 MPEG audio codec. The extension is “.mp2” or “.mpc”. It is often used as a set with MPEG1 and MPEG2 videos. Some DVDs are recorded in this format. The compression ratio is neither high nor low.
MP3 is an audio codec that has been exploding since 1998. You may have heard of it. The extremely high compression ratio can reduce the amount of data. Also, since compression is done using human auditory psychology, there is little deterioration in sound quality despite the high compression rate. Due to its excellent format, most devices and software support playback. By the way, the official name is “MPEG Audio Layer-3”.
AAC AAC [Advanced Audio Coding] is a standardized format that aims to achieve high sound quality.

Video / audio standards -Codec / Container

Video / audio standards -Codec / Container-

AVI

In the past, when it came to video, televisions and camcorders, and audio (music), cassette tapes and CDs didn’t require many standards.

AVI

However, now that the Internet has become mainstream, videos have also appeared that can be embedded in web pages. In addition, small portable terminals such as iPod, Walkman and PSP support music and video playback, so it is necessary to have adequate video and audio standards for each one.

As a result, there are now many video and audio standards. Since each has its own characteristics, some devices (software) can be played and some devices (software) cannot. For example, the video format that can be played on the PSP is the MP4 format, and the audio on the iPod and the Walkman is in MP3 format and WMA format.

And it can’t open files other than the supported formats.

Many people want to carry video and audio on their mobile terminals, but as mentioned above, there are various content formats, and the formats supported by the device (software) are different. It is easy for the phenomenon of “I want to play with, but I can’t, I’m in trouble” to occur.

To avoid this, please understand what file format there is in the world along with its characteristics and “convert (encode)” the file to a format that supports playback, or use software that supports playback. You will need to prepare it.

In this article, I will first focus on “containers and codecs”, which are the concepts necessary for proper playback and conversion, and “video / audio formats and characteristics”.

* Since the explanation is quite approximate, the content may be incorrect or too simple to be misleading, so if you want more information, check the specialized site.

Encode decode

Encode has the meaning of “encode”. If you handle the video and audio data as it is, it will be a large amount of data, so the computer will do a lot of calculations, encode it, and reduce the storage capacity. This work is called coding. So the word “compression” is also used.

Decode has the opposite meaning of “decoding”, “decompression” and “playback”. Encoded video and audio can be played back by decoding with a compression / decompression program called “Codec” for each encoding method.

Since playback is the main job, the words “unzip” and “unzip” that are used for archives such as zip are not used.

Container codec
Before we start talking about audio and video standards, let’s talk about “containers” and “codecs”.

Codec
Codec [Codec] refers to devices / software and algorithms that can encode (encode) and decode (decode). As I wrote earlier, it is an item related to video and audio compression / decompression.

Compression and playback methods differ by codec type, and data capacity and playback load also differ, so there are appropriate playback environments for each.

container
To be precise, it is called a “container format”.

A container is a type of file format that defines how audio and video data is stored. Simply put, it is a “box” that contains audio and video data. There are different types of containers (boxes) and the data formats that can be stored in each one are different.

If you want to store the video and audio together, you will need to store the data in this container. Since there are restrictions on the data formats (differences depending on the codec) that can be saved in the container, it is necessary to encode them carefully.

Know the “bit rate” that is important in determining the amount of video data and image quality.

Know the “bit rate” that is important in determining the amount of video data and image quality.

Video

This time, we will learn about “bit rate” which is one of the important factors in determining the image quality of video.

VIDEO

It is deeply related to this article, but you can learn more about video screen resolutions and frame rates in another article.

If you are unsure, we recommend that you read the article on screen resolutions and frame rates before reading this article.

Points to consider when deciding the frame rate (fps) of a video
The optimal resolution of the video screen is not always Full HD! Consider the screen resolution of the video.
Table of Contents
What is a bit rate?
Relationship between screen resolution, frame rate, and bit rate
Based on the above, let’s consider the relationship between resolution / frame rate, amount of data, and bit rate.
What to do to improve image quality
Consider the optimal resolution, frame rate, and bit rate for each type of content.
Points for building a video distribution service Free distribution
Production of video content that can be done in-house Learning materials are being distributed

What is a bit rate?
Bit rate is expressed in bps.
Short for bits per second, which indicates how many bits of data a video creates per second.
For example, a 1 Mbps video has 0.125 megabytes of data per second. It will be 7.5 MB in 1 minute.
As with screen resolution and frame rate, you can decide what bit rate you want.

Since 8 bits are 1 byte, it becomes “1 Mbit ÷ 8 = 0.125 Mbytes”.
Relationship between screen resolution, frame rate, and bit rate
Let’s review a bit.

The screen resolution indicates the number of pixels in the video.
The frame rate shows how many images a video is made up of per second.
Bit rate represents the amount of data per second.

Based on the above, let’s consider the relationship between resolution / frame rate, amount of data, and bit rate.
4K resolution is four times the area of ​​Full HD, so more data is required to draw.
A 60fps video has twice as many frames as 30fps, so more data is required to draw.

for instance

If you want to make a “1Mbps Full HD / 30fps” video with the same image quality in “4K / 60fps”

Resolution area 4 times x frame rate 2 times = 8 times

The amount of data required is 8 Mbps in theory.

However, as mentioned above, the bit rate can be set arbitrarily, so it can be set to “1Mbps video at 4K / 60fps”.

There is no point in converting a Full HD / 30fps video into a 4K / 60fps video.
Even if you double the number of 30 videos per frame to 60, the same image will continue for 2 frames and the number of frames will be wasted.
Similarly, when it comes to resolution, it doesn’t make sense to extend what originally only had Full HD resolution to 4K.
Therefore, it is advisable to prepare the video, which is the material for creating video content, with the highest possible resolution and frame rate. It is not in vain when converting to lower numbers.
If you’re not ready, don’t forget to set the resolution and frame rate below the footage video.
What to do to improve image quality
It turned out that the higher the resolution and the bit rate, the better the video cannot be drawn without using a large amount of data.

So to improve the image quality, should the bitrate be increased anyway?
This is not bad, but the article on screen resolutionBut the same thing that I wrote happens.
In other words, the higher the bit rate, the larger the file size.
If the file size is large, the transfer of video data to the viewer will be slow, and in the case of smartphones, the monthly data traffic will soon disappear.

With that in mind, we need to find the best bit rate.
When distributing videos on the Internet, the lower the amount of data, the better.
The correct answer is to aim for a video with a small amount of data and sufficient image quality.

Next, I prepared two videos of the same video with different bit rates. See how the image quality changes with the bit rate.

Both are Full HD, 30 FPS. Compare them in full screen.

What is the difference between avi and mp4?

What is the difference between avi and mp4?

AVI

There are various video file formats, but do you know the difference between “AVI” and “MP4” file formats?

AVI VIDEO

“AVI (extension: .avi)” is an abbreviation for “Audio Video Interleave”. It is a standard video file format for Windows developed before 1992 and can use various codecs such as Xvid, Divx, MPEG-4, and H.264. “MP4 (extension: .mp4, .mv4)” is a standard developed based on MOV and standardized in 2001, and it is a container file that stores audio and video as MPEG-4. Comparing AVI and MP4, MP4 has better image quality and smaller file size Basically, there is nowhere that AVI is superior when comparing an AVI format file with an MP4 format file. Since MP4 is a later standard, it is only natural that MP4 is technically superior.

If you have a video file in avi format, you can reduce the file size by converting it to mp4 format. It is possible to convert without deterioration, so if you are interested, please see the article linked below.

How to convert flv / avi / wmv videos to mp4! [No deterioration / easy]
There are various types of video files, such as flv, avi / wmv, etc., as well as mp4, but some programs do not support them and they may not be usable and need to be converted. This time, I will show you how to convert video formats like flv and avi / wmv to mp4.

Thumb

What is the difference between avi, mp4 and H.264?

I explained the difference between AVI and MP4 above, but I think some people may be interested in “H.264”. H.264 (MPEG-4 AVC) is one of the video compression standards and was recommended in 2003. It has more than twice the compression efficiency of MPEG-2 and was a format that was often used when uploading videos to sites. of internet videos circa 2010s.

The difference between AVI, MP4 and H.264 is that H.264 is one of the video codecs in MP4 as explained above. So it is officially one of the standards used in MP4, so keep in mind that it is completely different from AVI and it is one of the MP4 video codecs. Although it is a difference in performance, it is okay to acknowledge that AVI is the worst. The image quality of videos encoded with MP4 (H.264) is better than that of MP4, which does not specify the encoding method. H.264 is now an inferior technology to the latest video compression codecs, but many users still use it

What is the video file format?

What is the video file format?

Video Format

Differences with the main types of video file formats

VIDEO FORMAT

What is a video file format?

Have you ever become aware of the “video file format” when opening or downloading video files using your computer or the Internet?

The videos that we reproduce through our computers and the Internet are made by moving a series of still images in seconds in the same way as flip charts.

In other words, a video file is the same that contains a large number of photos, and if you try to save it to your computer or smartphone as is, the capacity will be immediately reduced.

Hence, a mechanism is used to compress the video file into various file formats and then save it.

Compressing into some video file format in this way is called “encoding.” Since the video file format used for encoding is selected according to the purpose, it cannot be unconditionally said that “which file format is excellent and easy to use.”

Here, we have summarized the types and differences of video file formats.

Video file format “AVI”
Video file format “AVI”
Sort the AVI alphabet of the acronym Audio Video Interleave by hand in the computer system.

There are various types of video file formats such as “AVI”, “WMV” and “FLV” that are used on personal computers and smartphones.

Generally speaking, the difference between each video file format is “difference in standard when compressing”.

Since the amount of original data stored in the standard used for video compression is very large, various types of formats have been developed in terms of compression rate, image quality after compression, compatibility with OS and software, etc. . The competition is repeated.

For example, the characteristic of the AVI file format is that it was developed as a standard file format of the Windows operating system, assuming it handles video with audio on Windows.

Video files encoded in AVI format can be played with the “Windows Media Player” that comes standard with Windows, and can also be played with other software that supports AVI.

Video in AVI format is a versatile file format for Windows users.

Relationship between AVI and codec / Problem
AVI and codec
You should also know how to install “codecs” to play videos encoded in various video file formats.

A program called a codec is used for video compression.

To play a video file compressed in the file format, the same codec is required as when compressed.

The codec may already be installed on your player, but if it is not installed, you will need to install the codec separately.

The codec is often the cause of the problem that the video file encoded in AVI format cannot be played. Since the same type of codec used for compression is not installed on the computer to play the video, it is often impossible to play the video.

AVI “supports multi-codec compression”, but you can’t tell the codec type at the time of compression just by looking at the file extension (.avi). Therefore, for users watching videos, it is difficult to determine the type of codec required and it is difficult to prepare the environment.

About file formats like “WMV” and “FLV”
Let’s check out video file formats other than AVI.

1. WMV
WMV is an abbreviation for “Windows Media Video”, which is a video file format developed by Microsoft. Like the previous AVI, it is a file format compatible with the Windows standard, but it has the characteristic that it was developed with streaming playback as a previous step.

Since it uses a compression method with a copy protector called DRM (Digital Rights Management), it is often used when you want to distribute copyrighted videos such as movies and animations.

Differences with the main types of video file formats

What is a video file format?

Have you ever become aware of the “video file format” when opening or downloading video files using your computer or the Internet?

The videos that we reproduce through our computers and the Internet are made by moving a series of still images in seconds in the same way as flip charts.

In other words, a video file is the same that contains a large number of photos, and if you try to save it to your computer or smartphone as is, the capacity will be immediately reduced.

Hence, a mechanism is used to compress the video file into various file formats and then save it.

Compressing into some video file format in this way is called “encoding.” Since the video file format used for encoding is selected according to the purpose, it cannot be unconditionally said that “which file format is excellent and easy to use.”

Here, we have summarized the types and differences of video file formats.

Video file format “AVI”
Video file format “AVI”
Sort the AVI alphabet of the acronym Audio Video Interleave by hand in the computer system.

There are various types of video file formats such as “AVI”, “WMV” and “FLV” that are used on personal computers and smartphones.

Generally speaking, the difference between each video file format is “difference in standard when compressing”.

Since the amount of original data stored in the standard used for video compression is very large, various types of formats have been developed in terms of compression rate, image quality after compression, compatibility with OS and software, etc. . The competition is repeated.

For example, the characteristic of the AVI file format is that it was developed as a standard file format of the Windows operating system, assuming it handles video with audio on Windows.

Video files encoded in AVI format can be played with the “Windows Media Player” that comes standard with Windows, and can also be played with other software that supports AVI.

Video in AVI format is a versatile file format for Windows users.

Relationship between AVI and codec / Problem
AVI and codec
You should also know how to install “codecs” to play videos encoded in various video file formats.

A program called a codec is used for video compression.

To play a video file compressed in the file format, the same codec is required as when compressed.

The codec may already be installed on your player, but if it is not installed, you will need to install the codec separately.

The codec is often the cause of the problem that the video file encoded in AVI format cannot be played. Since the same type of codec used for compression is not installed on the computer to play the video, it is often impossible to play the video.

AVI “supports multi-codec compression”, but you can’t tell the codec type at the time of compression just by looking at the file extension (.avi). Therefore, for users watching videos, it is difficult to determine the type of codec required and it is difficult to prepare the environment.

About file formats like “WMV” and “FLV”
Let’s check out video file formats other than AVI.

1. WMV
WMV is an abbreviation for “Windows Media Video”, which is a video file format developed by Microsoft. Like the previous AVI, it is a file format compatible with the Windows standard, but it has the characteristic that it was developed with streaming playback as a previous step.

Since it uses a compression method with a copy protector called DRM (Digital Rights Management), it is often used when you want to distribute copyrighted videos such as movies and animations.

“The origin of AVI and its codec”

“The origin of AVI and its codec”

AVI

■ What is AVI?

avi

When it comes to Real and QuickTime, AVI is the next choice. AVI is a format provided by Microsoft for storing multimedia data. The official name is “Audio Video Interleaving”, and it is characterized by a structure in which image data and audio data are interlaced alternately based on a format called RIFF (the name “Audio Video Interleaving “is also here. I come from).

■ AVI Background

As I mentioned a bit last time, in September 1991, Microsoft released a package called “MME (MultiMedia Extention)” as an extension to Windows 3.0 for handling multimedia. However, there was no format that could handle video in this (this is probably the first reason Apple’s QuickTime lags behind).

This feature is not covered by Windows 3.1, which appeared in April 1992, and is finally realized by an expansion pack called “Video for Windows (VFW)” which appeared in November of the same year. The AVI format is compatible with this VFW. However, at this point, QuickTime has a sizable stake, and with the advent of “QuickTime for Windows”, the ground has been formed that “QuickTime is good for Windows.” Of course, QuickTime is not all-purpose, and VFW-compatible products have been prominent from the beginning, for example in video capture, but still it took a long time for VFW to catch up with the initial lag.

Well, that AVI format. The most important feature is that you do not define the codec yourself. In other words, it is an “everything” format. Figure 1 is a very simple summary of the AVI structure defined in the AVI 1.0 format, but the one that is correctly defined in the AVI format is “RIFF Header / AVI Header (avih) / MOV Header (in all three types of” movh ) “, the stream header and MOV snippet just indicate that” stream format definition is entered here “and” actual data is entered here. “After all, in the case of the first VFW, both the audio and the video were uncompressed.

If you really create it with this, an AVI file will be created with an internal structure as shown in Fig. 2. If it is a 30fps video, it can be handled as a beautiful video if you play it from your head in a format that alternately alternates a still image every 1/30 of a second and 1/30 of a second of audio.

Also, there are no hard stories like this method and coding, so even a poorly performing PC at the time could be fully used. However, these methods make the file size too large. For example, assuming a 320 x 240 pixel, 24-bit color, 22KHz / 8-bit stereo display, the image alone is 6.6MB per second and the audio is 1.3MB, for a total of approximately 8 MB. Even if you use the full capacity of the CD-ROM (650MB), it is a terrifying size that can only record 81 seconds, which is absolutely useless.

■ Various codecs

Therefore, we will combine several codecs with the AVI format and try to compress the video using it. A codec called “Cinepak” developed by Radius of the United States was used relatively from the beginning, and now Compression Technologies has taken care of this and released a product called “Cinepak Pro” (Cinepak itself is released. Already included as standard in Windows from the beginning).

Then a codec called “Indeo” developed by Intel became quite popular. There are many popular versions of this Indeo, such as 3.2 / 4.1 / 5.1, but the problem is that they are not compatible with each other. That being said, in most environments it is common for all codecs to be included as standard, and for normal use it shouldn’t be a problem. By the way, Intel withdrew from the development of “Indeo 5.1” in the end, and Ligos Corporation is currently developing and supporting it. The latter is sold under the name “Indeo XP”.

Microsoft itself also developed the codec. That is what is called “Microsoft Video 1”, which is limited to 8 or 16 bit colors, but the compression ratio was not very high.

It can be subtle to include this in the codec, but the AVI format has a file size limit of 2GB or less. This 2GB was a size that I would not exceed in the 1990s, but after 2000 it is a size that easily exceeds when capturing TV etc., especially when using a PC for absent recording etc. It was a big problem doing it. A method called AVI Reference Format was designed to solve this problem.

What is the difference between avi and mp4 format?

What is the difference between avi and mp4 format?

AVI vs MP4

What is the difference between avi and mp4 format? Almost all internet users have watched and downloaded video files. In order not to get confused about the playback media, it is useful to pay attention to the video format. The most common are avi and mp4.

MP4 vs AVI

What is avi
What is avi This format is a media container. It can contain both audio and video data. Thanks to a special data compression system, the image and sound of this file are reproduced synchronously. At the same time, avi supports multi-threaded video and audio files.

Avi has a high quality image due to its high resolution, so it is used in powerful media. This option is suitable for home DVDs and can also be opened using special programs on a PC.

On a note! Usually avi files can be read on all PCs, as Windows has a built-in media player that supports this format.

Benefits of .Avi:

high quality picture and sound;
supports multi-threaded video and audio files;
readable by almost all players.
This is a fairly old format that was first used in the Windows system in 1992. Nowadays, it has undergone changes, it does not lose its popularity and advantages.

What is mp4
You are familiar in many ways with the famous Youtube video hosting. Mp4 is also a synchronous video and audio playback format. Also designed to display still images and captions. It does not require a powerful device processor to play it, so it is compatible with simple players on smartphones.

what is mp4

This format has some similarities to the previous one:

the same MPEG-4 compression method;
the possibility of synchronized audio and video playback;
maintain multi-threaded audio and video;
supported by many players.
At the same time, the considered formats also have differences.

What is the difference
The main differences are as follows:

Quality. The first option reproduces better sound and image.
Different way of decoding.
Different file weights. Mp4 weighs less, making it very suitable for phones.
avi or mp4

To sum it up, let’s say avi is a heavyweight file with high quality image and audio, best suited for DVDs and home PCs.

Mp4 is a lightweight file that does not require a lot of processing power to play, suitable for watching videos in a browser and on smartphones.

What is the AVI format?

What is the AVI format?

Avi | Icono Gratis

The AVI format was invented by Microsoft more than twenty years ago, however, AVI is still 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, for those times, the Windows 3.1 operating system, becoming the main one for storing video in Microsoft Windows operating systems. The abbreviation “AVI” stands for – Audio Video Interleave.

Unlike common formats like MP3 or JPG, AVI is a container that can contain compressed video / audio data using different codec combinations. 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. Motion JPEG is generally used to encode data in AVI. 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 the 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 yet support sound in the Ogg Vorbis format.

Picture and sound out of sync The
Data in the AVI container is stored in the form of sequences of recordings, each consisting 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”.

What is AVI?

What is AVI?

AVI

Advantages and disadvantages of AVI format

AVI

AVI, also called Audio Video Interleaved, is a multimedia container format introduced by Microsoft in November 1992 as part of its Windows video technology. It is currently the most popular video format in the world. AVI files can contain audio and video data in a container file that allows synchronized playback of audio and video. As a DVD video format, AVI files support multiple video and audio streams, although these functions are not widely used.

AVI

Pros and cons of AVI:

Pros:
It can be used for multiple platforms.

Disadvantages:

1 – AVI does not provide a standard way to encode aspect ratio information, as a result of which players cannot select the correct aspect ratio automatically and some AVI videos may not play.
2 – There are several competing approaches, including the time code in AVI files, which affects the usability of the format in post-production film and television, although it is widely used.
3 – AVI cannot hold some specific types of Variable Bit Rate (VBR) – data validly (such as MP3 audio with a sample rate below 32 kHz).