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

Ch 28

Embed Size (px)

DESCRIPTION

tmh slides

Citation preview

Page 1: Ch 28

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

Chapter 28

Multimedia

Page 2: Ch 28

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

Figure 28.1 Internet audio/video

Page 3: Ch 28

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

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

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

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

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

Compression is needed to send video over the Internet.

NoteNote::

Page 8: Ch 28

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

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

Figure 28.2 JPEG gray scale

Page 10: Ch 28

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

Figure 28.3 JPEG process

Page 11: Ch 28

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

Figure 28.4 Case 1: uniform gray scale

Page 12: Ch 28

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

Figure 28.5 Case 2: two sections

Page 13: Ch 28

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

Figure 28.6 Case 3: gradient gray scale

Page 14: Ch 28

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

Figure 28.7 Reading the table

Page 15: Ch 28

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

Figure 28.8 MPEG frames

Page 16: Ch 28

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

Figure 28.9 MPEG frame construction

Page 17: Ch 28

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

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

Figure 28.10 Using a Web server

Page 19: Ch 28

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

Figure 28.11 Using a Web server with a metafile

Page 20: Ch 28

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

Figure 28.12 Using a media server

Page 21: Ch 28

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

Figure 28.13 Using a media server and RTSP

Page 22: Ch 28

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

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

28.5 Interactive Audio/Video28.5 Interactive Audio/Video

Characteristics

RTP

RTCP

Page 24: Ch 28

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

Figure 28.14 Time relationship

Page 25: Ch 28

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

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

Figure 28.15 Jitter

Page 27: Ch 28

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

Figure 28.16 Timestamp

Page 28: Ch 28

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

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

Figure 28.17 Playback buffer

Page 30: Ch 28

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

A playback buffer is required for real-time traffic.

NoteNote::

Page 31: Ch 28

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

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

Real-time traffic needs the support of multicasting.

NoteNote::

Page 33: Ch 28

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

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

Mixing means combining several streams of traffic into one stream.

NoteNote::

Page 35: Ch 28

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

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

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

Figure 28.18 RTP

Page 38: Ch 28

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

RTP uses a temporary even-numbered UDP port.

NoteNote::

Page 39: Ch 28

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

Figure 28.19 RTCP message types

Page 40: Ch 28

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

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

Figure 28.20 SIP messages

Page 42: Ch 28

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

Figure 28.21 SIP formats

Page 43: Ch 28

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

Figure 28.22 SIP simple session

Page 44: Ch 28

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

Figure 28.23 Tracking the callee

Page 45: Ch 28

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

Figure 28.24 H.323 architecture

Page 46: Ch 28

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

Figure 28.25 H.323 protocols

Page 47: Ch 28

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

Figure 28.26 H.323 example