Professional Documents
Culture Documents
Multimedia Audio and Videos
Multimedia Audio and Videos
Multimedia Audio and Videos
Lecture 3
MULTIMEDIA
Multimedia data:
Audio and video File
Introduction
Text Materials
Text is used as means of sending written messages back and forth between parties.
Example: every office memo ever written has mostly consisted of text with perhaps a
smidgen of other media types thrown in.
Text is still a primary way to transmit information, although nowadays, it is also used to
augment other forms of communication, such as a text description of a photograph.
Photographs and Other Still Images
The growth of electronic communications has meant that older text-only forms of
communication could be enhanced with photographs and images to help pass the
information and ideas.
Small images such as thumbnails or icons are often used as a visual "entry point" to
larger images or more detailed information.
Audio Files
Sound may include musical background to a spoken explanation, by including audio files.
Even digital cameras, a quintessentially image-based technology, have been engineered
these days to record sound as well.
Many sound files are compressed, which reduces the file size without greatly sacrificing
sound quality. Compressed files require less storage space and stream faster when sent
over the internet or transmitted to local systems.
Multimedia data cont...
Video Presentations
Video presents moving pictures and typically combines images and sound for a compelling multimedia
experience.
Videos can include text as well, which often appears as captioning for spoken words or as text in an image,
as in the case of a slide presentation. Video files are some of the most memory-intensive multimedia
applications, but clever streaming methods makes their use practical in everyday use.
GIFs and Other Forms of Animation
Animated files occupy a middle ground between still images and video. GIFs, which is an abbreviation for
graphic image files, in particular, are small files that present a single image or rapidly display a sequence of a
few images to give the appearance of motion.
Common media file types:
Text Only: TXT
Text with other elements: DOC, DOCX, PDF
Images: JPG, PNG, TIF, BMP
Audio: MP3, WAV, WMA
Video: AVI, WMV, FLV, MOV, MP4
Animation: GIF, FLV
Sound and Video
Sound
Sound is the best way to attract attention.
Often audio provides the only effective way to convey an idea, elicit an
emotion, or dramatize a point.
Sounds also can be combined in a multimedia presentation to provide
information and enhance the other media being presented.
Sound is mainly used:
To reinforce message or theme
To set the mood
To catch the interest of the audience
To alert the audience
To include narration: effective for training and educational application
Types of Sound
Music
Background
Attention grabber
Sound effect
Speech
Narration
Instruction
Characteristics of Sound Wave
In order for a computer to work with audio waves, they must be converted
from analog to digital form.
This is done through a process called sampling, in which every fraction of a
second a sample of the audio is recorded in digital bits.
There are two factors that affect the quality of the digitized audio:
Sample rate
Sample size
Sample Rate
Sample rate is the number of times the sample is taken.
The higher the sample rate, the more samples that are taken and, thus, the
better the quality of the digitized audio.
Sample Size
Sample size is the amount of information stored about the sample.
The greater the sample size, the better the quality of the audio.
Sample Rate
Sound Channel
Given that the sampling rate of an audio is 44.1KHZ with a sample size
of 16 bits transmited over a stero channel for a duration of 60 seconds,
determine the size of the audio file. Give your anser in MB
Sound File Size = (Sample rate x sample size x channel x duration)x 2
Sound File Size = (44100 HZ x 16 bits x 60 s)x 2
= 84,672000 bits too many bits convert it to
other units e.g. bytes or KB
= 84,672000 /(8x1024x1024)
= 10.09 MB
Note that :
8 bits=1byte
1024 bytes = 1kb
1024 kb = 1mb
Note:
Sample size
8 bit = 1, 16 bit = 2
Channel
Mono = 1
Stereo = 2
Sound File Formats
2.Image Size
3.Colour Depth
Calculate the file size for a video with 320 x 240 pixels, color video, 30
fps, and length 15 seconds
Video File Size = Frame size x Frame rate x color depth x duration
Video file size = 320 x 240 x 3 x 30 x 15 = 103680000 bytes
Video resolution
We know that:
Video File Size = Framesize(resolution) x Frame rate x color depth x time
96.56 GB = (4a x 3a x 30 x 2 x 8 x 60 x 60) / (8x1024x1024x1024)
a2 = 40000.19696
a = 200
Resolution = (4x200) by (3x200)
= 800 X 600
resolution in megapixel = (800x600)/1000000
= 0.48
b) How many colors can be diplayed on the screen.
Number of colors = 2x
Where x is the color depth.
Therfore:
Number of colors = 28
= 256 colors
C) If the file takes 9.656 seconds to download,
what is the bandwidth.
1. A video file of a size 6000 GB, color depth of 24 bits, duration of 3 hours,
and frame rate of 24 fps, takes 3 hours to download using a bandwidth of
100MBps.
Calculate
a) The pixel count of the camera in megapixels
b) The resolution, if the aspect ratio is 4:3
c) The bandwidth requirements, if 200 users are to download the same video
for 2hrs concurrently
d) Cost of the bandwidth in (a) if the cost of 128KBps is Kshs 5,000
1.What is the file size of a video that has 300 x 200 pixels, black and white video, 25 fps, and length 40 seconds.
2.Calculate the file size of a 25 minutes video at 24fps whose frame rate is 1920 by 1080 and 24 bit depth. Give
downloaded in 4.7 seconds. If the compression ratio is 578: 1 and the frame rate is 30fps and the duration of
the video is 2 hours and has an aspect ratio of 16:9
Calculate
i) Bandwidth (2 marks)
ii) size of the uncompressed file ( 3marks)
iii) colour depth ( 3marks)
iv) how much time will take to download the uncompressed file (3 marks)
v) Resolution of the camera used to take the video in megapixels(4 marks)