About modern audio encoding formats


Free Download Mp4Gain
picture

About modern audio encoding formats

Digital Audio Quality

While MP3 is still the de facto format for compressing music on the computer, there are many other lesser known compression standards. Some of them are outdated and practically unused, some have appeared recently and have not had time to occupy their niche yet. Here I will focus only on formats that use lossy compression, as they allow you to achieve the highest degree of compression of audio data.

Digital audio qualty
What is lossy compression? Only the file encoded in this way and then again decoded into a wave file will be binary different from the original file (i.e. the content of the files will be different), although the difference may be subtle or completely invisible to the ear. How do you manage to achieve such a result? These questions are answered by psychoacoustics (see, for example, a selection of articles from the journal “Sound Engineer” for 1999-2000), a relatively new science that deals with the study of how the human brain perceives sound. The fact is that we do not perceive all the solid information. For example, we can hear footsteps on an asphalt road quite clearly in the absence of strange sounds, but the footsteps themselves are completely inaudible if a passenger car passes. This is the so-called masking effect: a quiet sound becomes completely inaudible if there is a strong sound source nearby. This effect, along with some others, is used in psychoacoustic models of modern codecs. The combination of conventional data compression methods and knowing what information is perceived by our brain and what is not, allows you to achieve a music compression ratio of 1:10 with an acceptable sound quality.

Below I have provided a brief overview of the most common and well-known music file compression formats that could be used to create a home music collection.

Wave file with ADPCM compression

The Microsoft ADPCM (Adaptive Differential Pulse Code Modulation) codec, once popular with hackers who didn’t want to waste time encoding MP3 music, is far from a quality standard. To reduce the file size, it was necessary to create wave files of eight or even four bits with a sample rate of 22 KHz, which gave a very weak result. And if an MP3 file with a fixed 128 Kb / s bit rate sounds more or less bearable (and ideal for some listeners), then a wave file of the same size compressed with the ADPCM codec sounds just awful.

ADPCM uses a very simple compression algorithm that provides high encoding speed on slower computers, but is completely inapplicable for storing music. The extremely low sound quality with an acceptable compression ratio led to the fact that at this time this codec is hardly ever used to compress music. The exception is computer games, whose creators often use ADPCM WAV files to store soundtracks.

MP3

MPEG (from the Motion Picture Expert Group) 1 Layer III (less often MPEG 2 Layer III), also known as incompetent people MPEG 3 (there is no such format) has for many years been the only association with the phrase “computer music” . Developed in the late 1980s, without requiring resources (playing MP3 files is possible even on computers with 486 processors), the format that allowed music to be compressed up to 10 times without catastrophic loss of quality quickly took root in computers. domestic. Although until recently most encoders were paid, it is now easy to find players and encoders distributed under the free software license. After a while, it became clear that “CD quality” at 128 Kb / s bit rate is impossible,
how equipping computers with more sophisticated sound cards and acoustic systems made it possible to identify the shortcomings of such encoding. Increasing the bitrate and improving the codecs became quite natural: VBR and Joint Stereo (combined stereo) technologies made it possible to significantly reduce file size while increasing quality. Modern encoders allow you to achieve sound quality, audibly indistinguishable from a CD at bit rates in the 192-256 Kb / s range, even on high-quality equipment. However, in some rare cases (in the presence of good hearing and equipment) even the 320 Kb / s bit rate is not enough.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What is the difference between video format and codec?

What is the difference between video format and codec?

Formta and Codec

What is the video format?

Although there are many video formats, from analog recording methods (VHS, for example) to digital (Betamax, DV and others), in everyday life we ​​often talk about file formats that contain digital video. In fact, these files are containers that contain not only video, but also various audio tracks and / or subtitles. Each file format has its own characteristics: some allow streaming, some do not. Some may contain multiple audio and video tracks, while others may contain only one. The container only provides one header – “instruction”, which describes how and how to open the tracks stored in it. All information is contained in compressed form, and each object packed in a container is processed in a specific way, characteristic of the selected container type.

The most common container formats are:

1. AVI (Audio and Video Interleaved) developed by Microsoft for Windows. In theory, it can store various audio and video streams, in practice it is rarely used.
2. FLV (Flash Video) is optimized for streaming video over the Internet; Advantages: quality preservation even at low bitrate, the ability to view from anywhere, regardless of the operating system.
3. 3GP focuses on mobile devices that provide the ability to record / view audio and video.
Most of the listed formats are commercial, but there are projects based on completely open standards. The most popular among them is MKV (Matroska).
Although it is more correct to use the term “media container”, in colloquial speech the word “format” has become more popular. There is no crime in this, so in the communication process you can safely operate with the data, leaving the “containers” for professional discussions.
It is sufficient that the player program understands how to correctly identify the type of container to correctly reproduce the data stored in it. Consequently, the user must know which formats the player supports and install the necessary set of several on the computer (if one cannot play all of them).
Generally, a splitter program is involved in unpacking file and media containers (it can also be part of a player). Your task is to extract the content and only then transfer each audio / video stream for decoding using codecs.

What is a video codec?

To decrypt the contents of a media container and convert it into a video stream, you will need codecs, programs of formula similar in principle to filing cabinets. Having the required codec will allow you to correctly decompress the compressed image, so it is important to have as complete a set as possible of these algorithms so as not to find a message about an unsupported video format. From an academic point of view, it is more correct to speak of decoders, but, as in the previous case, it is easier to operate with the concept of “codec”, it is universal for both digitization and video playback.

What are the codecs?

The most popular video codecs used for home use are Xvid and DivX. Movies distributed on DVD are encoded with the MPEG-2 codec.
In general, DivX is the most common proprietary MPEG-4 codec. And the Xvid codec is based on one of the versions of DivX, but open source. There is also x264 (a codec for compression in the H.264 standard) and TrueMotion VP6 (used as one of the main encoding options in the Flash Video format). The rest of the codecs, and there are many, you may not need them in practice, but it is better to have them all the same. As a general rule of thumb, the full set can be obtained by installing the K-Lite Mega Codec Pack, but some of them may have to be added manually later.

Differences between AVI, MP4 and MKV video formats

Differences between AVI, MP4 and MKV video formats

AVI, MKV, MP4

Each of us uses two basic and vital multimedia elements on a daily basis for optimal performance, audio and video. Whether we are watching a movie, an online course, listening to an album by our favorite singer, etc., everything is related to audio and video.

AVI MP4 MKV

When we talk about video, we can find hundreds of new formats in which this multimedia element can be obtained, previously the types of files were very limited and each format was associated with a different type of device, so there is no guarantee that if We download the video specifically, it will be compatible with our smartphone, PC or TV.

Next, we will see some of the most famous video formats and their main differences.

All the multimedia elements that we work with on a daily basis are made up of two main elements:

container
codec
Each of these elements plays a fundamental role that allows us to fully enjoy the video in a particular player.
What is a container?

The container allows us to watch videos with a fixed extension assigned, this container stores various types of data, such as audio and video, and allows us to perform, among other things, tasks such as synchronizing, enabling or disabling tracks.

The most common container types are .avi, .ogg, .mp4, .mov, .rmvb, etc. In addition to the above, a container allows us to define what types of data will be stored in the medium and how it will be organized in the medium.

What is a codec

A codec (Encoder / Decoder) is a software whose function is to allow the device in which we are playing the video to show the correct information since it is made up of binary numbers (ones and zeros).

Thanks to the codec, multimedia content can be compressed without loss of quality. Some of the most common codecs are Xvid, AC3, H.261, H.262, H.264, X264, Theora, MPEG-1, etc.

Knowing these details, we will talk about the three most famous containers.

AVI

AVI (Audio Video Interlaced) was developed in 1992 by Microsoft Corporation and is one of the most popular video containers of that time and allows you to store audio and video content. AVI files are divided into chunks called chunks, where the first chunk, called the header, is responsible for conveying the information in the file.

While AVI allows audio and video to retain their fidelity, its big problem is the amount of space it occupies to store said information, since sometimes it can be identical to the size of a DVD, which can affect the portability of said DVD. video.

MP4

MP4 (MPEG-4 Version 2) was developed in 2001 and supports various types of audio and video codecs, making it a popular, everyday container. Its main function is the storage of digital audio and video, but it allows the storage of additional data such as subtitles, streaming and images.

Among its main characteristics we have:

It is based on QuickTime
IOD support
You can use the extensions .m4a for audio files and .m4v for video files.
This is the most used extension at the copyright level.
MKV

MKV (Matroska Video Container) is a container developed in 2002 and it is a free container that will allow us to store various types of audio and video codecs without losing the quality of the content.

The MKV container offers us the possibility to store video, audio and additional features such as alternative audio, subtitles in different languages, chapter separator and metadata with more specific information about each file.

It is one of the most flexible containers that we find now and its main characteristics are:

It allows you to contain videos like DivX, Xvid, RV9, etc.
It allows you to store audio such as MP3, MP2, AC3, DTS, among others.
We can add subtitles in formats like ASS, SSA, USF.
It’s free
High levels of compatibility
Better fault tolerance
Knowing these containers and their main advantages, we need to know which codecs are the most used, which will allow us to fully enjoy each video, here are some of these codecs:

WMV

WMV (Windows Media Video) was developed by Microsoft in 1999 and is therefore the most widely used codec on Windows devices. WMV allows us to manage video and streaming applications on PC.

Among its advantages we have:

Use multiple system resources to host videos
Save video quality
It is a compatible format for web videos
High level of device level compatibility
These WMV files can be added to AVI or MKV container.

AVI vs MKV

AVI vs MKV

MKV VS AVI

We perceive any video as a single stream, although the demonstration consists of video data, audio data, subtitles, and ancillary technical information. All of this is packaged in one file: a media container, which stands for the concept of “format.” The most popular formats for storing and playing videos are avi and mkv.

AVI to MKV: Free Download AVI to MKV Converter for Mac and Windows (10)

Avi and mkv

AVI is a container video format developed by Microsoft for universal video playback on hardware and software players. Avi video files can contain video and audio data compressed by various combinations of codecs.

MKV is a containerized video format that can contain video with audio and subtitles. Video files have the mkv extension and are intended for universal playback by newer hardware and software players. Created under the auspices of Matroska, a project aimed at developing open, flexible and multiplatform formats for multimedia containers.

Difference between avi and mkv

The avi format is older and therefore can be played smoothly on all consumer players today. The mkv container contains the H.264 / AVC codec inside it, which uses a lot of hardware resources. Therefore, until recently, it was not practical to embed it in home video players. Consequently, only modern models support it, but even then not all. For most manufacturers, there is still a problem with the implementation of this “bad” codec. Complications can also be felt on computers. For avi to work, a standard set of codecs is sufficient, and for mkv you need to install additional programs for video editing.

When playing videos, mkv shows advantages over avi. First, this container can hold multiple audio tracks at the same time. Second, since the subtitles are not embedded, they can be turned on, off, and toggle between each other. This allows us to solve the problem of introducing multilingual translations into the movie. Third, “heavy” mkv files play without crashing, slowdowns, or errors, as is the case with avi.

The rest of the differences are more technical. The mkv video container can contain compressed files with a higher number of codecs than avi, and the service information is more easily recorded and retrieved. The container unpacking process is also faster. Also, avi is considered a commercial project, while mkv is its direct open source alternative.

H.264

H.264

H.264

H.264 (MPEG4 AVC) video compression standard features and related information: codecs, containers, playback, etc.
H.264 is a video compression standard adopted by the International Organization for Standardization (ISO). Also known as MPEG-4 part 10 and AVC (advanced video coding).

h264

Advantages of H.264

Compared to MPEG2 (DVD-Video) and MPEG4 ASP (DivX, XviD), H.264 compression works significantly more efficiently, providing better image quality (up to the level unattainable for MPEG2 and MPEG4 ASP) and a size smaller file.

Disadvantages of H.264

The main disadvantage of H.264 is the noticeably higher hardware requirements for encoding and playing video files.

For example, on a computer based on an Intel Pentium 4 processor clocked at 3.2 GHz, it is comfortable (no problem, no jerks) to use the ffdshow test decoder in Windows Vista, only the video is played in “medium” HD resolution – 1280 × 720. The so-called Full-HD video (1920 × 1080), depending on the complexity of the scenes, can already “slow down” noticeably. However, it should be noted that in Windows of the previous generation, XP, Full-HD video on the same computer is played quite smoothly in many cases.

The efficiency of using computer resources during playback depends to some extent on the decoder used.

H.264 decoders
ffdshow tests
A popular free decoder for many video and audio compression formats, including H.264.
CoreAVC
The paid codec is considered the codec that currently consumes the least resources. Since version 1.9.5, it supports decoding using the hardware capabilities of nVidia video cards through the CUDA interface. Modern versions also support the use of the hardware capabilities of ATI (AMD) and Intel graphics cards using the DXVA interface.
H.264 support
H.264 is accepted as a standard for compression of high definition video (HD, HDTV), it is distributed in a new generation of optical media: Blu-ray and HD DVD, it is used on mobile devices, it is compatible with Apple QuickTime, It is spreading in digital television transmission systems, videoconferencing, video surveillance, etc. The de facto standard for multimedia web applications and online video hosting sites like YouTube, Adobe Flash Player has supported direct playback of H.264 videos since version 9.0.115, released in late 2007.

Standards, formats, codecs, containers
The codec and the standard are not the same. A standard is a specification (description) of a compression algorithm (eg H.264), a codec is its specific software implementation (eg x264).

You should also not confuse the format of the data and the format of the container in which this data can be stored. The same data (eg compressed according to the H.264 algorithm by the x264 encoder) can be packed in different containers (eg Matroska, MP4 or AVI). In contrast, a container of the same format (eg MKV) does not have to contain video data in H.264 format; you can easily find a MKV file with a normal DivX video inside.

Data container formats
There are several common container formats, the main ones being MP4, Matroska (MKV), and AVI.

MP4
The official container standard for H.264 video. The main disadvantage of MP4 is that according to the specification, said file can only contain audio in AAC format. This leads to a forced loss of sound quality, for example when backing up DVD movies due to the need to transcode from one lossy compression format (AC3, Dolby Digital) to another (AAC). Purely technically, in an MP4 container you can place the stream of any format, but the ability to play the file on any player will not be guaranteed.
Matroska (Matryoshka, MKV)

AVI
The AVI container generally contains videos in the popular DivX and XviD (MPEG4 ASP) formats. The AVI container is not formally designed to store data encoded in accordance with the H.264 standard and is therefore not generally used for these purposes and in the rare cases of incorrect use of the container, the ability to play the corresponding files.

Video containers, what are video containers?

Video containers, what are video containers?

Video Containers

Many users confuse concepts like “format” and “container” of a file. You can often hear a phrase like “AVI files”. This expression is only partially true, since AVI is in fact a registered file format. However, an AVI file can store uncompressed video, DV, MPEG-4, DivX, Xvid, and even MPEG-1 and MPEG-2 video. Also, an AVI file can, for example, contain only audio. That is, AVI files are containers for storing various types of data.

Video Container

A container is a file with an extension that is used to store digitally converted analog information. Some containers can store service information. So, for example, a video file can include captions that are not part of the video image, but normal text. Various players have the ability to enable or disable the display of titles in the frame. In other words, a container is a file of a certain standard, which can simultaneously contain several different types of information.

Here is a list of the most common audio and video storage containers:

-AVI. This type of file is the most common, however, it has a number of limitations. For example, it may contain only one stereo audio track, so it is not suitable for storing movies with surround sound or movies with multilingual soundtracks. However, this container is still the most common.

-OGG (OGM). The container was originally designed to store audio, but it was later discovered that it could hold video and title information. The container was primarily designed to transmit data over the Internet, so it is not very suitable for storing audio and video information. In some cases, you will not be able to rewind a video or audio track to the desired location.

-MKV. This container, which appeared relatively recently, significantly outperforms AVI files in its capabilities. In addition to video and audio information, an MKV container can store title information, as well as navigation menus (similar to DVD menus) and links to movie chapters. MKV container can be packed with video and audio of various formats, which will possibly make this kind of container go mainstream. However, at present, the playback of MKV files is supported by a small number of devices, and in order to play such files on a computer, you need to install software modules. MP4 is used in various portable devices. Special are that can separate the streams. of information of different types.

-MP4. This container was developed by MPEG (Moving Picture Experts Group). It is designed to store video, audio information, and some types of animation. The container supports various audio compression formats, including multichannel. Often the container

-QuickTime. This container is primarily designed for use on Apple computing platforms. MOV files contain compressed video and sound, and the video quality and resolution can be very high. Of course, Quick Time containers can be used on PC computing platforms, for this you need to install the appropriate software. However, many programs do not support working with files of this format or do not work correctly with it.

AVI format: how an AVI format is composed

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.

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.

Video containers

Video containers

Video Containers

As practice shows, there is always a lot of confusion around MPEG-4 and DivX. The most common mistake, Avi, DivX and MPEG-4, is the same.
AVI and MKV are containers (file formats), or in other words, data storage and packaging. While DivX or XviD are codecs, that is, encryption methods and implementation to record video data to a file and decrypt information, respectively, to play already recorded files. MPEG, in turn, describes both the codecs and the storage methods.
The container allows you to combine different media streams (in most cases, audio and video) into a single file. Examples of popular multimedia containers: AVI (.avi), MPEG (.mpg, .mpeg), OGM (.ogm), MP4 (.mp4), Realmedia (.rm, .rmvb), Matroska (.mkv).

Video Container

Audio Video Interleave (AVI) Container
During the widespread adoption of Windows 3.1x, Microsoft created an AVI container to store synchronous video and audio data. AVI stands for Audio Video Interleave. AVI is a container format that can contain compressed video / audio data using different combinations of codecs. For example, if the MP3 and JPG files are obtained using only one type of data compression (MPEG Audio Layer 3 and JPEG), then the AVI file can contain several types of compressed data (for example, DivX for video and MP3 for audio. ). All AVI files look the same “on the outside” (they have the extension .AVI), but “on the inside” they can differ significantly. It has been a long time since AVI was created, and today it is the most popular format for presenting videos. All software players know how to work with it. And if you don’t have strict requirements on it, you’re still coping with your duties. However, it does not support VBR audio streams (that is, variable bit rate that provides better quality). A few years ago we managed to squeeze variable bit rate MP3 into AVI with some settings (requires excessive space for syncing, plus sometimes issues), but it doesn’t support sound in Ogg Vorbis format.
All Windows encoding programs can work with the AVI container.

Ogg Media Streams (OGM) Container
Part of the Ogg project to build an open source multimedia system. It allows you to place any video stream (for example, compressed by the DivX or XviD codec) and sound in Ogg Vorbis format. Also OGM can contain MP3 tracks.
The OGM container has 2 main advantages over standard AVI:
The first is rewinding. It became instantaneous. No need to wait any longer, staring at a black screen, until the video starts to play again, or watching fast-motion video trying to sync up with the audio stream.
The second is a lower multiplex loss. For example, for a two hour movie with VBR MP3 audio track, the AVI container requires ~ 6.7 Mb to sync audio and video. When using a GMO container, these losses will be ~ 2.4Mb. This means that more than 4 Mb will be spent increasing the bit rate of the video stream. And interestingly, when adding a second audio track in Ogg format, the additional mixing losses will be 0Kb.
Also among the advantages of the format is the built-in error correction, which makes it possible to burn video in this format to a CD without much risk using Mode 2 (in this mode, 795 MB fits on a standard 700 MB disk). (m2cdmgui doom9.org).
The OGM container can package, for example, VirtualDubMod.

Matroska Container (MKV)
The Matroska project is an open container format that aims to offer many advanced capabilities that older formats like AVI cannot handle. For example, Matroska supports storing variable bit rate (VBR), variable frame rate (VFR) audio content, subtitles, chapters, attachments, error detection (EDC), and modern video and audio codecs such as ” Advanced Audio Coding “(AAC),” Ogg Vorbis “or” Realvideo 9/10 “(RV9 / 10) that does not support AVI.
Matroska files have the following extensions:
.mkv: generally video files (with or without audio);
.mka: only audio files, they can contain any of the supported audio formats like MP2, MP3, Vorbis, AAC, AC3, DTS …;
.mks: so-called “elementary” matroska streams that contain subtitle streams in SRT, SSA, ASS, and Vobsub formats.
To play files packed in Matryoshka, you need to install the Matroska Splitter, a filter that splits the container content into streams (audio, video, subtitles) during playback.
To pack video into MKV container, you can use:
VirtualDubMod
MkvToolnix
Avi-Mux GUI

WebM, an in-depth analysis of WebM

WebM, an in-depth analysis of WebM

WebM

Quality and efficiency

webm

Although these parameters, paradoxical as they may seem, are not decisive, they continue to play an important role in the “battle of formats”. If you look objectively and do not rely on fanatical dogmas, Theora was frankly weaker than H.264 and, although Theora’s supporters constantly said that “it can be finished and improved”, everyone was clear that in this case, not everyone understood . who, how and how much will do it and who will pay for it in the end, so it will be stretched out for unclear terms. With WebM, a similar situation may occur. Despite On2’s claims, there is no reliable and verifiable evidence that WebM (more precisely VP8) is better than H.264. But there are the words of the x264 developer, who, although it can be classified among the interested parties, is still quite competent in this area:

CPU load

This parameter is very critical, first and foremost, for weak mobile devices, consumer electronics and netbooks. Although we are promised a weak load on the processor when playing WebM, it is still honest to say that it has never been weak so far, but they promise to fix it in the future. It is true that the reliability of these promises is in great doubt, although I am not an expert in video codecs, but in principle it is already clear that a weak load on the processor will be only if the video compression ratio is weak, which Consequently, it will result in a lot of data that the video will occupy. For the sake, this problem can be solved quite simply if the decoding of the WebM format will be carried out by hardware, for example by a computer video card or a SoC of a device, but the following problem arises from here .

Hardware acceleration

One of the factors thanks to which the H.264 format began to rapidly gain popularity is the support for its hardware acceleration, not only by computers, but also by a variety of consumer electronics and gadgets, including notorious Apple devices. If existing generations of computer video cards will surely be able (if manufacturers wish) to get support for WebM hardware acceleration (for example, at the driver level), then in the case of embedded SoCs this is practically impossible. To support WebM hardware acceleration, you will have to make a new player / smartphone, already based on new SoCs, which have yet to be designed and put into production, and this is far from the smallest costs for their manufacturers. Additionally, manufacturers may consider the costs of implementing WebM support in many SoCs as such. they don’t make sense, because this requires extra work (and this is a cost), and the meaning to them is less than obvious: at what rate will WebM gain popularity, who will publish it, and if a common consumer needs it. ? As a result, this can result in a significant decrease in the diffusion rate of the new format.

Patent security

Probably the most unpleasant topic few people want to raise. The fact is, as already mentioned, “just because something is open source does not mean or guarantee that it will not infringe other patents”, no matter how you relate to this, but these are cruel realities that must also be taken into account in this issue. As far as I know, no one has made any claims about WebM (more precisely VP8) so far, but considering that this standard was developed by On2, this cannot be ruled out in the future. At least the complaints against Theora, who was based on VP3 (as you will understand, this is also On2’s son), have been heard several times, although there have been no legal proceedings yet, but this example is indicative.

Ready to use

Of course, developers are already actively working to introduce WebM into libraries of decoders, encoders, browsers, etc., but you have to understand that the “almost ready” and “ready” states are, as they say, two big differences. After all, web video is not limited to YouTube (otherwise, you could say that H.264 won long ago, although it was hidden, in most cases, behind a Flash player), but what How convenient is it for third parties to use WebM? What software is it supported on? When it will be? At the same time, the “long-standing” H.264 is still being implemented at full speed by many companies and projects, because everything is clear with it and everything is ready, recently even a major national social network has implemented it 🙂