CODECS AND CONTAINERS


Free Download Mp4Gain
picture

CODECS AND CONTAINERS

I.CODEC

Codecs are components (circuits, modules) or computer programs that create a stream of data to encode and / or can decode. The term “Codec” is a made-up word that consists of parts of the English terms CO der and DEC o. (En) Encoders are used to encode data streams for transmission (eg Reed-Solomon contributes to DVB error protection), Encrypt (eg AACS as content protection for Blu-ray Disc) or to reduce the amount of data (compression method, for example, MP3 for audio). The decoder (decoder) retrieves the encoder’s original input information from the encoded data stream.

codecs and containers

2. CODECS FOR COMPRESSING DATA STREAMS

No medium of storage or transmission is infinitely large. Therefore, the available resources must be budgeted. Therefore, it is very important to reduce the amount of data that must be transmitted or stored. There are different compression methods adapted to the information to be compressed.

Codecs and containers
Each compression method has its advantages and disadvantages. There is a trade-off between compression factor (= ratio of source file size to target file size), compression quality (= lossless / lossy -> type and number of artifacts), speed, usability , decoder distribution and finally also costs. Compression processes and their implementation in the market play an extremely important economic role, since compression algorithms can be patented and their use must be compensated by the payment of licenses by device manufacturers or software users. Some kind of content encryption can also be achieved through proprietary and undisclosed compression algorithms, allowing distribution control.

Operating principle

Compressing a digital signal means that parts of the information must be suppressed without changing the content of the information. These ‘superfluous’ data, the so-called redundancies and irrelevancies are components of information, for example an image, that are present several times (redundant) or cannot be perceived by humans (irrelevant). Furthermore, redundancies can also occur in the digital data describing the image, for example. All compression methods are based on the principle of eliminating redundant information. In most compression processes, several different algorithms are used one after the other to eliminate redundancies in content and data. Algorithms that discover and avoid redundancies on a purely mathematical basis usually work lossless without loss), that is, no information is lost. After compression and subsequent decompression the information then corresponds 1: 1 to the original. Compression algorithms that evaluate information components based on physiological models (for example, MP3) for their importance and then discard unimportant information (irrelevance reduction), function lossy with loss), since information it is lost during compression.

3. FILES WITH COMPRESSED CONTENT

If the data is compressed through a certain process, it must be put into a format in which it can be distributed. These can be streams that are streamed like DVB, for example, or files that are stored on a storage medium. The compressed “raw data” thus creates a structure that allows the data as in a container (transport container). The way this container or container format is made depends on the transmission medium, the operating system and the specific application.

II. CONTAINER FORMATS

Container files are file structures that simplify external (multimedia) data and allow exchange, even across platform boundaries. Container formats describe how this user data is stored (not how it is encoded!). In principle, cabinet files can contain all kinds of data, but they are generally restricted to specific data. Specialized in data types. For example, PDF files are ideal for reproducing documents that are true to the original, consisting of font information and raster or vector graphics, whereas an AVI file generally contains movie and sound information.

Container formats for multimedia applications always use already encoded data streams, i.e. compressed


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Codec and container, differences. Explanation

Codec and container

Confusion between codec and container is very common. And even more if we add file extensions. This post aims to clarify these terms and show the relationship between them.

What is a codec?

The codec term comes from the concatenation of the initials of two words: encoder and decoder. Strictly speaking, a codec is a specification on how to encode a type of information and then be able to decode it. For example, a codec determines how video and audio information is compressed and decompressed. Remember that compression is a specific case of coding in which space is reduced, eliminating redundant information or low perceptual impact

What is a container?

Within the multimedia arena, a container is a specification of how different types of encrypted multimedia content are arranged within a file. These different contents are usually mainly video, audio and text.

Consider the case of a film in digital format. This movie is in an archive. When we open that file, a player runs and we can enjoy the movie. Notice that a movie has video, has audio, subtitles, information about its author, information about its duration, etc. For the convenience of the user, all these elements are grouped within a single file. The order in which they are saved in that file is the container specification.

Connection

The video information that is inside a container is usually compressed, that is, it usually follows the specification of a specific codec. The same goes for audio information. The confusion appears when there are containers and codecs with very similar or even the same names.

The most popular codecs

The most popular video codecs currently are Theora, VP8, MPEG-2, h.264, Xvid, and Divx. Regarding audio codecs: AAC, FLAC, MP3, Vorbis (ogg) and WMA are the most abundant.

The most used containers are AVI, Divx, Matroska, Flash video, MP4, MPEG, Ogg, Quicktime, MXF and WebM. Since containers are intrinsically linked to files, each one also specifies one or more possible file extensions:

AVI -> .avi
Divx -> .divx
Matroska -> .mkv, .mk3d, .mka, .mks
Flash video -> .flv, .f4v
MP4 -> .mp4
MPEG -> .mpg, .mpeg
Ogg -> .ogg
Quicktime -> .mov, .qt
MXF -> .mxf
WebM -> .webm

And to open a container and see its contents?

Containers are interpreted through a media player application, such as Windows Media Player, Quicktime (application with the same name as a container), VLC, Plex, RealPlayer or Winamp, etc.

A good option is the VLC player, since it offers compatibility with all formats under almost any platform and even allows you to play incomplete files (useful feature if you want to start playing audiovisual content that has not yet finished downloading, as long as it is be progressive). In addition, it is freely distributed.

Verschillen tussen Codec en houder

Verwarring tussen de codec en container is heel gebruikelijk. En zelfs meer als we bestandsextensies, zoals .flv, .mp3, .mp4, enz. Toe te voegen

codecs en containers

Wat is een codec?

De codec term komt uit de aaneenschakeling van de initialen van twee woorden: encoder en decoder. Strikt genomen, een codec is een specificatie over hoe je een soort informatie te coderen en dan in staat zijn om het te decoderen. Bijvoorbeeld, een codec bepaalt hoe video- en audio-informatie wordt gecomprimeerd en gedecomprimeerd. Vergeet niet dat compressie is een specifiek geval van codering waarin ruimte wordt verlaagd, overbodige of lage perceptuele invloed informatie.

Codering betekent zoiets als het comprimeren. Dat wil zeggen, het is bedoeld om de hoeveelheid bits die een audiobestand inneemt verminderen. Het idee is om de hoeveelheid bits te verminderen met behoud van de hoogst mogelijke geluidskwaliteit.

Het is duidelijk dat, zodra de bestanden zijn gecomprimeerd, ze moeten de tegenhanger, die de decoder, dat is degene die kan interpreteren en omschakeling in het geluid wat er in het bestand werd geschreven wordt.

Dan, een codec is er een die dient voor het comprimeren en decomprimeren (coderen en decoderen) een audio- of videobestand.

Wat is een container?

In de multimedia-scope, een container is een specificatie van hoe de verschillende soorten van gecodeerde multimedia-inhoud zijn gesorteerd in een bestand. Deze verschillende inhoud zijn meestal, voornamelijk, video, audio en tekst.

Neem het geval van een film in digitaal formaat. Deze film is in een bestand. Toen we dat bestand te openen, een speler loopt en kunnen we genieten van de film. Merk op dat een film heeft video, heeft audio, ondertiteling, informatie over de auteur, informatie over de duur ervan, enz. Voor het gemak van de gebruiker, zijn al deze elementen gegroepeerd in een enkel bestand. De volgorde waarin ze zijn opgeslagen, dat bestand is de houder specificatie.

Verbinding

De video-informatie die in een container wordt meestal samengeperst, dat wil zeggen volgt meestal de specificatie van een codec. Hetzelfde geldt voor audio-informatie. De verwarring wordt weergegeven wanneer er containers en codecs met zeer vergelijkbare of zelfs gelijke namen.

Het meest populair

De meest populaire video codecs momenteel Theora, VP8, MPEG-2, H.264, Xvid en Divx. Wat betreft audio codecs: AAC, FLAC, MP3, Vorbis (ogg) en WMA zijn de meest voorkomende.

De meest gebruikte containers zijn AVI, DivX, Matroska, Flash-video, MP4, MPEG, Ogg, Quicktime, MXF en WebM. Aangezien de houders intrinsiek verbonden met de bestanden, elk daarvan specificeert ook één of meerdere mogelijke bestandsextensies:

AVI -> .avi 
Divx -> .divx 
Matroska -> .mkv, .mk3d, MKA, MKS 
Flash-video -> FLV, .f4v 
MP4 -> .mp4 
MPEG -> MPG, MPEG 
Ogg ->. ogg 
Quicktime -> .mov, .qt 
MXF -> .MXF 
WebM -> .webm

En om een ​​container te openen en de inhoud ervan?

De containers worden uitgelegd via een mediaspeler toepassing, zoals Windows Media Player, Quicktime (applicatie met dezelfde naam als een container), VLC, Plex, RealPlayer of Winamp, een paar te noemen.

Een goede optie is de VLC-speler, want het biedt compatibiliteit met alle formaten onder vrijwel elk platform en zelfs kunt u onvolledige dossiers (nuttige functie spelen als je wilt beginnen met het spelen van een audiovisuele inhoud die nog niet klaar is met downloaden, op voorwaarde dat deze zijn progressief). Bovendien wordt vrij verspreid.

Differences between Codec and container

Confusion between codec and container is very common. And even more if we add file extensions, such as .flv, .mp3, .mp4, etc.

codecs and containers

What is a codec?

The codec term comes from the concatenation of the initials of two words: encoder and decoder. Strictly speaking, a codec is a specification on how to code a type of information and then be able to decode it. For example, a codec determines how video and audio information is compressed and decompressed. Remember that compression is a specific case of coding in which space is reduced, eliminating redundant or low perceptual impact information.

Coding means something like compressing. That is, it seeks to reduce the amount of bits that an audio file occupies. The idea is to reduce the amount of bits while maintaining the highest possible audio quality.

Obviously, once the files have been compressed, they need the counterpart, which becomes the decoder that is the one that can interpret and reconvert in sound what was written in the file.

Then, a codec is one that serves to compress and decompress (encode and decode) an audio or video file.

What is a container?

Within the multimedia scope, a container is a specification on how different types of encoded multimedia content are sorted within a file. These different contents are usually, mainly, video, audio and text.

Consider the case of a movie in digital format. This movie is in a file. When we open that file, a player runs and we can enjoy the movie. Notice that a movie has video, has audio, subtitles, information about its author, information about its duration, etc. For the convenience of the user, all these elements are grouped into a single file. The order in which they are saved in that file is the container specification.

Connection

The video information that is inside a container is usually compressed, that is, it usually follows the specification of a specific codec. The same goes for audio information. The confusion appears when there are containers and codecs with very similar or even equal names.

The most popular

The most popular video codecs currently are Theora, VP8, MPEG-2, h.264, Xvid and Divx. Regarding audio codecs: AAC, FLAC, MP3, Vorbis (ogg) and WMA are the most abundant.

The most commonly used containers are AVI, Divx, Matroska, Flash video, MP4, MPEG, Ogg, Quicktime, MXF and WebM. Since the containers are intrinsically linked to the files, each of them also specifies one or several possible file extensions:

AVI -> .avi
Divx -> .divx
Matroska -> .mkv, .mk3d, .mka, .mks
Flash video -> .flv, .f4v
MP4 -> .mp4
MPEG -> .mpg, .mpeg
Ogg -> .ogg
Quicktime -> .mov, .qt
MXF -> .mxf
WebM -> .webm

And to open a container and see its contents?

The containers are interpreted through a media player application, such as Windows Media Player, Quicktime (application with the same name as a container), VLC, Plex, RealPlayer or Winamp, to name a few .

A good option is the VLC player, as it offers compatibility with all formats under almost any platform and even allows you to play incomplete files (useful feature if you want to start playing an audiovisual content that has not yet finished downloading, provided that this be progressive). In addition, it is freely distributed.