Video Compression

 Definition: 
  • Video Compression is the process of encoding a video file in such a way that it consumes less space than the original file and is easier to transmit over the network/Internet.
  • It is a type of compression technique that reduces the size of video file formats by eliminating redundant and non-functional data from the original video file.


  • Video files are almost always compressed before being put on the web (or downloaded from the web ). 
  • Compression involves packing the file's information into a smaller space. This works through two different kinds of compression i.e, lossy and lossless.
 Lossy Compression:
  • Lossy compression means that the compressed file has less data in it than the original file.
  • Images and sounds that repeat throughout the video might be removed to effectively cut out parts of the video that seen as unneeded.
  • In some cases, this translates to lower quality files because information has been "lost," hence the name.
  • Lossy compression methods don't make pixel-by-pixel copies of the source at all.
  • They work in several different ways, but the general result is the same.
  • By making compression method can essentially turn a giant source file into something that takes up considerably less space and can be easily played back on a portable device.


 Examples of Lossy Compression Technique:
Lossy Compressed Files

 Lossless Compression: 
  • Lossless Compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data.
  • The latest standard in video compressing is High Efficiency Video Coding(HEVC). This is said to double the amount of data compressed while retaining the same level of video quality.
  • Over all, lossless compression is best for every stage of the editing process from capture to edits, but lossy compression formats are currently the best way to deliver high-quality video to your portable media player or to YouTube.


 Examples of Lossless Compression Technique:
Lossless Compressed Files
 Advantages:
  • Video file requires less storage space.
  • File transferring is faster.
  • Order of bytes is independent.
  • Reading and writing the video files is faster.
 Disadvantages:
  • Complicated work process.
  • Errors can occur during compression, transfer and streaming.
  • Processing time to decompress the compressed file.