1.2/1.3 Multimedia and Compression Flashcards

1
Q

How are bitmap images created?

A

They are created using a mix of 3 colours, each set to a different brightness, 0 for black and 256 for 100% brightness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many bits does one coloured pixel require in a bitmap image?

A

24 (1 for b/w)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define lossless compression

A

An algorithm that decreases file size without losing any of the details

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define lossy compression

A

Complex algorithms used to reduce file size, whilst minimising the noticeable reduction in file quality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do bitmap images represent image data?

A

They use a grid of pixels combines to create a whole picture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do vector files work?

A

They use mathematic formulas to store the details of components of an object (e.g shape, size, colour) that combine together to form the final image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the advantages of using vector graphics? (4)

A
  • can be resized without distortion (pixelation)
  • smaller file size than bitmapped images
  • simpler to create and edit
  • stay of good quality regardless of the resolution they are displayed on
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the disadvantages of using vector graphics? (2)

A
  • More difficult to learn how to use vector drawing software
  • Not appropriate for storing digital photos as the data is too complex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why are videos compressed?

A

Storing such a large number of frames can take up a lot of storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What do you need to consider before choosing a video resolution? (3)

A
  • Higher resolutions require more storage capacity and a greater transmission bandwidth
  • Higher resolutions use more battery power in your video camera
  • Most playback devices don’t support 8k
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Name the 2 ways videos can be compressed.

A
  • Spatial redundancy
  • Temporal redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is spatial redundancy?

A

When there is a close correlation between pixels and neighbouring pixels, not all the data needs to be kept so some of it can be discarded or recorded at a lower bit depth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is temporal redundancy?

A

Most images stay pretty much the same from frame to frame with only certain areas changing significantly. This means that entire frames or large parts of each frame can be calculated and applied to the content of the following frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define bit rate

A

Refers to the number of bits required for each second of a video

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Define sound

A

Sound is an analogue value, which needs to be digitalised to store it in a computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How is sound recorded with a microphone? (3)

A
  • the microphone picks up sound waves and converts them into analogue electrical signals
  • these signals are then processed by an ADC which converts the electrical signals into digital values that can be stored in a computer
  • this is called sampling and involves taking measurements of the level of the analogue signal, called samples, at regular time intervals
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Define sample rating.

A

How often the ADC should sample the sound wave

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How does the frequency of the sample rating change the sound?

A

High frequency - close to the original sound
Low frequency - different to the original sound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the frequency used to sample a sound?

A

The number of samples taken per second (Hz)
- one hertz = one sample taken per second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What effect does a high sample rating have? (2)

A
  • better quality of the audio recording
  • bigger file size
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Define sample resolution

A

The number of bits used to represent each sample

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the effect of having a low sample resolution? (3)

A
  • fewer bits per sample
  • limited binary patterns for samples, so analogue signal cannot be represented accurately in digital form
  • smaller file size
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the difference between mono and stereo sounds?

A

Monophonic sounds only have one track of sound and stereophonic sounds contain 2 different tracks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Define monophonic sound

A

Only has one track of sound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Define stereophonic sound

A

Contains 2 different tracks of sound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What are the effects of having 2 tracks in stereo sound? (2)

A
  • adds impression of positioning and direction to the recording
  • needing 2 tracks doubles the storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What is the formula for finding the storage requirement of an audio file? (bits)

A

Storage requirement (bits) = sampling rate x seconds x sample resolution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What is the formula for finding the stereo storage requirements of an audio file? (bits)

A

Stereo storage requirements (bits) = sampling rate x seconds x sample resolution x 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Define compression technique

A

An algorithm or a sequence of steps, that is followed to reduce file size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Define resolution

A

The number of pixels that make up a digital image usually expressed as width x height (the clarity of an image)

31
Q

What is it meant by “Compression can change the data in a file but not the fundamental properties”

A

A bitmap image that is compressed will still have the same resolution and a video will be the same time

32
Q

Define compression ratio

A

A measure of the relative reduction in the size of a file as a result of applying a compression algorithm

33
Q

What is the formula to find the compression ratio?

A

Compresses file size

34
Q

Why do images need to be compressed? (2)

A
  • so they don’t take a long time to be uploaded
  • so they don’t use up as much storage
35
Q

What is JPEG format? (2)

A
  • highly compressed
  • around 10% of the original size
36
Q

What does WAV stand for and is it compressed or uncompressed?

A
  • Waveform audio file format
  • Uncompressed
37
Q

Is MP3 compressed or uncompressed?

A

Compressed

38
Q

Why do people compress audio? (3)

A
  • streaming
  • downloading
  • not much difference heard
39
Q

Define analogue

A

A signal that varies continuously over a period of time. Sound waves are a typical example of analogue waveforms.

40
Q

What happens to the accuracy of representation if the sample rate or the sample resolution is increased?

A

If sample rate increased = accuracy increased
If sample resolution increased = accuracy increased

41
Q

Name and state used for 4 lossy compression formats

A

MP3 - Audio files: typically to download music from the internet
JPEG - Photographs
MPEG-1 - Video files (low resolution)
MPEG-2 - Video files (high resolution)

42
Q

What files are not suitable for lossy compression and why?

A

If files contain words or numbers because their contents need to be exactly the same when decompressed and cannot be approximated

43
Q

What is the risk of lossy compression?

A

Performing repeated rounds of lossy compression can cause severe loss of data that the file output becomes completely unrecognisble from the original

44
Q

Name and state the uses of 3 lossless compression formats

A

PNG - Images that must retain the highest level of quality
GIF - Images and short animations
ZIP - To compress one or more files together

45
Q

Define pixel

A

The smallest element of a bitmapped graphic

46
Q

Define bitmapped image

A

A type of digital image that is stored as pixels where each pixel is represented by single colour codes

47
Q

Define bit pattern

A

A unique string of binary digits used in a representation

48
Q

Define colour depth

A

The number of bits needed to represent a colour

49
Q

What is the formula for finding the size of a bitmapped image file? (bits)

A

Width (pix) x Height (pix) x colour depth

50
Q

Define metadata

A

Data that provides information about other data

51
Q

Why is the actual size of a bitmapped image always greater than its sample file size calculation?

A

In addition to the pixel data, the file must store additional information so that the image can be reproduced accurately

52
Q

Name some examples of metadata

A
  • Image dimensions
  • File format
  • Date and time of creation
  • Geographical location of creation
  • Details about the device used to create the image
  • Camera settings
53
Q

Define file header

A

The area at the beginning of a file where the metadata is found

54
Q

Define screen/display resolution

A

The number of pixels that a screen is set to display

55
Q

What happens when an image with a low resolution is displayed on a screen with a high resolution?

A

The image looks pixelated

56
Q

What are the file formats for bitmapped graphics (full names) and their extensions? (4)

A
  • Bitmap - .bmp
  • PNG (Portable Network Graphic) - .png
  • JPEG (Joint Photographic Experts Group) - .jpg/.jpeg
  • GIF (Graphics Interchange Format) - .gif
57
Q

Define vector graphics

A

Images that are made up of lists of objects and their properties

58
Q

What is the file format for vector graphics?

A

SVG (Scalable Vector Graphics)

59
Q

Define drawing list

A

Properties that determine the dimensions, appearance and position of a vector graphic

60
Q

What do the XY coordinates in a rectangle vector graphic represent?

A

The position of the top left-hand corner of the rectangle

61
Q

Define drawing object

A

The shape of the object

62
Q

What is the advantage of using bitmapped graphics?

A

Can show almost any level of complexity and detail

63
Q

Define RLE

A

Run length encoding is a lossless compression technique, which finds runs of repeated binary patterns and replacing them with a single instance of the pattern and a number

64
Q

Define dictionary-based compression

A

A lossless compression technique that relies on finding patterns in data

65
Q

How does dictionary-based compression work?

A

Instead of each character in the text being stored using a separate code, each unique word is allocated a binary code and stored using those to save space

66
Q

Define character set

A

A standardised collection of characters and the bit-patterns used to represent them

67
Q

How does progressive scan work?

A

Draws all the lines in a single frame of video sequentially so that each frame contains a complete image that fits the screen

68
Q

How does interlaced scan work?

A

Only every other line of an image is displayed in one frame

69
Q

Why not display one whole image per frame for interlaced scan? (2)

A
  • Due to the bandwidth issues of sending videos over the airwaves
  • When television receives signals, interlaced frames need to be combined together and then de-interlaced before displaying
70
Q

How is video content distributed through broadcasting? (3)

A
  • At first, video was broadcast using radio waves and everyone received the same video (limited tv channels)
  • Then, cable and satellite tv was developed so more channels could be broadcast
  • Standard tv broadcast switched from analogue to digital, allowing more channels with high resolution and better quality (some redesigned sets)
71
Q

What are the 3 cd’s in order?

A

VHS
DVD
Blu Ray

72
Q

How is streaming used to broadcast video content?

A
  • More convenient than buying
  • Videos are encoded at multiple frame rates and resolutions so that the quality and reliability of playback can be maximised for each device
  • causing a lot of businesses to go bust
73
Q

What is transcoding?

A

When uploading a video onto a streaming site, it is converted from a single source resolution into multiple resolutions for optimum playback on different devices and internet speeds

74
Q

How do companies limit or stop piracy? (5)

A
  • Restricting media to only playback on certain devices and regions
  • Restricting downloaded media to only be played when the device is connected to the internet to validate the license
  • Restricting media to only play using certain softwares and streaming plugins
  • Time limiting content so that it will only play back within a certain time frame
  • Installing softwares that stops DVDs from being illegally copied