WEBVTT

00:00.000 --> 00:14.500
In this video, we will understand, learn what data compression is and why it's useful.

00:14.500 --> 00:18.500
Know the difference between lossless and lossy compression.

00:18.500 --> 00:26.000
Understand basic ways compression reduces file size.

00:26.000 --> 00:29.500
What is data compression?

00:29.500 --> 00:33.500
Data compression is a way to make digital files smaller.

00:33.500 --> 00:40.000
It helps save storage space and makes files faster to share or download.

00:40.000 --> 00:49.500
Without compression, sending photos, videos or documents would take much longer.

00:49.500 --> 00:52.500
Types of compression

00:52.500 --> 00:55.000
There are two main types of compression.

00:55.000 --> 00:58.500
Lossless compression keeps all the original information.

00:58.500 --> 01:02.500
When the file is opened again, it looks exactly the same as before.

01:02.500 --> 01:09.500
Examples include PNG images, ZIP folders, and text files.

01:09.500 --> 01:13.500
Lossy compression removes some details to make files much smaller.

01:13.500 --> 01:18.500
The quality is a little lower, but the file is easier to store and share.

01:18.500 --> 01:27.500
JPEG photos, MP3 songs, and MP4 videos use this method.

01:27.500 --> 01:30.500
How compression works?

01:30.500 --> 01:36.500
Compression works by finding patterns or removing details we don't really need.

01:36.500 --> 01:43.500
For example, run length encoding shortens repeated data like a row of the same letter or color.

01:43.500 --> 01:54.500
In images and music, tiny differences that humans can't notice are removed, which makes the file smaller.

01:54.500 --> 01:58.500
Why compression matters?

01:58.500 --> 02:01.500
Compression is important in everyday life.

02:01.500 --> 02:04.500
It saves space on our devices.

02:04.500 --> 02:07.500
Reduces internet data use

02:07.500 --> 02:12.500
and makes streaming videos or sharing files much faster.

02:12.500 --> 02:16.500
To remember, lossless is used when accuracy is important,

02:16.500 --> 02:22.500
while lossy is used when smaller size is more important.

02:22.500 --> 02:28.500
Data compression helps make files smaller, faster to send, and easier to store.

02:28.500 --> 02:34.500
Use lossless for full quality and lossy when smaller size matters more.

