Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

SC 2.3: Codecs: squeezing sound and video

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

55 minutes

A film that would fill your phone

A two hour film in raw form takes hundreds of gigabytes. Yet you stream one on a phone in minutes.

Something squeezes the film for the trip and opens it again at the end. That something is a codec.

By the end of this lesson

Note

I can say what a codec does and choose lossy or lossless for a job.

Key words

WordWhat it means
Bandwidththe most data a link can carry each second
Codeca tool that compresses and uncompresses sound or video
Compressmake a file smaller
Uncompressturn a small file back into playable data
Lossycompression that throws some detail away for good
Losslesscompression that keeps every detail
Algorithmthe steps a program follows to do a job

The cells students fill in are left blank in this preview.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

A codec squeezes and opens

The word codec comes from coder and decoder. It does two jobs.

To compress is to make data smaller before it is sent or saved. To uncompress is to turn it back into playable sound or picture at the other end.

Smaller files save space and need less bandwidth.

Lossy and lossless

Lossless compression keeps every detail. When you uncompress the file you get back exactly what you put in. The file is smaller but not tiny.

Lossy compression throws some detail away for ever. It aims to drop what people hardly notice. The file gets much smaller.

Three codecs to know

CodecForTypeHow it saves space
MPEG-4VideoMostly lossy. Some parts are lossless.Stores only what changes between frames
MP3AudioLossyDrops sounds the ear can barely hear
FLACAudioLosslessFinds patterns and stores them in fewer bits

The cells students fill in are left blank in this preview.

Check

Have a go

Check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

6 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.