Codecs for Videos

Why do we need Codecs for videos :
  • The purpose of codecs is to reduce the size of digital audio samples and video frames in order to speed up transmission and save storage.
  • Generally video files are large, they become difficult to transfer across internet quickly.
  • Codecs were built to encode a signal for transmission and then decode it for viewing or editing.

Video Codecs :
  • Codecs are software that enable your devices(Camera, Editor, Player) to perform video encoding and/or decoding(video compression and de-compression).

Popular Video Codecs:
  • MPEG-4:
    • MPEG-4 is the most common streaming format and it consists of many parts,it consists of many parts, of which only MPEG-4 Part II is used for video coding.
    • The use of this encoder(compression algorithm) can be a 120 minute film (the original video files) is compressed to about 300MB.
    • This compression algorithm of the MPEG are used by many encoding formats, such as ASF, DivX, Xvid, mp4 are using the MPEG-4 compression algorithm.

  • DivX/Xvid :
    • DivX is a commercially sold codec,while Xvid is an open source version of Divx.
    • Both codecs can decode the output of the other, as they are both built on the implementation of MPEG-4.
    • Most of the DivX videos use avi file extension, of course, DivX and Div extension.

  • H.264:
    • This is the most common codec used in modern camcorders and digital cameras that capture to file-based devices (hard drives, memory cards, and so on).
    • It can utilize both lossy and lossless compression depending on the settings you choose when encoding, such as frame rate, quality, and target file size.
    • Video compression on H.264 Codec :


  • Finding Video Codecs on computer :
    • Using windows media player :



    • Using "msinfo32" command in Run :