mcgraw-hill the mcgraw-hill companies, inc., 2004

47
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia

Upload: ronny72

Post on 21-Jan-2015

471 views

Category:

Documents


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Chapter 28

Multimedia

Page 2: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.1 Internet audio/video

Page 3: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Compression is needed to send video over the Internet.

NoteNote::

Page 8: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

28.2 Audio/Video Compression28.2 Audio/Video Compression

Audio Compression

Video Compression

Page 9: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.2 JPEG gray scale

Page 10: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.3 JPEG process

Page 11: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.4 Case 1: uniform gray scale

Page 12: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.5 Case 2: two sections

Page 13: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.6 Case 3: gradient gray scale

Page 14: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.7 Reading the table

Page 15: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.8 MPEG frames

Page 16: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.9 MPEG frame construction

Page 17: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.10 Using a Web server

Page 19: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.11 Using a Web server with a metafile

Page 20: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.12 Using a media server

Page 21: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.13 Using a media server and RTSP

Page 22: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

28.5 Interactive Audio/Video28.5 Interactive Audio/Video

Characteristics

RTP

RTCP

Page 24: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.14 Time relationship

Page 25: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Jitter is introduced in real-time data by the delay between packets.

NoteNote::

Page 26: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.15 Jitter

Page 27: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.16 Timestamp

Page 28: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.17 Playback buffer

Page 30: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

A playback buffer is required for real-time traffic.

NoteNote::

Page 31: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

A sequence number on each packet is required for real-time traffic.

NoteNote::

Page 32: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Real-time traffic needs the support of multicasting.

NoteNote::

Page 33: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Mixing means combining several streams of traffic into one stream.

NoteNote::

Page 35: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.18 RTP

Page 38: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

RTP uses a temporary even-numbered UDP port.

NoteNote::

Page 39: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.19 RTCP message types

Page 40: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

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: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.20 SIP messages

Page 42: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.21 SIP formats

Page 43: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.22 SIP simple session

Page 44: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.23 Tracking the callee

Page 45: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.24 H.323 architecture

Page 46: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.25 H.323 protocols

Page 47: McGraw-Hill The McGraw-Hill Companies, Inc., 2004

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.26 H.323 example