streaming video over the internet 1. characteristics of multimedia data voluminous they demand very...

26
Streaming Video over the Internet 1

Upload: miles-ludlam

Post on 28-Mar-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

1

Streaming Video over the Internet

Page 2: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

Characteristics of Multimedia Data Voluminous — they demand very high data

rates, possibly dozens or hundreds of Mbps.

Real-time and interactive — they demand low delay and synchronization between audio and video for “lip sync”. In addition, applications such as video conferencing and interactive multimedia also require two-way traffic.

Sometimes bursty — data rates fluctuate drastically, e.g., no traffic most of the time but burst to high volume in video-on-demand.

2

Page 3: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

Quality of Multimedia Data Transmission Quality of Service (QoS) depends on many

parameters:

Data rate: a measure of transmission speed.

Latency (maximum frame/packet delay): maximum time needed from transmission to reception.

Packet loss or error: a measure (in percentage) of error rate of the packetized data transmission.

Jitter: a measure of smoothness of the audio/video playback, related to the variance of frame/packet delays.

3

Page 4: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

Fig. 1: Jitters in frame playbacks. (a) High jitter, (b) Low jitter.

4

Page 5: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

Multimedia Service Classes Real-Time (also Conversational): two-way traffic, low latency

and jitter, possibly with prioritized delivery, e.g., voice telephony and video telephony.

Priority Data: two-way traffic, low loss and low latency, with prioritized delivery, e.g., E-commerce applications.

Silver: moderate latency and jitter. One-way traffic, e.g., streaming video, or two-way traffic (also Interactive), e.g., web surfing, Internet games.

Best Effort (also Background): no real-time requirement, e.g., downloading or transferring large files (movies).

Bronze: no guarantees for transmission.

5

Page 6: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

Table 1: Requirement on Network Bandwidth / Bit-rate

6

Page 7: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

Table 2: Tolerance of Latency and Jitter in Digital Audio and Video

7

Page 8: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

8

What is Steaming Video Download mode: No delay bound Streaming mode: delay bound

Page 9: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

9

Challenges for Quality Video Transport Time-Varying Available Bandwidth

No bandwidth reservation

Page 10: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

10

Time-Varying Delay

Page 11: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

11

Effect of Packet Loss

Page 12: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

12

Architecture for Video Streaming

Page 13: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

13

Video Compression Layered Video encoding/decoding D denotes the decoder

Page 14: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

14

Application of Layered Video

Page 15: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

15

Application-Layer QoS Control Congestion control (using rate control)

Source-based, requires Rate-adaptive compression or Rate shaping

Receiver-based Hybrid

Error Control Forward error correction (FEC) Retransmission Error resilient compression Error concealment

Page 16: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

16

Congest Control Source-based Rate Control

Page 17: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

17

Mode-based Approach

1.22 MTU

RTT p

Where is the throughput of a TCP connection, MTU (maximum transmission unit) is the packet size used by the connection, RTT is the round-trip time for the connection, and p is the packet-loss ratio experienced by the connection.

Page 18: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

18

Receiver-based Rate Control IP multicast for layered video

Page 19: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

19

Error Control FEC

Channel coding Source coding-based FEC Joint source/channel coding

Delay-constrained retransmission Error resilient Compression Error concealment

Page 20: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

20

Channel Coding

Page 21: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

21

Delay-constrained Retransmission

When the receiver detects the loss of packet N:If Send the request for packet N to the sender

( ) ( ))c s dT RTT D T N

Page 22: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

22

Streaming Server Different from a web server

Timing constraints Video-cassette-recorder(VCR) functions (e.g., fast

forward/backward, random access, and pause/resume).

Design of streaming servers Real-time operating system Special disk scheduling schemes

Page 23: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

23

Media Synchronization Why media synchronization Example: lip-synchronization (video/audio)

Page 24: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

24

Protocol for Streaming Video Network-layer protocol: Internet Protocol (IP) Transport protocol

Lower layer: UDP & TCP Upper layer: Real-time Transport Protocol (RTP) &

Real-Time Control Protocol (RTCP) Session control protocol

Real-time streaming protocol (RTSP): RealPlayer Session Initiation Protocol (SIP) : Microsoft

Windows MediaPlayer; Internet Telephony

Page 25: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

25

Protocol Stacks

Page 26: Streaming Video over the Internet 1. Characteristics of Multimedia Data Voluminous they demand very high data rates, possibly dozens or hundreds of Mbps

26

Summary Challenges for Quality video transport

Time-varying available bandwidth Time-varying delay Packet loss

An architecture for video streaming Application-layer QoS control Streaming server Media synchronization mechanisms Protocols for steaming media