Multimedia Elements Classroom

Introduction to Multimedia

Multimedia elements

Multimedia means combining more than one type of media to share information. Most of what we see on screens is built from four elements. Click one to start, or press → to go through the lesson in order.

← → or PgUp PgDn change slide O all slidesN teacher notesT timerF full screenEsc leave a slider so arrows move slides again

Text

Text is the most basic multimedia element. It carries exact information that pictures and sound can't: names, instructions, numbers and labels.

  • Headings grab attention and organise content.
  • Body text explains details.
  • Labels and captions tell us what a picture, button or chart means.
  • How text looks (typeface, size, colour) changes how easy it is to read and how it feels.
In this topic
Same words, different feelingType a word for the class

Serif vs sans serif

A serif is the small stroke or "foot" at the end of a letter. Sans is French for "without", so sans serif fonts have no feet.

SERIF SANS SERIF serifs
SerifSans serif
LooksTraditional, formal, trustworthyModern, clean, simple
Best forPrinted books, newspapers, long readingScreens, signs, headings, slides
ExamplesTimes New Roman, GeorgiaArial, Helvetica, Calibri
Class game: serif or sans serif?Score 0 / 0
Multimedia

Font size

Font size is measured in points (pt). 72 points = 1 inch on paper. On screens we often use pixels (px): 12 pt ≈ 16 px.

  • Bigger sizes show importance: titles are larger than body text. This is called hierarchy.
  • The right size depends on viewing distance: a book is close, a slide is far.
UseTypical size
Footnote / caption8–10 pt
Printed body text10–12 pt
Headings16–28 pt
Presentation slides24 pt or more
Posters72 pt or more
Size sliderBack-row test: can everyone read it?
The quick brown fox jumps over the lazy dog.
Shrink it step by step. Who can still read it?

Font and typeface

A typeface is the design of the letters, like Arial. A font is one version of it: Arial Bold 12 pt is a font. Today people use both words for the same thing.

  • Serif: classic and formal.
  • Sans serif: clean and modern.
  • Script: looks like handwriting, elegant.
  • Display / decorative: eye-catching, for big titles only.
  • Monospace: every letter is the same width, used for code.
  • Style: bold, italic, underline add emphasis.
Rule of thumbUse no more than 2–3 fonts in one design. Too many fonts look messy.
Font switcherPick a job, then let the class choose the font
You're invited!

Extra: making text easy to read

A great font can still be hard to read. Colour contrast, alignment, line spacing and line length matter just as much.

  • Contrast: dark text on a light background (or the opposite). Low contrast is hard to read, especially on projectors.
  • Alignment: left-aligned text is easiest to read. Use centred text only for short titles.
  • Line spacing: a little space between lines helps the eye.
  • ALL CAPITALS FEELS LIKE SHOUTING AND IS SLOWER TO READ.
AccessibilityA contrast ratio of at least 4.5 : 1 is recommended for normal text (WCAG guideline), so people with weaker eyesight can read it too.
Contrast checkerCan the back row read it?
Can you read this sentence easily?
Contrast ratio–
Verdict–
Alignment

Multimedia combines text, images, audio and video. When text is aligned well, the reader's eye can find the start of each new line quickly, which makes long paragraphs much easier to follow.

Text file formats: TXT, DOCX, PDF

The same content can be saved in different file formats. Each saved file is a separate file that keeps different information and suits a different job.

.txt.docx.pdf
Stores fonts, bold, coloursNoYesYes
Pictures and tablesNoYesYes
Easy to editYesYesHard
Looks the same on every devicePlain onlyCan shiftYes
Typical size (1 page)~2 KB~15 KB+~30 KB+
Opens withAny text editor (Notepad)Word, Google Docs, LibreOfficeAny PDF reader or browser
Best forNotes, code, settingsDocuments you're still writingFinal copies to share or print
The same content saved as three filesCompare the three files

My Holiday Trip

We visited the beach on Saturday. The water was warm and the sand was soft.

Click anywhere here and type: a .docx is made to be edited.

Quick quiz: Text

Image: made of pixels

A digital photo is a grid of tiny coloured squares called pixels (picture elements). Each pixel stores one colour as numbers: how much Red, Green and Blue light (RGB), from 0 to 255.

Move over the picture to zoom in
Zoomed 15 × 15 pixels
R – G – B –

Extra: bitmap vs vector

There are two ways to store a picture. A bitmap (raster) stores every pixel. A vector stores shapes as maths: "a circle here, this big, this colour".

Bitmap (raster)Vector
Made ofPixelsPoints, lines, curves
When enlargedGets blockyStays sharp
Best forPhotosLogos, icons, fonts, diagrams
FormatsJPG, PNG, GIF, BMP, HEICSVG, AI, EPS (and PDF)
Did you know?Fonts are vectors too. That's why text stays sharp at any size.
Zoom bothDrag the zoom slider
Bitmap
Vector

Resolution

Resolution is how many pixels an image has, written as width × height. More pixels show more detail but make a bigger file.

pixels = width × height
1920 × 1080 = 2,073,600 ≈ 2.1 megapixels (MP)
  • 1 megapixel = 1 million pixels. A 12 MP phone camera takes about 4000 × 3000 pixel photos.
  • For printing we use PPI / DPI (pixels or dots per inch). 300 PPI looks sharp on paper; 72–150 PPI is fine on screens.
  • Enlarging a small image cannot add detail. It just makes the pixels bigger (pixelation).
Resolution sliderStart low and slowly go up
Resolution
Total pixels
Uncompressed size

Colour depth

Colour depth (bit depth) is how many bits store the colour of each pixel. More bits mean more possible colours.

number of colours = 2bits
1-bit → 2 · 8-bit → 256 · 24-bit → 16,777,216
BitsColoursExample
12Black and white
24Early handheld games
416Old computers
8256GIF images
1665,536"High colour"
2416.7 million"True colour": JPG, PNG
Colour depth reducerWatch the sky
Colours
File size (800 × 500)

Aspect ratio

Aspect ratio is the shape of an image: width : height. 1920 × 1080 and 1280 × 720 are different sizes but the same 16 : 9 shape.

RatioWhere you see it
1 : 1Square social media posts, profile pictures
4 : 3Old TVs, many tablets and phone photos
3 : 2Camera photos, 6 × 4 inch prints
16 : 9Widescreen TV, YouTube, slides
9 : 16Phone stories, Reels, TikTok
Calculator
× = 16 : 9
Fit a picture into a new shapeWhich way looks best?

Compression: lossless vs lossy

Compression makes files smaller so they load and send faster. There are two kinds.

LosslessLossy
IdeaWrite the same data in a shorter wayThrow away detail people hardly notice
QualityPerfect copySome quality lost forever
File sizeSmallerMuch smaller
Image formatsPNG, GIFJPG, HEIC, WebP (lossy)
Like…Packing a suitcase neatlyLeaving some clothes at home
No compression at allBMP is normally uncompressed: it stores every pixel as it is, so the file is huge. It is neither lossless nor lossy compression.
CarefulEach time you edit and re-save a JPG, it loses a bit more quality.
Lossless in action: run-length encodingClick squares to paint
Original16 values
Compressed
Saved

"5W" means "5 white pixels". Large areas of one colour compress well. Busy, noisy patterns don't, which is why photos need lossy compression.

Lossy in action: JPG quality

When you save a JPG you choose a quality. Lower quality throws away more detail and gives a smaller file. This demo really compresses the picture in your browser.

Compression ratio–
Space saved–
  • Look for blocks and fuzzy edges (called artifacts) around the text and the balloon.
  • Around quality 70–85, most people can't see the difference, but the file is far smaller.
JPG quality sliderGo down to 5%
Zoomed 4×

Image file formats

Each format makes different trade-offs between quality, size and features.

FormatCompressionColoursTransparencyAnimationBest for
BMPUncompressed (huge files)Up to 16.7 MNoNoOld Windows programs; rarely used now
JPG / JPEGLossy16.7 MNoNoPhotos on websites, email, cameras
PNGLossless16.7 MYes (smooth)NoLogos, screenshots, graphics with sharp edges
GIFLosslessOnly 256Yes (on/off)YesSimple animations, memes
HEICLossy (newer, more efficient)Billions (10-bit)YesYesiPhone photos: about half the size of JPG
Real sizes of our sample pictureMeasured in your browser

BMP, PNG and JPG are measured live. GIF and HEIC are typical estimates because browsers can't save those formats.

Which format would you choose?Vote, then reveal
A holiday photo to email to Grandma

JPG: small file, photos look great, opens everywhere.

The school logo on a see-through background

PNG: lossless, sharp edges, supports transparency. (Or SVG if it's a vector!)

A short funny animation for a chat

GIF: supports animation and works almost everywhere.

A screenshot of a spreadsheet for a report

PNG: text stays crisp. JPG would add blurry artifacts around letters.

Saving thousands of photos on an iPhone

HEIC: same quality as JPG at about half the size.

Quick quiz: Image

Audio: from sound wave to numbers

Sound is air vibrating. A microphone turns those vibrations into a wave. A computer measures the wave many times a second and saves each measurement as a number. This is digital audio.

  • Frequency (Hz) = how fast the wave vibrates = pitch. Humans hear about 20 Hz to 20,000 Hz.
  • Amplitude = how tall the wave is = loudness.
  • Analogue → digital needs two choices: how often to measure (sampling rate) and how precisely (bit depth).
Tone generatorTurn the volume down first
Try very low and very high pitches. Who can still hear 15,000 Hz?

Sampling rate

Sampling rate is how many times per second the sound is measured. It is written in hertz (Hz) or kilohertz (kHz). Higher rate = more detail, bigger file.

RateUsed for
8 kHzOld telephone calls
22.05 kHzLow-quality web audio, radio
44.1 kHzMusic CDs, Spotify
48 kHzVideo and film sound
96 kHz +Professional studios
Why 44.1 kHz?A sampling rate can only capture sounds up to half its value (the Nyquist limit). Half of 44,100 is 22,050 Hz, just above the highest sound humans hear.
1 millisecond of a 2,000 Hz toneDots = samples
Samples per second
Highest pitch captured
Listen for the hi-hat "tss" sound: it disappears at low rates.

Bit depth

Bit depth is how precisely each sample is measured. Each sample must snap to the nearest available level. More bits = more levels = cleaner sound.

levels = 2bits
8-bit → 256 levels · 16-bit → 65,536 · 24-bit → 16,777,216
  • 16-bit is CD quality. 24-bit is used in recording studios.
  • Too few bits adds a hissing noise and distortion.
  • Each extra bit adds about 6 dB of dynamic range (the gap between the quietest and loudest sound).
Snap the wave to levelsGrey = real wave, colour = stored
Levels
Dynamic range

Number of channels

A channel is one separate stream of sound sent to a speaker. More channels can make sound feel like it comes from different directions.

  • Mono (1 channel): the same sound from every speaker. Phone calls, voice notes, podcasts.
  • Stereo (2 channels): left and right are different. Music, games, most videos.
  • Surround 5.1 (6 channels): front left, centre, front right, two rear speakers and a subwoofer (".1") for deep bass. Cinemas and home theatres.
  • 2 channels = twice the data of mono.
Front L
Centre
Front R
.
You
Sub .1
Rear L
.
Rear R
Speaker testBest with two speakers or headphones
LEFT
RIGHT

The circles show how loud each channel is right now.

Duration and file size

Duration is how long the audio lasts. For uncompressed audio, every second adds the same amount of data, so we can calculate the file size exactly.

file size (bits) = sampling rate × bit depth × channels × duration (s)
bytes = bits ÷ 8 · 1 KB = 1024 bytes · 1 MB = 1024 KB
Bit rateBit rate = sampling rate × bit depth × channels. It's the amount of data per second, measured in kbps (kilobits per second). CD audio: 44,100 × 16 × 2 = 1,411 kbps.
Audio file size calculatorTry a 3-minute song
Bit rate
File size
Songs on a 4 GB phone space

Audio compression

Uncompressed audio is large. Lossless compression (FLAC, ALAC) shrinks it to about half with no change in sound. Lossy compression (MP3, AAC) removes sounds our ears are less likely to notice, often making files 5–10 times smaller.

Sizes for a 3-minute stereo song. Lossy quality is chosen as a bit rate in kbps: higher = better sound, bigger file.

How lossy audio worksIt uses psychoacoustics: very high sounds, and quiet sounds hidden behind loud ones, are removed first.
Hear the differenceSimulation

This demo imitates how lossy files lose high frequencies at lower bit rates. Real MP3 encoders are smarter, so at 128 kbps and above most people hear no difference.

Audio file formats

The file format decides how the sound is stored and compressed, and which devices can play it.

FormatCompressionQualitySize (3 min song)Typical use
WAVNonePerfect~30 MBRecording and editing (Windows)
AIFFNonePerfect~30 MBRecording and editing (Apple)
FLACLosslessPerfect~15–20 MBMusic collectors, hi-fi streaming
MP3LossyGood~3–7 MBWorks on almost every device
AAC (.m4a)LossyBetter than MP3 at the same size~3–6 MBApple Music, YouTube, iPhone
OGG / OpusLossy (open, free)Very good~2–5 MBSpotify, games, voice chat (WhatsApp, Discord)
MIDI extraNot audio!Depends on the instrument sounds~10–50 KBStores notes ("play C, loud, 1 beat"), not recorded sound
Which format would you choose?Vote, then reveal
Recording a band in a studio, then editing it

WAV or AIFF: uncompressed, no quality lost while editing.

Putting 2,000 songs on an old MP3 player

MP3: small files that play everywhere.

Archiving your favourite albums in perfect quality but saving space

FLAC: lossless, about half the size of WAV.

Sending a voice message in a chat app

Opus / AAC: lossy, tiny files, clear speech. Usually mono!

Quick quiz: Audio

Video: a flipbook of images

A video is a series of still images called frames, shown quickly one after another, usually with sound. Our brain blends them into smooth motion.

  • Video combines everything so far: it has image properties (resolution, aspect ratio, colour depth) and audio properties.
  • It also has its own: frame rate and duration.
  • Because it stores so many images, video files are the largest multimedia files, so compression is essential.
FlipbookStep through, then play

Video resolution

Like images, video resolution is width × height in pixels, but it is usually named by its height ("1080p") or a nickname ("4K").

Drawn to scale. The p in 1080p means progressive: every line of the picture is drawn in each frame.

Same video on a big 4K TVSimulated
Name
Pixels per frame
Compared with 1080p

Video aspect ratio

When a video's shape doesn't match the screen's shape, black bars appear. Bars at the top and bottom are a letterbox. Bars on the sides are a pillarbox.

RatioUsed for
4 : 3Old TV shows (before ~2009)
16 : 9HD TV, YouTube, most video
9 : 16Vertical phone video: TikTok, Reels, Shorts
2.39 : 1Cinema "widescreen" films
Play a video on a different screen
Video shape
Screen
Mode

Video colour depth

Video colour depth is usually given per colour channel. Normal video uses 8 bits each for red, green and blue (24 bits per pixel). HDR video uses 10 bits per channel.

colours = (2bits per channel)3
8-bit: 256³ = 16.7 million
10-bit: 1024³ = 1.07 billion
  • Too few bits causes banding: stripes in smooth areas like skies and shadows.
  • HDR (High Dynamic Range) uses 10-bit colour for brighter highlights and smoother gradients. It needs an HDR screen.
Sunset sky, bits per channelLook for stripes
Shades per channel
Total colours
Bits per pixel

Most projectors and laptop screens show 8 bits per channel, so 10-bit can't be shown here.

Frame rate

Frame rate is the number of frames shown per second, in fps. Higher frame rates look smoother but need more data.

fpsUsed for
12Simple animation, GIFs
24Cinema films (the "film look")
25 / 30TV and online video
60Sports, video games, smooth phone video
120 – 240Slow-motion video
Slow motionRecord at 240 fps, play back at 30 fps: one second of action lasts 8 seconds.
Compare frame ratesWatch the ball and the clouds
Your choice
Reference: 60 fps

Duration and file size

Duration is the running time of the video. Uncompressed video size grows with every frame, and the numbers get huge very quickly.

size of one frame = width × height × colour depth
uncompressed size = frame size × frame rate × duration
  • This is why video is almost always compressed with a codec (H.264, H.265, AV1).
  • Codecs also save space between frames: if the background doesn't move, only the changes are stored.
  • Streaming quality is measured in bit rate (Mbps): YouTube 1080p uses roughly 8 Mbps.
Video size calculatorTry a 2-hour 4K film

Compressed sizes use typical streaming bit rates plus 128 kbps AAC audio, so they are estimates.

Video file formats: containers and codecs

A video file is a container (the box, like .mp4) holding several tracks. Each track is compressed with a codec (the way it is squeezed, like H.264).

Open the boxPick a container
Video track
Audio track(s)
Subtitles
MetadataTitle, duration, date, location
Made by
Best for
CodecNotes
H.264 (AVC)Works everywhere; the most common codec
H.265 (HEVC)Same quality at about half the size; used for 4K and iPhones
VP9 / AV1Free, open codecs used by YouTube and Netflix
ProResVery high quality, huge files, for professional editing
Why won't my video play?Your player may open the container (.mp4) but not know the codec inside. Same box, unknown contents.

The audio component of video

Most videos carry one or more audio tracks alongside the pictures. The sound must stay in sync with the frames, or speech won't match the lips.

  • Sound in a video can include dialogue, narration, music and sound effects, usually mixed into one track.
  • The audio has its own properties: sampling rate (usually 48 kHz), bit depth, channels (stereo or 5.1) and codec (AAC is common).
  • One file can hold several audio tracks, for example different languages.
  • Audio more than about 45 ms early or 125 ms late becomes noticeable to viewers.
Audio sync demoPress start, then move the slider

Quick quiz: Video

Extra: beyond the four elements

Many textbooks list two more multimedia elements, and every creator needs to know about copyright.

AnimationDrag the slider

Animation is movement created from drawings or computer graphics, not filmed with a camera. A computer can fill in the frames between two keyframes (called tweening).

InteractivityMultimedia becomes interactive when the user controls it: clicking buttons, choosing a path in a game, dragging a slider. This lesson itself is interactive multimedia!
CopyrightText, images, music and videos you find online belong to someone. Use your own work, ask permission, or use media with a Creative Commons licence or in the public domain, and always credit the creator.
Choosing the right elementText for exact facts, images to show what something looks like, audio for mood and speech, video to show actions and change over time. Good multimedia combines them on purpose.

Summary: what each element has

Many properties are shared. Video borrows almost everything from images and audio. Click a dot to jump back to that slide.

Exit questionWhy is a 1-minute video file so much bigger than a 1-minute song, or a 1-page document?