Multimedia and its components
Overview of what multimedia is, its main components, how engineers measure and calculate storage/bitrate, synchronization and system components, with worked numerical examples and exam guidance.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Multimedia systems combine different kinds of information — text, images, audio, video — into integrated applications (for example, video streaming, e-learning, and interactive kiosks). An engineer uses these ideas when designing capture/playback chains, choosing storage and network capacity, picking compression strategies, and ensuring correct synchronization of streams.
Key ideas
Below are clear definitions and the core concepts you must know. I define each term before using it.
Multimedia — information that uses more than one media type (text, images, audio, video, animation) presented together for a single application or experience. Assumes pieces are time- or space-synchronized for a coherent presentation.
Component (of multimedia) — a single media type used in a multimedia presentation; common components are Text, Image, Graphics, Animation, Audio and Video. Each component has its own representation, capture method and resource needs (storage, computation, bandwidth).
Text — sequences of characters. Represented by character encodings (for example ASCII or UTF-8). Text storage cost is small compared to media like video.
Image — a two-dimensional rectangular array of picture elements (pixels). For digital images we specify resolution (width × height in pixels) and colour depth (bits per pixel). Assumes a raster scan ordering (row-major) unless stated otherwise.
Graphics — computer-generated visual content represented as vectors (paths, shapes, text) or procedural primitives. Vector graphics are resolution-independent (e.g., SVG, PDF); storage depends on the number/complexity of primitives, and rendering rasterizes to pixels at display time.
Animation — visual changes over time. Implemented as frame-by-frame image sequences or by interpolating transformations (tweening/keyframes) of graphics. Characterized by a frame rate and may be encoded as video or as an interactive graphics timeline.
Audio — time-varying sound. Digital audio is usually represented by samples taken at a regular sampling frequency (samples per second) with a certain number of bits per sample and number of channels. We assume linear PCM unless otherwise noted. Common sampling rates include 8 kHz (telephony), 44.1 kHz (CD), 48 kHz (video), 96 kHz; typical bit depths are 16 or 24 bits; common channel layouts are mono (1) and stereo (2).
Video — a time-ordered sequence of images (frames) displayed at a frame rate (frames per second). Each frame is an image with resolution and colour depth. Common colour encoding is Y′CbCr with chroma subsampling (4:4:4, 4:2:2, 4:2:0); at 8-bit/component these correspond to ~24, 16, and 12 bits/pixel respectively, which directly affects uncompressed video bitrate. Typical frame rates include 24, 25, 30, 50, and 60 fps.
Metadata — data that describes other data (for example timestamps, codecs, container headers). Metadata is needed for indexing, search, and synchronization.
Compression (coding) — representing data in a form that uses fewer bits than the raw representation. We say a scheme is lossless if it allows exact reconstruction, and lossy if it does not. Compression ratio = (size_uncompressed / size_compressed). Engineers choose codecs (compression algorithms) based on target quality, latency and CPU.
Container (file format) — a wrapper that holds one or more media streams and metadata (examples: MP4, MKV). A container is different from a codec.
Synchronization — aligning playback of different components in time so that related events occur together (for example, lip movement with speech). Important terms:
- Presentation time — the time on the playback clock when a sample should be presented.
- Media time — the timestamp inside a stream (the stream’s own time base).
- Latency — delay between capture and presentation.
- Jitter — variation in packet arrival or processing time. Systems must handle jitter (buffers, playout delay).
System block diagram (draw this): Draw a left-to-right block diagram with the following labeled boxes and arrows between them: "Sources (camera, mic, sensors)" → "Capture (ADC, digitiser)" → "Compression/Encoding" → "Storage/Network" → "Decoding/Decompression" → "Synchronization + Mixer" → "Presentation devices (display, speakers)". Label control arrows for metadata and timestamps flowing from capture through to synchronization. This diagram must show where buffering and codecs sit.
Storage and bandwidth basics: Engineers compute uncompressed sizes and bitrates from first principles (pixel/sample counts × bits per sample × time). These provide baseline requirements before compression.
Sampling theorem (Nyquist) — exact statement: If a continuous-time signal x(t) contains no frequency components at or above frequency B Hz (i.e., |X(f)| = 0 for |f| ≥ B), then x(t) is completely determined by its samples x[n] = x(nT) taken at sampling interval T ≤ 1/(2B); equivalently, the sampling frequency fs must satisfy fs ≥ 2B to allow perfect reconstruction. In practice, with non-ideal filters and to avoid edge cases, engineers use fs > 2B and apply an anti-alias filter before sampling. Assumes ideal band-limited signals and ideal reconstruction filters.
Formulas
Image_size_bits = width × height × bits_per_pixel
- width, height in pixels; bits_per_pixel in bits; image size in bits. Use bytes = bits/8. Applies to uncompressed raster images.
Audio_bitrate_bits_per_s = sampling_rate (Hz) × bits_per_sample × channels
- sampling_rate in samples/s (Hz), bits_per_sample in bits, channels (1=mono,2=stereo). Result in bits/s. Applies to PCM audio.
Video_bitrate_bits_per_s_uncompressed = width × height × bits_per_pixel × frames_per_second
- width,height in pixels; bits_per_pixel in bits; frames_per_second in s^-1. Result is bits/s for uncompressed video.
Compressed_size = uncompressed_size / compression_ratio
- compression_ratio > 1; applies as a simple estimate when a codec reduces data consistently.
Total_storage_bytes = bitrate_bits_per_s × duration_s / 8
- duration_s in seconds. Gives bytes.
Required_fs_min = 2 × f_max (Nyquist)
- f_max is highest signal frequency (Hz); fs in Hz.
Note on units: convert consistently (bits ↔ bytes by /8; kbit/s = 10^3 bit/s, Kibit/s = 2^10 bit/s). Many exam questions use kilobits = 10^3 unless stated.
Worked examples
Example 1 — single uncompressed image
- Problem: Calculate the storage for one uncompressed 1920×1080 image with 24-bit colour (RGB, 8 bits per channel).
- Formula:
Image_size_bits = width × height × bits_per_pixel. - Numbers: width×height = 1920×1080 = 2,073,600 pixels.
- bits = 2,073,600 × 24 = 49,766,400 bits.
- bytes = 49,766,400 / 8 = 6,220,800 bytes.
- in mebibytes (MiB) = 6,220,800 / (1024×1024) = 5.9375 MiB.
- Answer: 6,220,800 bytes (≈5.94 MiB).
Example 2 — PCM audio file size
- Problem: Stereo PCM, 16 bits per sample per channel, sampling rate 44,100 Hz, duration 3 minutes.
- Formula:
Audio_bitrate_bits_per_s = fs × bits_per_sample × channels. - Numbers: bitrate = 44,100 × 16 × 2 = 1,411,200 bits/s.
- duration = 3 minutes = 180 s.
- total bits = 1,411,200 × 180 = 254,016,000 bits.
- bytes = 254,016,000 / 8 = 31,752,000 bytes.
- in MiB = 31,752,000 / (1024×1024) ≈ 30.29 MiB.
- Answer: 31,752,000 bytes (≈30.29 MiB).
Example 3 — uncompressed video storage and bitrate
- Problem: 10 s of 1920×1080 RGB video at 30 fps, 24 bits/pixel, uncompressed.
- Frame size (bytes) = 1920×1080×24 / 8 = 6,220,800 bytes (as Example 1).
- bytes per second = frame_size × fps = 6,220,800 × 30 = 186,624,000 bytes/s.
- bits per second = bytes/s × 8 = 1,492,992,000 bits/s ≈ 1.492992 Gbit/s.
- total bytes for 10 s = 186,624,000 × 10 = 1,866,240,000 bytes.
- in GiB = 1,866,240,000 / (1024×1024×1024) ≈ 1.738 GiB.
- Answer: 1,866,240,000 bytes (≈1.74 GiB), bitrate ≈1.493 Gbit/s.
(If a codec gives 50:1 compression, compressed storage ≈ 1,866,240,000 / 50 = 37,324,800 bytes.)
Common mistakes
- Omitting the number of channels in audio calculations (e.g., stereo has factor 2).
- Forgetting frames per second in video bitrate calculations.
- Mis-stating the Nyquist theorem: the correct statement is fs ≥ 2B for band-limited signals; do not say "sample at twice the sample frequency".
- Not labeling axes or arrows correctly in diagrams (for block diagrams include data flow, control/metadata flow, and buffers).
- Mixing resolution units (pixels vs inches) — resolution in multimedia is pixels unless DPI is explicitly given.
For your exam
Question types you will see and what full answers include:
- Definitions and short notes: define terms (bold them in your head), give units and a short example (e.g., define compression with an example ratio).
- Derivations: show step-by-step multiplication/division, state assumptions (uncompressed, PCM audio), and carry units through each step.
- Numericals: write the formula, substitute numbers with units, compute intermediate values, show final answer with correct units and, if appropriate, both MB and MiB.
- Diagrams: draw the labelled system block diagram above or a timeline with audio/video tracks and sample timestamps for synchronization questions.
- Comparison/choice questions: list pros and cons (e.g., uncompressed vs compressed; lossless vs lossy) and quantify where possible (bitrate or CPU cost).
A full-mark answer always states assumptions (e.g., "uncompressed RGB 24-bit"), shows formulas, shows substitutions, and gives a clear final numeric answer with units.
Quick check
- Define multimedia in one sentence.
- Formula for uncompressed PCM audio bitrate (write symbols and units).
- How many bytes in a 800×600 grayscale 8-bit image?
Answers: 1) Multimedia = information that uses more than one media type (text, image, audio, video) presented together. 2) Audio_bitrate_bits_per_s = sampling_rate (Hz) × bits_per_sample (bits) × channels (result in bits/s). 3) 800×600×8 = 3,840,000 bits = 480,000 bytes (≈468.75 KiB).
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?