User Tools

Site Tools


general:common_myths

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general:common_myths [2012/03/14 23:46]
j.m
general:common_myths [2012/11/11 08:51] (current)
Line 22: Line 22:
 ===== Software vs. format, format vs. codec ===== ===== Software vs. format, format vs. codec =====
  
-Contrary to popular myths, a codec is not the same thing as a format. A compression format is //a way// audio or video data are encoded, which is described in its specification (if it is standardized,​ it can be called a standard). An audio or video codec (a codec means en**co**der/​**dec**oder) is a software or hardware //tool// that encodes or decodes audio or video data. Tools used for encoding are called encoders, tools used for decoding are called decoders. Software codecs, encoders and decoders are typically implemented as libraries. ​+Contrary to popular myths, a codec is not the same thing as a format. A compression format is //a way// audio or video data are encoded, which is described in its specification (if it is standardized,​ it can be called a standard). An audio or video codec (a codec means **co**der/​**dec**oder) is a software or hardware //tool// that encodes or decodes audio or video data. Tools used for encoding are called encoders, tools used for decoding are called decoders. Software codecs, encoders and decoders are typically implemented as libraries. ​
  
-==== Examples of compression formats (standards, ​specifiations) ====+==== Examples of compression formats (standards, ​specifications) ====
  
   * MP3   * MP3
Line 49: Line 49:
 This all means that audio or video does not have to be decoded with the same codec it was encoded with. For example, when you encode an MP3 file with the LAME codec, it is not a "LAME file", "LAME format",​ "LAME audio" or just "​LAME"​ – you don't encode "to LAME". It is an MP3 file and it can be decoded with other MP3 decoders, too. This all means that audio or video does not have to be decoded with the same codec it was encoded with. For example, when you encode an MP3 file with the LAME codec, it is not a "LAME file", "LAME format",​ "LAME audio" or just "​LAME"​ – you don't encode "to LAME". It is an MP3 file and it can be decoded with other MP3 decoders, too.
  
-However, the common practice in digital video is using these two terms interchangeably,​ which is caused by years of industry obfuscations,​ greedy proprietarism (pretending that their codec is a format is a common business model for codec vendors and a significant source of their income, as it ties the customers to their products), intentional lying in various magazines, websites etc. (in order to make it "​easy"​ for the readers who could be "​confused"​ by correct terms), and the resulting ubiquitous ignorance and lack of knowledge. The nonsensical use of codec [[http://​en.wikipedia.org/​wiki/​FourCC|FourCC]] in AVI files was a major factor in this massive confusion (video codecs have their own four-character identification in AVI files that is used by the player software for choosing a video decoder, so if the encoder uses a common standard format, users are supposed to install multiple decoders for the same format). Historically,​ when a company released their own proprietary codec, it was automatically supposed to be the only existing codec for that proprietary format.+However, the common practice in digital video is using these two terms interchangeably,​ which is caused by years of industry obfuscations,​ greedy proprietarism (pretending that their codec is a format is a common business model for codec vendors and a significant source of their income, as it ties the customers to their products), intentional lying in various magazines, websites etc. (in order to make it "​easy"​ for the readers who could be "​confused"​ by correct terms), and the resulting ubiquitous ignorance and lack of knowledge. The nonsensical use of codec [[http://​en.wikipedia.org/​wiki/​FourCC|FourCC]] in AVI files was a major factor in this massive confusion (video codecs have their own four-character identification in AVI files that is used by the player software for choosing a video decoder, so if the encoder uses a common standard format, users are supposed to install multiple decoders for the same format). Historically,​ when a company released their own proprietary codec, it was automatically supposed to be the only existing codec for that proprietary format. This practice has gone with the 20th century.
  
-But there are standards such as MPEG-1, MPEG-2 and MPEG-4. These are specifications. Developers can develop software or hardware implementations that encode or decode audio and video according to the specification. There can be multiple codecs, made by different people, using the same compression format such as MPEG-2 (used e.g. on DVDs) or MPEG-4 ASP. Video encoded with one of them can be decoded with another one, if they use the same compression format, which means they are compatible. So the essential thing for describing a video file is its format, not which codec was used for encoding.+There are standards such as MPEG-1, MPEG-2 and MPEG-4. These are specifications. Developers can develop software or hardware implementations that encode or decode audio and video according to the specification. The purpose of standards is interoperability. There can be multiple codecs, made by different people, using the same compression format such as MPEG-2 (used e.g. on DVDs) or MPEG-4 ASP. Video encoded with one of them can be decoded with another one, if they use the same compression format, which means they are compatible. So the essential thing for describing a video file is its format, not which codec was used for encoding. There are only a handful of audio and video formats that are actually used in the 21st century. The vast majority of codecs made in this century only implement one of these common standards.
  
 ==== Frequent misnomers ==== ==== Frequent misnomers ====
general/common_myths.1331765202.txt.gz · Last modified: 2012/11/11 08:51 (external edit)