Ch 28
-
Upload
soumya-ranjan-mohanty -
Category
Sports
-
view
820 -
download
1
description
Transcript of Ch 28
![Page 1: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/1.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Chapter 28
Multimedia
![Page 2: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/2.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.1 Internet audio/video
![Page 3: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/3.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Streaming stored audio/video refers to on-demand requests for compressed
audio/video files.
NoteNote::
![Page 4: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/4.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Streaming live audio/video refers to the broadcasting of radio and TV programs through the Internet.
NoteNote::
![Page 5: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/5.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Interactive audio/video refers to the use of the Internet for interactive
audio/video applications.
NoteNote::
![Page 6: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/6.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
28.1 Digitizing Audio and Video28.1 Digitizing Audio and Video
Digitizing Audio
Digitizing Video
![Page 7: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/7.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Compression is needed to send video over the Internet.
NoteNote::
![Page 8: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/8.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
28.2 Audio/Video Compression28.2 Audio/Video Compression
Audio Compression
Video Compression
![Page 9: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/9.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.2 JPEG gray scale
![Page 10: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/10.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.3 JPEG process
![Page 11: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/11.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.4 Case 1: uniform gray scale
![Page 12: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/12.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.5 Case 2: two sections
![Page 13: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/13.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.6 Case 3: gradient gray scale
![Page 14: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/14.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.7 Reading the table
![Page 15: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/15.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.8 MPEG frames
![Page 16: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/16.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.9 MPEG frame construction
![Page 17: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/17.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
28.3 Streaming Stored Audio/Video28.3 Streaming Stored Audio/Video
First Approach
Second Approach
Third Approach
Fourth Approach
![Page 18: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/18.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.10 Using a Web server
![Page 19: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/19.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.11 Using a Web server with a metafile
![Page 20: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/20.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.12 Using a media server
![Page 21: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/21.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.13 Using a media server and RTSP
![Page 22: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/22.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
28.4 Streaming Live Audio/Video28.4 Streaming Live Audio/Video
Broadcasting of live Broadcasting of live audio/video overaudio/video over
the Internetthe Internet
![Page 23: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/23.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
28.5 Interactive Audio/Video28.5 Interactive Audio/Video
Characteristics
RTP
RTCP
![Page 24: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/24.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.14 Time relationship
![Page 25: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/25.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Jitter is introduced in real-time data by the delay between packets.
NoteNote::
![Page 26: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/26.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.15 Jitter
![Page 27: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/27.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.16 Timestamp
![Page 28: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/28.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
To prevent jitter, we can timestamp the packets and separate the arrival time
from the playback time.
NoteNote::
![Page 29: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/29.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.17 Playback buffer
![Page 30: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/30.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
A playback buffer is required for real-time traffic.
NoteNote::
![Page 31: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/31.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
A sequence number on each packet is required for real-time traffic.
NoteNote::
![Page 32: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/32.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Real-time traffic needs the support of multicasting.
NoteNote::
![Page 33: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/33.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Translation means changing the encoding of a payload to a lower
quality to match the bandwidth of the receiving network.
NoteNote::
![Page 34: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/34.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Mixing means combining several streams of traffic into one stream.
NoteNote::
![Page 35: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/35.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
TCP, with all its sophistication, is not suitable for interactive multimedia
traffic because we cannot allow retransmission of packets.
NoteNote::
![Page 36: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/36.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
UDP is more suitable than TCP for interactive traffic. However, we need
the services of RTP, another transport layer protocol, to make up for the
deficiencies of UDP.
NoteNote::
![Page 37: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/37.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.18 RTP
![Page 38: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/38.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
RTP uses a temporary even-numbered UDP port.
NoteNote::
![Page 39: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/39.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.19 RTCP message types
![Page 40: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/40.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
RTCP uses an odd-numbered UDP port number that follows the port
number selected for RTP.
NoteNote::
![Page 41: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/41.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.20 SIP messages
![Page 42: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/42.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.21 SIP formats
![Page 43: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/43.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.22 SIP simple session
![Page 44: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/44.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.23 Tracking the callee
![Page 45: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/45.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.24 H.323 architecture
![Page 46: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/46.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.25 H.323 protocols
![Page 47: Ch 28](https://reader035.fdocuments.us/reader035/viewer/2022062512/554a086ab4c905e56c8b593b/html5/thumbnails/47.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Figure 28.26 H.323 example