L
LLLOS.ai
Learn
L

Ask Your Tutor · Computer Science

What is video compression and how does it work?

From NCERT In depth Asked by Anonymous from Seattle, United States 24 Oct 2026, 7:46 AM IST Updated

In one line

Video compression means making video files smaller so they use less space and can be sent faster.

The rule

Video compression is the process of reducing the size of a video file by removing unnecessary or repeated information, while keeping the quality as high as possible.

There is no single formula for video compression, but for data compression in general: C = (original size - compressed size) / original size × 100% where:

  • C = compression percentage
  • original size = size of the file before compression
  • compressed size = size after compression

Let's understand it simply

Imagine you have a long cricket match video on your phone. The file is huge, and you want to send it to your friend on WhatsApp. But the internet is slow, and your phone has little space left. Video compression is like packing your clothes tightly in a suitcase so you can fit more. It removes extra things you don’t need and squeezes the rest, so the video takes up less space. The goal is to keep the video looking good, even after making it smaller.

Original vs Compressed Video
Original VideoCompressed Video
File sizeLarge (e.g., 200 MB)Small (e.g., 50 MB)
QualityVery highAlmost the same
Sharing speedSlowFast
Storage neededA lotLess

How it works

  1. Break the video into frames: A video is just many pictures (frames) shown quickly, like a flipbook.
  2. Find repeated parts: Many frames are almost the same, like when the camera doesn’t move. The computer finds what doesn’t change.
  3. Remove duplicates: It saves only the changes between frames, not the whole frame every time.
  4. Simplify details: Tiny details that the human eye can’t notice are removed or blurred a bit.
  5. Use smart codes: The computer uses special codes (algorithms) to store repeated patterns in a short way.
  6. Make the final file: All the compressed data is packed into a new, smaller video file (like MP4 or AVI).
How Video Compression Works
  1. Break video into frames
  2. Find repeated parts
  3. Remove duplicates
  4. Simplify details
  5. Use smart codes
  6. Make the final file

The story behind it

The idea of compressing data started in the 1940s and 1950s, but video compression became important in the 1980s and 1990s. As TVs, computers, and the internet became popular, people wanted to send and store videos easily. The Motion Picture Experts Group (MPEG) created famous standards like MPEG-1, MPEG-2, and MPEG-4. One famous early use was for Video CDs and DVDs. The people behind these standards were teams of engineers from many countries, working together to solve the problem of huge video files.

Where you see it in real life

  • YouTube videos: When you watch a video online, it is compressed so it loads quickly and doesn’t use much data.
  • WhatsApp video sharing: When you send a video, WhatsApp compresses it so it uploads and downloads faster.
  • Mobile phone storage: Your phone camera saves videos in MP4 format, which uses compression to save space.
  • Television broadcasting: TV channels use compressed video to send many channels over the same cable or satellite.
  • Video calls (Zoom, Google Meet): Compression lets you see and hear people smoothly, even with slow internet.
  • CCTV cameras: Security cameras use compression to store many days of video on a small hard disk.

Why it matters

  • Saves space: Compressed videos use less memory on your phone, computer, or pen drive.
  • Faster sharing: Smaller files upload, download, and stream faster, even on slow internet.
  • Cheaper data: Less data means lower internet bills, which is important in India where many people use prepaid plans.
  • Makes technology possible: Streaming, video calls, and online classes all depend on video compression.
  • Needed for exams and jobs: Understanding compression is important for computer science, engineering, and media studies.

Worked example

Let’s say you have a 200 MB cricket match video. After compression, it becomes 50 MB. What is the compression percentage?

Given: original size = 200 MB, compressed size = 50 MB
Step 1: Write the rule        C = (original size - compressed size) / original size × 100%
Step 2: Put in the numbers    C = (200 - 50) / 200 × 100%
Step 3: Simplify              C = 150 / 200 × 100%
Step 4: Calculate             C = 0.75 × 100% = 75%
Step 5: Answer                The video is compressed by 75%.

Common mistakes

  • Thinking compression always ruins quality: Good compression keeps most of the quality. Only very high compression makes videos look bad.
  • Believing all formats are the same: Different video formats (like MP4, AVI, MOV) use different ways to compress. Some are better than others.
  • Forgetting about sound: Video files also have sound, which is compressed separately.
  • Assuming compression is only for storage: It’s also needed for streaming and live video.

Remember it

Video compression is like folding clothes tightly to fit more in your bag — it saves space and makes sharing easy.

Check yourself

Why do we need to compress videos before sending them online?

To make them smaller, so they upload and download faster and use less data.

What is the main trick used in video compression?

It saves only the changes between frames, not the whole frame every time.

If a video is 100 MB before compression and 25 MB after, what is the compression percentage?

75% (because (100-25)/100 × 100% = 75%).

Does video compression always make videos look bad? Why or why not?

No, good compression keeps most of the quality. Only very high compression makes videos look bad.

Quick recap

  • Video compression makes video files smaller by removing extra data.
  • It works by finding repeated parts and only saving changes.
  • Compression helps videos load faster and saves storage space.
  • You see it in YouTube, WhatsApp, TV, and video calls.
  • Good compression keeps most of the video quality.
Written by the LLOS.ai tutor, checked against NCERT chapters. Asked by Anonymous from Seattle, United States on 24 Oct 2026, 7:46 AM IST