Академический Документы
Профессиональный Документы
Культура Документы
Outline
AV on the Web?
Radio Stations
Music, sound clips
Streaming Audio / Video
Video conferencing
Digital Cameras
Animation on the Web
Shockwave, Flash
CSC1720
Basic Terms
Term
Definition
Bit
Binary value 0 or 1
Kilobit (Kb)
Byte
8 bits
Kilobyte (KB)
1,000 bytes
Megabyte
(MB)
1,000,000 bytes
Gigabyte
(GB)
1,000,000,000 bytes
Kbps
KB/sec
CSC1720
Digital Signal
Use Pulse
Code
Modulation
(PCM) to
represent an
audio signal
by digital
data.
CSC1720
CSC1720
Sampling rate
Number of sample taken of a signal in a
given time (usually one second)
Bit depth
Describes the accuracy of the audio data
Channels
E.g. Stereo has two channels
Bit rate
Measured in kilobits per second (Kbps) is a
function of the bit depth and sampling rate
CSC1720
Sampling rate
Sampling Rate
demo
CSC1720
10
Bit depth
CSC1720
11
Quantization
demo
CSC1720
12
Channels
13
Channel Examples
CSC1720
14
Bit rate
15
Number of channels
A mono audio file is halved the space
of a stereo file.
Depends on your actual needs.
CSC1720
16
Bit depth
Audio file on the Web are usually 8-bits.
Half the size of a 16-bit file.
Sampling rate
Half the sampling rate will also halve the
space needed.
Voice only audio file can be reduced to 8KHz.
22 KHz music clips are acceptable.
17
18
Streaming Audio
What is it?
Play almost immediately after the request,
continues playing the transferring data.
Advantages:
Address the problem of long download time.
Control distribution and protect copyright,
because the user cannot get a copy of the file.
Disadvantages:
Sound quality may be be affected by low
speed or unstable Internet connection.
Reference
CSC1720
19
What is Streaming?
CSC1720
20
Web browser
RealAudio
Server
Web server
CSC1720
21
Quality Comparison
http://www.cit.cornell.edu/atc/itsupport/streamcompare.shtml
CSC1720
22
WAV/AIFF (.wav/.aif/.aiff)
The Waveform Audio File format (.wav)
was developed by Microsoft, supports
arbitrary sampling rates and bit depths.
The Audio Interchange File format
(.aif, .aiff) was developed for Macintosh
platform.
They are less likely used on the Web,
because people use mp3 or
streaming.
CSC1720
23
http://www.nuance.com/prodserv/demo_vocalizer.h
WAV/AIFF
http://www.belllabs.com/project/tts/voices.html
Select the
Audio format
CSC1720
24
MP3 (.mp3)
25
26
MP3 Players
CSC1720
27
28
MIDI (.mid/.midi)
29
http://www.findmidis.com/
MIDI
CSC1720
30
RealMedia/RealAudio
(.rm/.ra)
31
RealMedia/RealAudio
CSC1720
32
Windows Media
(.wma/.asf)
33
Windows Media
CSC1720
34
Choosing an audio
format
Audio Needs
Suggested formats
News broadcasts
Streaming solutions
(RealAudio, Windows Media)
Background music
MIDI, WAV
MP3 or QuickTime
Radio-style or Live
broadcasting
RealMedia System
MIDI, WAV
CSC1720
35
A simple link
<A HREF=audio/song.wav>Play the song </A>
<A HREF=music.mp3><IMG
SRC=buttons/play.gif></A>
Background Sound
<BGSOUND SRC=audio/song.mid
LOOP=3>
Link to RealMedia
<A HREF=song.ram>Link to the song</A>
pnm://domainname.com/song.rm
CSC1720
36
Break Time 15
minutes
CSC1720
37
Movie length
Frame size
Frame rate
Quality
Color bit depth
Data rate (bit rate)
CSC1720
38
Movie length
CSC1720
39
Frame size
40
CSC1720
41
Frame rate
42
Quality
43
44
45
Calculate space
requirements of Video
46
Video CODECs
CODEC is
Compression/Decompression
algorithms.
The sound and frame images of a
digital video must be compressed.
The vast amount of data
CSC1720
47
CSC1720
48
reference
49
50
Delta frame
CSC1720
51
How to create?
Most video editor, QuickTime Pro.
How to play?
QuickTime plug-in or QuickTime player.
CSC1720
52
http://www.apple.com/quicktime/gallery/cubicvr/times_square
Quicktime
CSC1720
53
RealMedia (.rm)
How to create?
RealSystem Producer
How to play?
RealPlayer (Free), RealPlayer Plus (Commerical)
CSC1720
54
Windows Media
(.wmv/ .asf)
How to play?
Media Player in Windows OS
CSC1720
55
AVI (.avi)
How to create?
Most video editing tools.
How to play?
Windows Media, QuickTime, etc.
CSC1720
56
CSC1720
57
reference
58
CSC1720
59
MPEG Comparison
MPEG-1
MPEG-2
MPEG-4
Standard since
1992
1995
1999
352 x 288
640 x 480
640 x 480
48 KHz
96 KHz
96 KHz
1380 kbit/s
6500 kbit/s
880 kbit/s
30
30
30
Video Quality
Satisfactory
Very good
Very Good
Low
Medium
High
CSC1720
60
Advantages:
Disadvantages:
A plug-in player is required
Expensive authoring software
Problems on printing their content
CSC1720
61
Summary
62
References
63