
Check our codecs and containers guide to not confuse you anymore. Learn what formats suit you.
Has it happened to you that you download a video file and then you can’t use it on your player? Or that you finally finish editing your video clip and it takes years to upload to the Internet? You might think it’s a problem with your file. You are not in error, only that the question is more specific: it is the codec and container you are using.
Perhaps they are somewhat strange terms, but they are gaining more and more publicity due to the growing online video and audiovisual production community. So if you plan to start your career as a youtuber, take into account the information, because if you end up with a final video with a weight of 1 GB it will not be fun to wait for it to upload…
In this guide we will explain what each of these elements consists of and how they work. We will talk about both: video and audio.
What is a codec?
Those who are dedicated to video editing know very well that storage space can be a problem. It is better to have the material you record in its original format, but most of the time this implies a considerable amount of GB of space. For example, if you record an hour of content with a high-definition camera you may need … up to 410 GB! This is complicated to keep it, much more if you want to transmit to other media. It is here that the subject gets interesting.
The term codec refers to the process of compression and decompression of video or audio. It is a tool that encodes the video through algorithms and converts it into information. This way you can decrease the file size.
The choice of codec depends on different factors. You should take into account mainly the means of reproduction for the final product. However, coding is not enough for reproduction, it is also necessary to “package” the information to be able to present it. We are talking about containers.
What are those containers?
Suppose you just finished editing a video. The final file contains both images and audio, so you need a way to display it just as you prepared it. This “package” is basically what many refer to when they talk about the format of a file. Then, a container can accept different codecs, while players can use certain containers. For example, the VLC player accepts almost all containers.
Lossless and lossless codecs (lossy and lossless)
There are different types of compression, as we will see later. However, all of them can be divided into two categories: with or without loss. Loss of what? Quality. For example, in the case of audio files, it is not the same to listen to a song in FLAC (Free Lossless Audio Codec) format to one in MP3 (MPEG Audio Layer III). The first is coded in such a way that almost no information is lost at the time of compression, that is, fidelity is maintained.
The same goes for the video. When you want to save storage space, files with loss are compressed, that is, lossy. This makes them much easier to manage. However, it is inevitable to deal with the loss of data and, therefore, fidelity of the image or audio. On the other hand, when you want to maintain the highest possible quality and you have no problem of space, compressors are used without loss or lossless. Again, it all depends on the purpose of your file.




