L
LLLOS.ai
Learn
L

Ask Your Tutor · Computer Science

How does video compression work?

From NCERT In depth Asked by Anonymous from Dallas, United States 23 Oct 2026, 4:43 PM IST Updated

In one line

Video compression makes video files smaller by removing unnecessary data, so they use less space and can travel faster over the Internet.

MP4 file format — Digital multimedia format for storing video and audio
MP4 file format — Digital multimedia format for storing video and audio
MP4 is a popular compressed video format used for streaming and sharing.
Image: Wikipedia

The rule

Video compression is the process of reducing the size of a video file by encoding it with fewer bits, often by removing repeated or less important information, while trying to keep the quality as high as possible.

There is a formula for compression ratio: C = (original size - compressed size) / original size × 100% Where:

  • C = compression percentage
  • original size = size before compression (in bytes, KB, MB, etc.)
  • compressed size = size after compression
The formula
C = (original size - compressed size) / original size × 100%
Ccompression percentage
original sizesize before compression
compressed sizesize after compression

Let's understand it simply

Imagine you are packing for a trip. If you just throw all your clothes in a bag, it takes up a lot of space. But if you fold them neatly and remove things you don't need, you can fit much more in the same bag.

Video compression works the same way. A raw video is like a messy pile of clothes—big and hard to carry. Compression folds the video data neatly and removes extra bits you won't notice, so the file is smaller and easier to send or store.

How it works

  1. Break the video into frames: A video is a series of pictures (frames), shown quickly one after another.
  2. Find repeated information: Many frames are very similar. Compression looks for parts that don't change much (like the background in a cricket match).
  3. Store changes, not repeats: Instead of saving every frame fully, it saves one full frame, then only the changes for the next few frames.
  4. Remove unnoticeable details: The human eye can't see every tiny color or brightness change. Compression removes details we won't miss.
  5. Use smart codes: It replaces common patterns with short codes (like saying '4A' instead of 'AAAA').
  6. Pack the data: All this information is packed tightly, so the file is much smaller.
How Video Compression Works
  1. Break video into frames
  2. Find repeated information
  3. Store only changes between frames
  4. Remove details the eye can't see
  5. Use short codes for patterns
  6. Pack data tightly

The story behind it

Video compression started becoming important in the 1980s and 1990s, when computers and the Internet were too slow to handle big video files. Engineers and scientists around the world worked on ways to shrink video files without making them look bad. The most famous early standard was MPEG (Moving Picture Experts Group), created by a team of experts from many countries. They wanted to make it possible to send videos over TV, CDs, and later, the Internet. One fun fact: the MP4 format, which you see everywhere today, is based on these early ideas.

Where you see it in real life

  • YouTube videos: When you watch a video online, it is compressed so it loads quickly, even on slow Internet.
  • WhatsApp video sharing: When you send a video, WhatsApp compresses it to save data and send it faster.
  • Mobile phone cameras: The videos you record are automatically compressed, so you can store more on your phone.
  • TV broadcasts: Satellite and cable TV use compressed video to send many channels at once.
  • Video calls: Apps like Zoom or Google Meet compress video so calls work smoothly, even with weak signals.
  • CCTV cameras: Security cameras compress video so weeks of footage can fit on a small hard disk.

Why it matters

  • Saves storage: You can keep more videos on your phone, pen drive, or computer.
  • Faster sharing: Compressed videos upload and download quickly, even on slow networks.
  • Cheaper data use: Smaller files mean less mobile data is used.
  • Makes streaming possible: Without compression, watching videos online would be almost impossible for most people.
  • Needed for editing and broadcasting: Editors and TV stations rely on compression to handle huge amounts of video every day.

Worked example

Let's say you have a raw video file that is 500 MB. After compression, it becomes 100 MB. What is the compression percentage?

Given: original size = 500 MB, compressed size = 100 MB
Step 1: Write the rule        C = (original size - compressed size) / original size × 100%
Step 2: Put in the numbers    C = (500 - 100) / 500 × 100%
Step 3: Calculate             C = 400 / 500 × 100% = 0.8 × 100% = 80%
Step 4: Answer                The video is compressed by 80%.

Common mistakes

  • Thinking compression always ruins quality: Good compression keeps most quality; only very high compression makes videos look bad.
  • Believing all formats compress the same: Different formats (like MP4, AVI, MOV) use different methods and give different results.
  • Forgetting about audio: Video files also have sound, which is compressed separately.
  • Assuming compression is only for the Internet: It's also used for storage, editing, and broadcasting.

Remember it

Video compression is like folding and packing your clothes tightly—same things, less space, easier to carry or send.

Check yourself

Why does video compression make it faster to send a video on WhatsApp?

Because the file is smaller, so it uploads and downloads faster.

What is one way video compression reduces file size?

By saving only the changes between frames instead of every full frame.

If a video is compressed too much, what might happen?

The quality may drop, and the video can look blurry or blocky.

Why is compression important for streaming videos online?

It allows videos to load quickly and play smoothly, even with slow Internet.

Quick recap

  • Video compression shrinks video files by removing repeated and unneeded data.
  • It works by saving only changes between frames and removing details we can't see.
  • Compression makes videos easier to store, share, and stream.
  • Formats like MP4 use these methods to balance quality and file size.
  • Compression is used everywhere—YouTube, WhatsApp, TV, CCTV, and more.
Written by the LLOS.ai tutor, checked against NCERT chapters. Asked by Anonymous from Dallas, United States on 23 Oct 2026, 4:43 PM IST