Presentation is loading. Please wait.

Presentation is loading. Please wait.

Streaming Video over the Internet

Similar presentations

Presentation on theme: "Streaming Video over the Internet"— Presentation transcript:

1 Streaming Video over the Internet

2 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.

3 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.

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

5 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.

6 Table 1: Requirement on Network Bandwidth / Bit-rate

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

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

9 Challenges for Quality Video Transport
Time-Varying Available Bandwidth No bandwidth reservation

10 Time-Varying Delay

11 Effect of Packet Loss

12 Architecture for Video Streaming
Upon the request, a streaming server retrieves compressed video/audio data from storage devies, then the application –layer QoS control module adapts the vide/audio bit steams according to the network status and QoS requirments. After this adaptation, the tranport protocol packetize the compressed bit streams and send the video/audio packet to the interent or wireless IP networks.Packets may be dropped or experince excesssive delay on the internet due to congestion; On wireless iP segments, packets may be damaged by bit errors. To improve the quality of video/audio transmission, continous media distribution services are deployed in the interenet. Packet are sucessive delived to reciever first pass through the transprot layers and then are processed by application layer before being decoded at the video/audo decoder. To achieve sychronization between video and audio presentations, media synchronization mechanism are required. From Figure 15.1, it can be seens that seven areas are colosely related, and that they are coherent consituents of the video streaming architecture.

13 Video Compression Layered Video encoding/decoding
D denotes the decoder

14 Application of Layered Video

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 Application layer QoS control maximizes video quality in the presence of pakcet loss and changes in available bandwidth. Application-layer QoS control techniques include congestion control and error control

16 Congest Control Source-based Rate Control
Rate shaper is a technique trough which the rate of precompressed video bit streams can be adapted to a target rate contraints.

17 Mode-based Approach The source is reponsible for adapting video transmission rate. Typically, feedback is employed by source-based rate control mechanism. Based on the feedback inforamtion about the network, the sender can regulate the rate of video stream. The model based is based on a throughput model of a tcp connection. Specifically, the throughput of a TCP connection can be characterized by the following formula. The equaition is used to determine the sending rate of video stream. In tthis way, the video connection can avoid the congestion 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.

18 Receiver-based Rate Control
IP multicast for layered video Under receive-based rate control, recievers regulate the receivng rate of video streams by adding and dropping channels, whereas the sender does not particiatpe in rate control. Typically, reciever-based rate control is only applied to laeyred multicast

19 Error Control FEC Delay-constrained retransmission
Channel coding Source coding-based FEC Joint source/channel coding Delay-constrained retransmission Error resilient Compression Error concealment

20 Channel Coding

21 Delay-constrained Retransmission
When the receiver detects the loss of packet N: If Send the request for packet N to the sender The tolearance of error in estimaing RTT, the sender’s response time, the reciever

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

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

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

25 Protocol Stacks

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

Download ppt "Streaming Video over the Internet"

Similar presentations

Ads by Google