Video formats and their characteristics


Free Download Mp4Gain
picture

Video formats and their characteristics

Video formats

Even if you’ve never processed a video, you must have heard out of the corner of your ear that there are some video formats. That by the name (extension) of the file, you can easily identify this format. And you’ve probably heard that if necessary, you can convert one video format to another. Want to know more?

video formats

Before talking about video formats, let’s say a few words about what video standards are.

NTSC. Developed in the United States in 1953. The screen resolution is 720×480 pixels, the frame rate is 30 FPS.
COMRADE. This standard was developed in Germany in 1967. The screen resolution is 720×576 pixels, the frame rate is 25 FPS.
SECAM. A standard developed in France in 1956. It is true that it only concerns television broadcasts, so we will not focus on its characteristics.
Video recording formats
There are several video recording formats, which are divided into analog and digital. To begin with, let’s talk about analog formats, among which the most popular is VHS (more precisely, it was, especially in the 80s-90s). It has a whole family of varieties: VHS-C, S-VHS, Video8, etc. Since 2008 it is no longer used, because it could not withstand the competition, and it is hopelessly out of date.

Video tape (VHS)

But digital video formats are still alive and well:

MiniDV. The recording is done on magnetic tape, 1 hour of video “weighs” 13 GB, the recording speed is ~ 25 Mbit / sec.
HDV. Again, the recording is done on magnetic tape, but the recording quality is much better compared to the previous format – the resolution is 1440 x 1080 with a 16: 9 aspect ratio (interestingly).
AVCHD. High Definition Video Format, whose name stands for Advanced High Definition Video Coding. It is used to record videos in high definition 720p (HD ready), 1080i and 1080p (Full HD) modes on hard drives or memory cards (SD, microSD and Memory Stick PRO). When recording to discs, these are typically 8cm rewritable AVCHD or Blu-Ray discs.
Compression standards and codecs
If you often have to record videos and upload them to the Internet, you should familiarize yourself with the compression standards and codecs that allow you to reduce the file size and as a result, speed up the download of the video to a file hosting or hosting service. videos. So right now there are the following compression standards:

MPEG is one of the main file compression standards. It stands for Moving Pictures Expert Group (the name of the organization that developed it). It has four varieties:
MPEG-1: a file compression format for CDs with mediocre video quality (352×240), currently practically not used;
MPEG-2 is used for digital television and DVD.
MPEG-3 (not to be confused with MP3 audio compression technology): not currently used.
MPEG-4 format can be obtained using codecs like XviD, DivX, etc. Even though it compresses video more strongly than MPEG-2, the image quality is quite decent, especially when using the H.264 codec.
H.264 is a standard that is characterized by a high compression ratio of video data while maintaining decent image quality. Excellent for videos uploaded to the web.
XviD and DivX are highly compressed codecs (based on the MPEG-4 standard).


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Video codecs, video formats – what does this all mean?

Video codecs, video formats – what does this all mean?

Video Codec

If you are puzzled by the endless list of export options in your video editing software, this article is for you. Let’s first look at the definition of a codec.

Video Codecs and Containers

Then we will look at the concept of video format, and then we will look at some of the most common codecs and their uses.

If you are recording or editing video, you will almost immediately come across the term “codec”. Since there are so many and it’s hard to tell them apart, I’ve made a quick overview to help you get started. Once you understand certain terms, you can better decide which one suits your needs. Let’s start with a simple definition.

The video codec is.
A codec is actually a combination of two words: an encoder and a decoder (co / dec). What are they doing? Simply put, because video files are so large, you need a way to make them smaller. The codec encodes, compresses data to store or send it, and then decompresses it for playback or editing.

A codec is a computer code that performs its function each time the software calls a file. Codecs can also be used on physical equipment, such as a camera, to digitize incoming video and audio.

This happens in real time, either at the point of capture or at the point of playback. However, if you are not a broadcast engineer, you will have to rely on your computer or device to select the codec. Hardware compresses your video and audio data for viewing, streaming, or storage.

The video format is.
The file format is similar to a container. The container contains data that has been compressed by a specific codec. And sometimes they have the same name.

For example, a file format such as Windows Media Audio contains data compressed with the Windows Media Audio codec. However, a file format such as Audio Video Interleaved (AVI) can contain data compressed with any of several different codecs, including MPEG-2, DivX, or XviD codecs.

AVI files can also contain data that is not compressed by any codec. Therefore, depending on the codecs installed on your system, some AVI files will play fine, while other AVI files, despite having the same file extension, will not play.

It also affects the audio. There is often a situation where when playing a video, the sound plays, but the video does not. This means that the appropriate video codec is installed on your device.

Video codecs for 4K

Video codecs for 4K

4K codecs

If you are experienced in streaming or recording video signals, you probably know what video codecs are.

4K Codecs

 

Video codec – a device or program that allows you to compress (encode) large video files for viewing or editing; the name is formed at the same time as these words in English: «co the mpressor / dec ompressor» (to mpres-sor / December ohm-pres-sor) and «co de / dec ode» (to di-ro-vat / december hate-ro-vat).

In the context of the characteristics of professional environments or for live-pi-si codecs, reduce the size (or bit rate) of the data stream, allowing the transfer of data to a wide audience. For example, a compressed 1080p30 signal typically takes 4-8 Mbps, while an uncompressed version of the signal would require 1.5 Gbps – that’s 250 times longer! Given current network bandwidth limitations, it would be nearly impossible to stream at such a high bit rate without using video codecs.

Live streaming in 4K?
Streaming or recording in 4K resolution, if possible, definitely has its advantages. This is, first of all, the quality and clarity of the video, as well as ample opportunities for further processing.

In terms of formats and codecs, 4K resolution (3840×2160 pixels) contains four times as many pixels as the most popular modern Full HD resolution (1920 × 1080), meaning in one go, you can stream much more data to your audience.

Fortunately, new codecs have already appeared that allow you to work with 4K and higher resolutions.

H.265 codec: the best choice for 4K
H.265, also known as HEVC, is the successor to the modern generation H.264 codec (known as AVC), which is capable of encoding / decoding 4K video. HEVC is installed on most 4K televisions and computer monitors. When encoded, H.265 consumes up to 8-10 times more processing power than H.264, making HEVC unsuitable for transmitting small to medium-sized data using the latest technologies. Video-on-demand resources like Netflix generally encrypt their video content before making it available to users. In addition, these resources can be allowed as additional computing power,

Note that older formats and codecs (AVC / H.264) are still capable of handling 4K video, but the difference is that newer ones like HEVC do it more efficiently. At the same time, the video quality with the increased compression ratio improved and this did not affect the bit rate. Capable of supporting resolutions up to 8K (8192 × 4320), HEVC is the video format of the future.

At the same time, there are no end-user costs associated with HEVC / H.265, while equipment manufacturers, providers of paid programs and streaming services must pay royalties for using HEVC technology in their products and / or services. A good example would be modern 4K televisions or monitors, in which the H.265 codec is integrated during production and users get it for free with the purchase of the corresponding device.

Free video streaming services (such as YouTube) have traditionally been exempt from royalty payments, but this has not affected HEVC. This exclusion has generated a series of interesting collaborations between renowned high-tech companies in the creation of new open source video formats.

Alliance for Open Media
Dissatisfied with the licensing rules and patent royalties associated with HEVC, tech giants like Microsoft, Google, Mozilla, Cisco, Intel, Netflix, and Amazon have formed a new consortium: the Alliance for Open Media (AOM). It is a non-profit organization dedicated to the development of the next generation of video codecs, video encoding formats, and related technologies. For 2016-2017, AOM plans to introduce new technology that enables more efficient compression of video data, which in turn will significantly reduce the load on the Internet connection and significantly increase the capabilities of modern web networks that transmit video to personal computers, smart phones. , game consoles, streaming consoles, televisions, etc. Also, when using the new format, no royalties will be paid. It follows that any company can create software that can convert,

Many of the group’s members have already contributed to the development of the next generation of 4K codecs; Cisco created Thor, Mozilla worked with Daala and Google with VP9. AMD, ARM, Intel, and Nvidia have recently joined the Alliance.

VP9 is the most popular of the 4K codecs
The VP9 codec is open source and royalty free. It owes its popularity to its use in web applications during the gradual transition from Flash to HTML5 technology.

 

How is the video format different from the codec?

How is the video format different from the codec?

Video format and codec

What is the video format?

Codec 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.

Conclusions
The video format is determined by the extension of the container file, but it is not always known which codec was used to compress the information it contains. And if to play the required format it is only important to know if the media player supports it, then to determine the codec you will have to use a third-party utility (for example, AVIcodec or GSpot), and only then add the missing codec to the system.

What exactly is a codec?

What exactly is a codec?

Codec

Today there are about three dozen common digital audio formats. Why you need to create so many types of sound files to store one type of content and how to manage all this, you will learn from this material.

Codecs

Surely many users prefer to use their home computer not only as a workhorse, but also as a multimedia center, where they can watch movies or family photos, as well as listen to their favorite music. Although compact digital players or mobile phones are certainly more suitable for listening to musical compositions, but unlike them, a computer can not only play music.

No matter how big the built-in memory of your music player is, it will most likely be difficult to store your entire music library on it. Plus, you can create, edit, organize, and search for music with your PC. Also, don’t forget that there are around three dozen common digital audio formats today, and most players are far from omnivorous and can only play a few of them.

So why do you need to create so many music formats to store one type of content? The fact is that, in the vast majority of cases, the sound is stored in “compressed” form, since one minute of uncompressed composition occupies about 10 MB on the hard disk. On the one hand, this seems not to be much, but on the other, if you are a music lover and your collection consists of several hundred or even thousands of songs, then it is clear that the sound must be compressed to reduce the space it occupies in electronic media.

Various special algorithms are used to compress music files, which subsequently determine the structure and presentation of the audio data, or so-called digital audio file formats. All audio formats can be divided into three groups: uncompressed audio formats, lossless compression, and lossy compression.

No compression
One of the most widespread formats related to this type is the well-known WAV. The sound of files with this extension is stored without compression or changes. It is true that much more space is required to store uncompressed files and therefore WAV is more widely used only in professional audio and video applications, where the sound should not have a loss of quality before processing. Keeping ordinary musical compositions in this form is unwarranted waste.

To play WAV files, you do not need any special software, as all media players understand this format, including the standard Windows Media audio player built into the Windows system.

Another format used to store uncompressed audio that is worth mentioning is Apple’s development called AIFF (Audio Interchange File Format). As you may have guessed, it is most commonly used on Macintosh computers running Mac OS X.

Lossless compression (lossless)
Lossless compression algorithms for audio files work on the principle of conventional file cabinets. They do not provide the highest level of compression (40 to 60%), while they have virtually no effect on sound quality. It is also worth noting that in this case, the encrypted data can be fully restored to its original form. Therefore, the use of lossless compression is most often used in cases where it is important to preserve the identity of the compressed data with respect to the original.

The most popular audio formats in this group are FLAC (Free Lossless Audio Codec), APE (Monkey’s Audio), WMA (Windows Media Lossless), and ALAC (Apple Lossless Audio Codec). Each has its own pros and cons. For example, the APE codec offers slightly better compression gains, while FLAC is more common. In general, all true music lovers store their music collections in lossless formats, since they do not remove any data from the audio stream and files created with these codecs can be listened to even on high-quality stereos.

To play lossless compressed formats, as a rule, third-party players (except WMA) are used, such as MPlayer, foobar, AIMP, Winamp, VLC and others, since all the necessary codecs are already built into them. Another option is to separately install an additional codec pack (for example, K-Lite), after which you can listen to files in lossless format from almost any audio player.

Lossy compression
This is the most popular group of algorithms that provides the maximum audio compression ratio (up to 10 times or more). However, unlike previous formats, the audio file loses quality.

What are video codecs and audio codecs?

What are video codecs and audio codecs?

Video Codecs

Almost any computer user periodically listens to music on it, which is stored electronically. There are many formats for storing music, each of them was developed for specific tasks:

Video Codec

Bit rate is the amount of information used during encoding for 1 second playback. The higher it is, the less the distortion and the sound matches the original as much as possible.
Lossless – Lossless audio encoding. By converting to lossless formats and vice versa, we get exactly the same sound.
Lossy: compression formats designed for the fact that a person simply cannot physically hear certain frequencies that are skipped during conversion. At the same time, it can significantly save the amount of disk space.

Audio CD
The format that ushered in the era of digital sound after the transition from vinyl records. It was adopted as a standard in 1979 by Philips and Sony. In the audio CD format, music can be physically stored only on optical media; when recording to a hard disk, the audio track must be converted.

Due to the highest sound quality and the ability to play on any player, the format is still very popular, even though it is quite old.

Flac
Perhaps the most common format for storing lossless music. Compared to other lossless audio compression codecs, flac developed by xiph.org is completely free and offers the smallest output file size.

MP3
The most popular music format accepted as an unofficial standard for any playback device. Its popularity is based on the fact that because it cuts frequencies inaudible to the ear with practically the same sound quality, an mp3 file is 30% of the original lossless file.

The first audio track in mp3 format appeared in 1994. One of the reasons for its popularity is the ability to store a variety of additional information on audio file tags and the convenience of organizing a music library.

Ogg
A new lossy format that was launched in 2002 as a free alternative to paid formats. Unlike its predecessors, mp3 in particular, it allows the possibility of multi-channel encoding and multi-channel audio storage. It is most used in video games.

The term “audio” today means everything that is somehow connected with sound. This is processing, playing, mixing and simply listening to audio recordings. Few people know that during their existence all popular audio formats have undergone significant changes, sometimes for the better and sometimes even for the worse.

The problem is that when the creators tried to improve the recording quality by using the new format, the size of the result increased significantly. Reducing the size of the final file resulted in a significant loss of quality. But this was not always the case.

The first mention of computer sound is associated with the creation of several primitive video games. Then the sound was played back using the speaker of the system. As the software developers of that time did not try, they failed to achieve the level of quality that would be compatible with tape and reel recorders. This is what got many developers thinking about how to change the audio format to make the sound more natural and natural. It is this problem that has led to the current competition in the audio market. As a result, the formats used strongly affect the quality of the reproduced material and the configuration of the basic playback parameters.

WAV format

The first full quality of audio formats is associated with this particular format. The WAV extension designation was derived from the English word “wave”, which means wave in Russian. It was this format that became the first audio format to be processed with computer programs at a highly professional level. Files with a WAV extension had the following characteristics:

– depth of sound;
– sampling frequency;
– bit rate, etc.

This format was even compatible with the sound that could be obtained after processing an audio CD with an equalizer and other tools. However, the file size in this case was completely unwarranted. For example, the most common 3 minute long track could be up to 50 megabytes long.

Video compression and decoding | Codecs and Decoders

Video compression and decoding | Codecs and Decoders

Video Container and Video Codecs

Before doing serious testing, there are a few simple things to clear up. It is important to distinguish between codecs and file containers. For example, Blu-ray files often appear with the extension .m2ts. But the BDAV (blu-ray Disc Audio / Video) container format generally acts as a storage container. In this case, you can use three codecs: MPEG-2, H.264, and VC-1.

Video Codec and container

What is the difference between a codec and a container? Think about your last vacation. Your suitcase, in this case, is a “container”. Baggage is content (video, audio, subtitles, and other information), and a codec is the way you store everything (data) in your suitcase to fit. You can put things in a suitcase by folding carefully (one codec) or press them into rolls and wrap them with tape to fit more (another codec). This is true for any multimedia content. For example, the Microsoft AVI (Audio Video Interleave) format is a file container, but the video it contains can be encoded with different codecs, from DivX to MPEG-2.

When you play something back on a video player, generally the encoded video is passed through a decoder, converted to YUV (color space) data, and sent to the screen. The decoder recognizes the format and decompresses the compressed data into useful information that can be processed and displayed.

There are two types of decoders: software and hardware. Before UVD, PureVideo, and Intel GMA 4500MHD, video was decoded using software decoders that relied on the power of the processors. Therefore, many companies tried to do something to play videos. But only two of them managed to do this really well: CyberLink and InterVideo (now Corel), so ATI later licensed the PowerDVD decoder for their ATI DVD decoder. Naturally, software decoders consume a large amount of processor time, which, while not affecting the performance of modern processors, significantly reduces the battery life of mobile devices.

Over time, graphics card manufacturers addressed this problem and began developing fixed-function decoders, which were logic circuits in the GPU for video processing. Today they are called hardware accelerators. Its advantage was that when the GPU was working, the time of the main processor was not wasted.

There are some interesting points. Since the decoder processes video, it is quite difficult to set parameters for its performance or efficiency. Regardless of whether the video goes through the hardware or software conversion pipeline, the data changes long before it appears on your monitor. When using software, it is not necessary to compare the systems used in decoding. However, when using the same system, different decoders can produce different images or change the image quality. Most Blu-ray discs played on nVidia or AMD graphics cards will look the same if you disable acceleration in PowerDVD. In both cases, the video is processed using software on the processor, giving the same result.

When hardware decoding is added to the process, things look different. Why? Modern GPUs have a special unit for decoding and processing video data. This is exactly the logic with a fixed function, which was discussed earlier. Hardware accelerated decoding on Sandy Bridge processors is designed and programmed differently than on AMD and nVidia graphics cards.

We must understand clearly: there are no general purpose GPU decoders. There are no decoders that can fully work on DirectCompute, APP, or CUDA. Striving to implement such support is doomed beforehand. GPGPU is designed to handle raw data with a high degree of parallelism. But we are talking about video, not raw data. To process images, you have to do a lot and in a sequential execution. Fixed function decoders decode and process video; they do nothing else. Porting this functionality to more general computing resources would be a step back from moving it to the processor, since in both cases you have to work with software decoding.

Elemental Technologies (known for its Badaboom) is unique in developing a CUDA-based MPEG-2 decoder. And it is not a pure GPGPU decoder. Parts of your pipeline, such as entropy encoding, syntax encoding, syntax decoding, and entropy decoding, must be executed sequentially. Other parts of the process can be designed to run in parallel, such as motion estimation, motion compensation, etc.

Video codecs, video formats – what does this all mean?

Video codecs, video formats – what does this all mean?

video codec

What is video codec and video format?
If you are puzzled by the endless list of export options in your video editing software, this article is for you. Let’s first look at the definition of a codec. Then we will look at the concept of video format and then we will look at some of the most common codecs and their uses.

Video Codec

If you are recording or editing a video, you will almost immediately come across the term “codec”. Since there are so many and it’s hard to tell them apart, I’ve made a quick overview to help you get started. Once you understand certain terms, you can better decide which one suits your needs. Let’s start with a simple definition.

The video codec.

A codec is actually a combination of two words: an encoder and a decoder (co / dec). What are they doing? Bottom line, because video files are so large, you need a way to make them smaller. The codec encodes, compresses the data to store or send it, and then decompresses it for playback or editing.

A codec is a computer code that performs its function each time the software calls a file. Codecs can also be used on physical equipment, such as a camera, to digitize incoming video and audio.

This happens in real time, either at the point of capture or at the point of playback. However, if you are not a broadcast engineer, you must rely on your computer or device to select the codec. Hardware compresses your video and audio data for viewing, streaming, or storage.

The video format is.
The file format is similar to a container. The container contains data that has been compressed using a specific codec. And sometimes they have the same name.

For example, a file format such as Windows Media Audio contains data that is compressed using the Windows Media Audio codec. However, a file format such as Audio Video Interleaved (AVI) can contain data compressed with any of several different codecs, including MPEG-2, DivX, or XviD codecs.

AVI files can also contain data that is not compressed by any codec. Therefore, depending on the codecs installed on your system, some AVI files will play fine, while other AVI files, despite the same file extension, will not play.

It also affects the audio. Often there is a situation where when playing a video, the sound plays, but the video does not. This means that the appropriate video codec is installed on your device.

Terms display – video format

How do I determine the video format and video codec used?
Unfortunately, the tools built into Windows do not allow you to find detailed information about a video file.

What is the smallest video format?
Currently, the HEVC or H.265 codec is one of the most efficient available on the market and is commonly used to compress 8K UHD video. However, the use of the codec requires the payment of a license fee, so it is not widely supported or widely supported by different devices or browsers. For the Internet, the .WEBM format and the corresponding VP8 / VP9 codec are used. This package is widely supported and popular for reducing the size of video files.

However, it is important to consider factors other than size: where the files will be played and the required video quality.

What are Codecs?

What are Codecs

CODECS

Whether you make your own video and audio files available on the Internet or want to use existing resources, there are a host of different player programs, codecs, and file formats available. Here we guide you through the jungle of MPEG, AVI, MKV & Co. On the one hand, the relationships between the different components of the system are explained. This will solve puzzles for example why only certain AVI videos are displayed on your computer and how you can solve such problems. On the other hand, the advantages and disadvantages of the different formats and methods are explained. In this way, you can evaluate what quality you can expect from an audio or video file and which files are particularly suitable for your purposes.

Codecs

As an end user, you are particularly familiar with one type of program: playback programs (or “players”). They play audio or video files and are therefore the software equivalent to CD or DVD playback devices. The program interface contains elements of a remote control: there are buttons for play, forward, backward, pause, etc. B. Windows Media Player, VLC Player, or Apple iTunes. Instead of inserting a data carrier, the files must be opened on the software players. Audio and video files can only be opened by a player if it can do something with the file format used.

File formats

The digital data with which analog video or audio signals are represented can be organized in various formats. This can best be explained for a single image – there are multiple ways to store individual pixels in a file. For example, if the image points are stored one after the other from left to right or first from top to bottom in the file it is of course a convention that must be specified. The way a color value is stored must also be clearly defined. These and many other specifications are determined by the respective file format. To store the data, a predefined encoding rule is always followed, which is ultimately decisive for the data to be interpreted correctly. Perhaps the difference between individual formats is better understood if you think of them as different data carriers: CDs, large and small discs, tapes, etc. they may contain audio data, but you still cannot put a disc in the CD player! The MPEG, Quicktime or Matroska formats are equally different. These formats are also known as container formats. The container can easily be imagined as a box that in turn contains various audio and video codecs. These codecs can encode and decode files, that is, compress a signal for transport, and then decompress it again during playback. if you think of them as different data carriers: CDs, large and small discs, tapes, etc. can contain audio data; however, you cannot put a disc in the CD player. The MPEG, Quicktime or Matroska formats are equally different. These formats are also known as container formats. The container can easily be imagined as a box that in turn contains various audio and video codecs. These codecs can encode and decode files, that is, compress a signal for transport, and then decompress it again during playback. if you think of them as different data carriers: CDs, large and small discs, tapes, etc. can contain audio data; however, you cannot put a disc in the CD player. The MPEG, Quicktime or Matroska formats are equally different. These formats are also known as container formats. The container can easily be imagined as a box that in turn contains various audio and video codecs. These codecs can encode and decode files, that is, compress a signal to transport it and then decompress it again during playback. The MPEG, Quicktime or Matroska formats are equally different. These formats are also known as container formats. The container can easily be imagined as a box that in turn contains various audio and video codecs. These codecs can encode and decode files, that is, compress a signal to transport it and then decompress it again during playback. The MPEG, Quicktime or Matroska formats are equally different. These formats are also known as container formats. The container can easily be imagined as a box that in turn contains various audio and video codecs. These codecs can encode and decode files, that is, compress a signal to transport it and then decompress it again during playback.

Many different codecs for playing video and audio data
In the living room, the various playback devices are often combined into one system, so multiple devices are not necessary. Different playback programs work the same way: they can read and play different formats. A separate codec is used for each format. These are snippets that only do one job: encode and decode audio or video information. Each codec can be used to write and read exactly one format. Different codecs are used for different formats; correspond roughly to the individual technical components of your stereo system. But instead of a K device for playing discs and a C device for playing DVDs, there is an M codec for playing audio in MP3 files and a W codec for playing video according to the MPEG-4 standard in MP4 files. Most of the players already have multiple codecs built in and therefore can play multiple file formats. There is also the possibility for a player to learn to understand other file formats by adapting additional codecs. Just as you can connect additional devices to your stereo system, such as an old record player or a high-end CD player, the players can be upgraded with plug-ins. A codec plugin is independent of a specific player and can be used by different players. Additional codecs are required, eg. Eg B. if you want to play newer or rarely used file formats with your playback software.

Everything you need to know about video codecs, containers, and compression.

Explaining the difference between codecs and containers is relatively simple, but the difficult part is trying to understand each format. The lines begin to blur when you realize that the most common codecs are not exclusive and can use various compression technologies to get the job done. The blurred line is almost invisible when you start talking about formats like MPEG-4, which can be classified as container and codec, but it is a complicated classification that is better to leave for another time.

codecs

So how is the difference between dozens of codec and container options taught? Don’t do it.There are only a handful of technologies used for online video, and most of your effort will be devoted to understanding how they work, as well as understanding the trade-offs you face in deciding what to use. .

Lossless vs Lossy

You can spend weeks studying technologies that are only used for a relatively small number of applications. Therefore, we will focus our attention on the technologies that you will use for most video encoding and playback needs.

What is a codec?

A codec, or encoder / decoder, is an encoding tool that processes video and stores it in a sequence of bytes. Codecs use algorithms to effectively reduce the size of the audio or video file and then unzip it when necessary. There are dozens of different types of codecs, and each uses different technology to encode and reduce your video file for the intended application.

Depending on the codec, this encoding occurs in two ways: Lossy or lossless compression How does file compression work? How does file compression work? One can argue that file compression is at the heart of how the modern Web works, as it allows us to share files that would otherwise take a long time to transfer. but how does it work? See more information.

Lossy compression

When looking for manageable file sizes, lossy compression is the most viable method available. Although it certainly loses quality in audio, video or both, compression is a necessary evil (currently) in a world dominated by the need to share and store what would otherwise be equivalent to impractical file sizes. Your average Blu-ray, for example, can top 40 gigabytes, and that kind of storage space would not only be expensive, but would make digital downloads and purchases inconvenient, if not a waste of time. The key when using lossy compression is to set the highest quality compression format for its intended use, so that it follows the fine line between quality loss and file size.

Lossless compression

Lossless compression works much the same as a ZIP or RAR archive, because after compressing and decompressing, the archive is essentially the same. By using smart algorithms, the file does not lose a lot of quality, but it is not an efficient way to store large files because there is not much compression that actually occurs. Also, streaming large video files online uses a lot of bandwidth (although H.265 encoding can change that) to make it a viable compression option.

Unless you work in the film or video editing industry, you are unlikely to share video files in a lossless format (if you do). To put this in perspective, even a 4K TV does not contain the resolution necessary to display a movie shot on a modern camera and is delivered without compression. In fact, it’s not even close (yet). While 4k video is beautiful, 8 Ultra HD videos to watch on your new 4K TV [things to see] 8 Ultra HD videos to watch on your new 4K TV [things to see] We have tracked high and low and found some 4K videos that take full advantage of the ridiculous amount of pixels at your disposal, for free. Read more, it is not the size of an uncompressed video format.

Although a Blu-ray movie is less than 50 gigabytes (if required on disc), the first downloadable 4K movie (available to consumers – trailer below) is 160 gigabytes! The uncompressed 1080p video is mind-blowing 410 gigabytes per hour, and that doesn’t include the audio file, which can add an additional 7 gigabytes per hour, depending on how it was recorded.