Digital video file formats & codecs by Matt Ottewill Nove 2008

Introduction

If you have not already done so, you may wish to read the page on Data Rates, Data Size and Bandwidth first.

NOTE: This article concerns itself with "consumer" and semi-professional/broadcast/hi-end "project" video production technologies such as AVCHD, DV and formats for DVD, CDROM and web sites.

Digital video data file formats

There are many many digital video data file formats (codecs) in the consumer and professional worlds. For example, all of the following can record and/or playback some form of digital video ...

  • Computer
  • DVD video disc
  • DVD ROM
  • CD ROM
  • Cable TV
  • Satellite TV
  • DV camcorder
  • Games console
  • Video mobile phone

But they do NOT all use the same data file formats and codecs.

Video file formats & codecs

Unlike the world of digital audio, where 2 uncompressed file formats (.wav, .aif ) and 1 compressed file format (MP3) dominate, digital video is a minefield.

NOTE: You may wish to read an explaination of the difference between file formats and codecs before you continue reading.

Here are SOME of the digital video data file and codec formats ...

Data file type Codec(s) Filming / Camcorder? Editing?
Delivery?
Sony Digital Betacam Uncompressed Yes Professional TV editing systems No, must be compressed first
DV DV codec Yes PC & Mac editing No, must be converted first
MPEG-1 MPEG-1 No No CD ROM & web
MPEG-2 (SD DVD, digital, cable & satellite TV) MPEG-2 Yes No Satellite & cable TV broadcast, HDV and DVD video discs
QuickTime (.mov) Multiple Some Yes QuickTime Player
  Sorenson No No CDROM, DVDROM, web
MPEG-4 Includes many codec variants including H.264 Yes Yes Everything ... from HD DVD, digital TV to mobile phones, PSP, iPod etc
divX Appears to use an MPEG-4 variant codec No No CDROM, DVDROM, web
  xVid No No CDROM, DVDROM, web
  3GPP No No Mobile phones
Windows Media (.wmv) Multiple No Yes Windows Media Player
Flash (.swf) MPEG-4 - - Flash player
Hi-def ... at the time of writing (March 2008) professional and consumer hi-def formats are evolving. There are many formats including the excellent AVCHD format. We will return to this subject in the future.

 

Camcorder types

Click here to compare different camcorder types

Uncompressed video formats

There are SOME professional broadcast quality uncompressed digital video formats including Sony DigiBeta but these require specialist hardware and software and cannot be used on Macs and PCs. This format is used for TV programmes such as news, reality TV, soaps and game shows etc.

Sony DigiBeta camcorder.

Compressed video formats

Raw video data files are very large. Most file formats use compression software to help in transferring and storing. Usually data must be encoded (compressed) before it is ...

  • recorded to the video tape in a camcorder
  • stored on the hard disc of a computer
  • burnt on to DVD
  • transferred over the internet
  • broadcast via satellite or cable
  • transferred to a portable device (eg iPod or mobile phone)

... and then decoded (uncompressed) to be played.

Quality & file size

The more video is compressed ...

  • The smaller the file size (easier to store and transfer)
  • The lower the data rate (easier to replay and stream)
  • The worse the quality

The compression settings you choose when preparing video will depend upon ...

  • The CPU power of the target computer (which will need to compress, decompress and display video files).
  • The duration of the video
  • The capacity of the media it will be stored on (floppy, CDROM, DVDROM etc?).
  • The bandwidth of the connection (if on a web site)

Video codecs

A codec is a piece of software that carries out the compression process before the data is stored and then decompresses it when it is viewed/played back. All video cameras have so called "hard codecs" built into a special computer chip to enable them to do this quickly and effectively.

Where can video codecs be located??

Video codecs may be located in several places ...

  • Computer system folders (so called "soft codecs" such as the ones that QuickTime and Windows Media Player provide)
  • Browser plug-ins (usually utilise system installed soft codecs
  • Video PCI expansion cards often have "hard codec" chips similar to those found in DV camcorders
  • DVD players have "hard codec" chips to decompress the MPEG-2 video files that DVD discs carry
  • Set top boxes for satellite and cable TV
  • DV camcorders also have "hard codec" chips
  • Games consoles
  • Mobile phones
  • iPod's

The DV format

The most popular semi-pro and amateur video production format is DV. Read about theDV format here and by viewing our PDF on DV Signal Flow.

Incidentally, audio CDs do not use codecs because the data size of digital audio files is small enough to fit on a CD without being compressed. MP3 audio however, is highly compressed. Click here for an article on digital audio file formats.

HD video

High definition video has "splinterred" into many differing file formats, such as AVCHD. Most of these formats use an MP4 "varient" codec such as H.264 which has become standard for Blu-Ray DVD and HD TV brodacast.

Current popular codecs

The table above lists many current popular codecs.

Computer media player software & video file formats

Click here to read about how computers handle different video formats and codecs.

Optimising video files

Click here for an article on video optimising concepts.

Click here for an article on how to prepare video for DVD.

Click here for an article on how to prepare video for web sites & multimedia projects.

Related downloads

None at present

Music by our artists

Free MP3 tracks

Download page

Related ads