Codec Information

 

 

A codec, or compressor/decompressor, is tool used to compress video and audio so that they take up less space.  Most codecs are lossy, which means that some of the original data is discarded to reduce the file size.  A codec tries to remove only portions of the data that humans are not likely to notice.  However, if you set the compression level of a codec too high, it will remove portions of the data that are easily noticeable.  Therefore, when using codecs to compress your video, there is a tradeoff between quality and file size.

There are a number of common codecs used on the internet.  Some are better at retaining video quality than others.  Also, one codec may be better suited to a particular type of video than another.  It is important to keep this in mind when choosing a codec.

Below I have compiled a list of the most widespread video codecs found on the internet today.  I have included a brief explanation of each codec that points out its features and flaws.

 

MPEG-1

Used in:  .mpg files, VCDs

Description:

MPEG-1 is one of the older formats used on the internet.  Because of this, virtually every computer has support for MPEG-1 files.  MPEG-1 can support videos of any practical resolution and frame rate, but it is generally used for lower resolution video (e.g. 320 x 240 at 30 fps).

Pros:

Cons:

 

MPEG-2

Used in:  .mpg files, DVDs, SVCDs

Description:

MPEG-2 was designed to support high resolution, high bitrate videos.  It is most often used to store high quality video at a high resolution, like that found on a DVD.  It is generally not used with files distributed on the internet.

Pros:

Cons:

 

MPEG-4

Used in:  .asf and .wmv files (Windows Media), certain .avi files (often using hacked codecs such as DivX 3, Angelpotion, etc.)

Description:

MPEG-4 was designed for higher quality files at lower bitrates.  This makes it an excellent choice for distributing many types of video on the internet.

Pros:

Cons:

 

RealVideo 8

Used in:  .rm files (RealMedia)

Description:

RealVideo 8 is the latest codec from RealNetworks.  It is a major upgrade the older RealVideo G2 codec.  RealVideo 8 is my recommended format for distribution of 320 x 240 cartoons on the internet.

Pros:

Cons:

 

Sorenson Video 2.1

Used in:  certain .mov files

Description:

Sorenson Video 2.1 is preferred codec for the QuickTime format.  It comes in both Standard and Developer editions, which differ in terms of the encoding features they offer.

Pros:

Cons: