Chapter 2 - Multimedia Basics (2.3+2.4)
Chapter 2 - Multimedia Basics (2.3+2.4)
Performance
Good. Most candidates were familiar with the estimation of the file size of the scanned image.
Solution
= 5184 x 3456 x 24bits (1)
= 51 / 51.3 / 51.26 MB (1)
Performance
Good.
Solution
1024 x 540 (2 marks)
(1 mark only for correct aspect ratio (in whole number) less than 1024 x 540)
Performance
Fair. About a third of the candidates were aware of the requirement of keeping the original aspect ratio as
well as the colour depth.
Audio Channel The more the audio channels, the richer the listening experience is, and the
larger the file size
Mono (one waveform)
Stereo (two waveforms)
Surrounding sound (base waveform included)
Remark
A stereo audio file will have a double file size when compared to a mono audio file.
Uncompressed Audio = Sampling rate (Hz) x Sample Size (bits) x Number of channel x Duration (s)
Bit Rate It refers to the number of bits used to store one-second compressed audio.
Constant Bit Rate (CBR) It means the bit rate is constant during the
encoding process of audio
Useful for streaming audio file with limited
capacity
Not the optimal choice for storage because
insufficient bits are allocated on the complex
sections, while wasting the bits on simple
sections, resulting in quality degradation
Audio type CBR (kbps)
AM Radio 32
KM Radio 96
Streaming Audio 128
CD 192/256/320
Variable Bit Rate (VBR) It means the bit rate is continuously changed
during the encoding process of audio
Suitable for storage as more bits are allocated
on the complex sections, while less bits are
allocated on the simple sections, thus producing
a better sound quality
Not suitable for streaming on the Internet due to
the larger file size produced
Solution
(a) S has more noise because it has a lower sample size. (uses 8-bit sample size) (1+1)
(b) Q = 2.5 (1)
R = 10 (1)
S = 5 (1)
Performance
Good. Almost all candidates understood how sampling rate and sample size affect the sound quality. Most
candidates could estimate correct file sizes based on the audio specifications.
Solution
(a) In one second, 44100 samples are taken. (1)
(“44.1 x 1024” is unacceptable)
(b) 16 bits of data is used to represent each sample. / The sample size is 16 bits. (1)
(c) It is a kind of humanization that it produced sound heard from various directions as in natural hearing.
/ Use two channels (left and right) to record sound. (1)
The song is livelier when it is played. / The recorded song close to real one. (waveform) (1)
(“better quality / good sound / record sound clearly / two sound tracks” are unacceptable)
Performance
Fair. Only a few candidates could clearly and precisely explain the meaning of sampling rate and sample
size. Candidates’ justifications on using stereo recording are vague, such as “good sound quality” and
“good quality”, but without further explanation.
Solution
(10 x 1024 x1024 x 8) / 16 / 2 / 60 = 43.7 KHz (40 KHz to 44.1 KHz or equivalent) (2)
(1 mark for dealing with the stereo in the expression)
Performance
Fair. Candidates were familiar with the relationship between sampling rate and the sample size of a video.
When making Y, the school song is embedded as the background music to the speech. What attributes
of the audio files should Mr Ho consider? Give two examples. (2 marks)
Solution
(a) (16 x 2 x 22.05 x 1000 x 60) / (10 x 8 x 1024 x 1024) (1)
= 0.5 MB (1)
(b) (i) More audio data in each sample is collected so that Mr Ho can recognize the improvement. (1)
(ii) Human beings are not easily aware of the increase of audio data with sampling rate greater than
Information and Communication Technology – Revision Notes/Written by Patrick Chan
Elective Part C – Multimedia Production and Web Site Development Page 19
(ii) 44.1 kHz. (1)
(c) amplitude, loop / number of channels (1x2)
Performance
(a) Fair. In general candidates were able to write the formula to estimate the file size of the audio file.
However, only a small number of them were aware of the data compression ratio and did the
calculation correctly.
(b) Fair. Less than half of the candidates were able to explain clearly that more data collected would lead
to a better sound quality. They showed the concept that human beings are not easily aware of the
increase of audio data with a sampling rate greater than 44.1 kHz.
(c) Fair. About a third of the candidates were able to name two attributes of an audio file. Some of the
candidates were not able to correctly spell the essential term ‘amplitude’.
Uncompressed Video = Frame size (pixels) x Frame rate (fps) x Colour depth (bits) x Duration (s)
File Size (audio = 1920x1080 pixels x 24 fps x 24 bits x 60 s
excluded) = 8.3 GB
Bit rate Same as audio, compressed video will have an attribute of bit rate, which is
measured in bps, and can be encoded using CBR or VBR.
Compressed Video File = Constant Bit Rate (bps) x Duration (s) + Audio File Size
Size (audio included) = 10 Mbps x 60 s + 20 MB
= 10x1024x1024 bits x 60s + 20 MB (or 10x1000x1000 bits x 60s +20 MB)
= 75 + 20 MB
= 95 MB
OR
= Uncompressed Video File Size / n + Audio File Size (Assumed that the
= compression ratio is n:1)
Solution
Resolution (frame size), bit rate, encoding scheme (any two) (1x2)
Performance
About half of the candidates were not familiar with the attributes of video and did not suggest adequate
attributes in which the videos could be standardized.
(i) Customers can choose option 1080i. What does the number of 1080 represent?
(ii) The letters ‘p’ and ‘i’ after the numbers refer to ‘Progressive’ and ‘Interlaced’ respectively.
Briefly describe what these terms mean. (4 marks)
(c) Peter is a photographer. He sets up a web site to sell photos online. Peter wants to provide a function
on the web site so that users can produce a video from a number of photos. Suggest three
attributes/features of the function. (3 marks)
Solution
(a) 60 x 1024 x 1024 x 8 / 200 or 60 x 8 / 200 (1)
= 2516582.4 bit/s or 2.4 Mbps (2.5 Mbps) (1)
(b) (i) Number of lines scanned per second (2)
(i) (1 mark only for “height”)
(i) (“Resolution / number of pixels scanned per second / each frame / in the width” are unacceptable)
(ii) In progressive video, all lines in each frame are refreshed one by one. (1)
(ii) (“update line by line” is unacceptable)
(ii) In interlace video, every other lines in each frame are refreshed. (1)
Information and Communication Technology – Revision Notes/Written by Patrick Chan
Elective Part C – Multimedia Production and Web Site Development Page 22
(ii) (“change one after another / after layer” are unacceptable)
(c) Frame rate / resolution / File format / transition effect / audio / sub-titles (1x3)
Performance
(a) Good. Most candidates estimated the transmission bit rate successfully. Some candidates, however,
could not show their calculations.
(b) Satisfactory. About a quarter of the candidates could describe the meaning of “Progressive” and
“Interlaced” clearly. Some candidates only wrote “number of lines”, but did not explain in accordance
of the “number of lines scanned per second”.
(c) Fair. Candidates mixed up the attributes/features of photos and that of the function for producing a
video from a number of photos.
However, the actual file size is much smaller. Estimate the actual file size and briefly explain why it is
much smaller than Mr Li expects. (2 marks)
Solution
500 kbps x 60 s = 3.6 MB (3.5 MB to 4 MB or equivalent) (1)
The actual file size is much smaller because data compression is used in the video. (1)
Performance
Fair. Only a small number of the candidates were able to clearly explain how the bit rate affects the size of
a video file.
Solution
(a) (2 x 1024 x 1024 x 8) / (450 x 1000) (1)
= 37.3 seconds (1)
(b) Reduce the frame rate/resolution/compression ratio so as to create a video with a smaller file size and
hence reduce the waiting time. (1)
Performance
Satisfactory. About a third of the candidates were able to estimate the waiting time with the given bit rate
and the data size. About half of the candidates were able to answer (b) correctly.
Solution
(a) Yes (1),
it is because the animation cannot be shown smoothly if the frame rate is too low. (1)
(b) No (1),
Because animation can be shown smoothly when the frame rate is about 30 frames per second. If the
frame rate is too high, a large amount of resources (such as memory) are needed. (1)
Solution
10 fps: The file size is smaller and hence it alleviates the network traffic. (1)
30 fps: The display of the animation is smoother in motion. (1)
Solution
It has smaller file size. / It supports form filling. / It supports text copying. /
It can be read by screen reader programs. / It can contain multiple images. /
It can include multimedia elements (e.g. audio and video). / It can include hyperlinks. /
The text can be shown clearly (without zigzag) when its size is increased. (1x2)
Performance
Poor. Only a small number of the candidates were able to formulate satisfactory ideas when analyzing a
comparison between the file formats PDF and JPG.
Amy wants to show the images in this design using interlacing. Give the main advantage of this
technique. (2 marks)
Solution
It is faster to play the contour of the images. (2)
(1 mark for “faster to play”)
Janice first draws the company logo using a vector graphics software package. Then, she exports the
logo using the filename ‘logo.gif’ with a resolution of 50 x 30.
(a) Why does Janice need to export the logo in another format instead of using the logo in vector
graphics format directly? (1 marks)
(b) Give two reasons to explain why Janice wants to export the logo in GIF format instead of JPEG
format. (2 marks)
(c) After inserting the logo into the web page, Janice feels that the web page will look much better if
the resolution of the logo is 150 x 90. There are two ways to alter the resolution:
(1) Use the HTML code ‘<img src=”logo.gif” width=”150”>’.
(2) Use the vector graphics software package again to export the logo with a resolution of 150 x
90.
Which method do you suggest? Explain briefly. (2 marks)
Solution
(a) It is because the browsers do not support such a graphics format. (1)
(b) It is a lossless image. (compression) / It supports transparency. / It supports animation. (1x2)
(c) Method (2) should be used. (1)
Otherwise, the enlarged bitmap graphics will become vague with saw-tooth edges. (1)
Performance
The students were weak in demonstrating the concepts of lossy and lossless compression for GIF and
JPEG and explaining the limitation that browser could not support the display of vector graphics.
Solution
For ‘lossless’,
the file size is larger; (1)
the file keeps all the information of the image without data loss while the other one does not; (1)
the file keeps the color depth while the other one may diminish the color depth (color depth remains
unchanged/number of colors decreases) for better compression performance in general. (1)
Performance
Good. A few candidates wrongly stated that ‘lossy’ has compression while ‘lossless’ does not.
Solution
PNG: Yes, No (1)
JPG: Yes, Yes (1)
BMP: No, No (1)
Performance
Good. Most candidates could identify the characteristics of different file formats.
Solution
GIF / PNG (1)
Solution
(a) GIF is lossless compression. (1)
(b) The greatest color depth of PNG format is larger than that of GIF format. (1)
Performance
Satisfactory: The majority of the candidates were able to identify clearly the difference between the
properties of GIF, JPG and PNG.
Solution
It contains much information of the original data (quality) (1)
so that Mr Li can edit and extract necessary audio information. (1)
Solution
(a) No, it is not directly played by an electronic instrument. / Yes, the piano has a MIDI output. / Yes,
MIDI software is used to extract the background music. (1)
(b) It only includes an instruction set and notes to instruct a sound card to make different audio effects,
and no actual audio play is stored in the file. (storage structure of MIDI & MP3) (1)
(c) The file in WAV format contains more information and it facilitates better audio editing. (quality) (1)
The file in MP3 format is smaller and it facilitates the web surfing. (size) (1)
Performance
Poor. Most candidates did not familiar with MIDI file format.
Solution
MP3: The sound is authentic. / It comprises human voice. (1)
MIDI: The file size is smaller. / Precise edit can be conducted easily. (1)
Solution
Advantage: It is compatible with many common video players. / No extra Codec is needed. / It has a
better quality (least compression needed). (1)
(“No codec is needed” is unacceptable)
Disadvantage: The file size is large. / It does not support streaming. (1)
Performance
Excellent. Most candidates could clearly explain the advantage and disadvantage of the AVI file
format in accordance of its specification.
(b) Suggest two common file formats for High Definition (HD) video.
Solution
MP4, MKV, AVI (H264, AVCHD), WMV, FLV, MOV (1x2)
(“codec, FFmpeg, DivX, Xvid, x264, mpeg” are unacceptable)
Performance
Satisfactory.
Solution
MP4 supports menus/subtitles/chaptering.
MP4 is fully compatible with H.264 (e.g. better compression). / smaller file size
MP4 can be directly embedded within the HTML5 Internet standard. (easier to be inserted in web pages)
(1x2)
Performance
Fair. Candidates seemed to be unfamiliar with the differences between the video file formats MP4 and
Information and Communication Technology – Revision Notes/Written by Patrick Chan
Elective Part C – Multimedia Production and Web Site Development Page 37
FLV. A high proportion of candidates wrongly answered that MP4 could support streaming while FLV
could not.
Solution
(a) Frame rate (1) and time for showing the demonstration (1)
(b) The number of pixels in each scene (1) and the color palette used (1)