[VOD] Streaming Video over the Internet: Approaches and ...

43
Streaming Video over the Internet Streaming Video over the Internet Approaches and Directions Approaches and Directions Dapeng Wu Yiwei Thomas Hou Wenwu Zhu Ya-Qin Zhang Jon M. Peha 2001 년 9 년 4 년 년년년 : 년년년

description

 

Transcript of [VOD] Streaming Video over the Internet: Approaches and ...

Page 1: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming Video over the Internet Streaming Video over the Internet Approaches and DirectionsApproaches and Directions

Dapeng WuYiwei Thomas HouWenwu ZhuYa-Qin ZhangJon M. Peha

2001 년 9 월 4 일

발표자 : 서승우

Page 2: [VOD] Streaming Video over the Internet: Approaches and ...

Raw Video

CompressedAudio

Application-layerQoS ControlCompressed

Video

TransportProtocol

VideoDecoder

AudioDecoder

Raw Audio

VideoCompression

AudioCompression

Application-layerQoS Control

TransportProtocol

MediaSynchronization

Storage Device

Streaming Server

Client/Receiver

Internet(Continuous media distribution services)

Page 3: [VOD] Streaming Video over the Internet: Approaches and ...

Six Key AreasSix Key Areas

Video Compression Application layer QoS control Continuous media distribution services Streaming servers Media Synchronization mechanisms Protocols for Steaming media

Page 4: [VOD] Streaming Video over the Internet: Approaches and ...

Two approaches of video compressionTwo approaches of video compression

Nonscalable video coding– Generate 1 compressed bit-stream

Scalable video coding– Generate multiple compressed bit-stream– One is base substream– Others are enhancement substream– SNR , FGS

Page 5: [VOD] Streaming Video over the Internet: Approaches and ...
Page 6: [VOD] Streaming Video over the Internet: Approaches and ...
Page 7: [VOD] Streaming Video over the Internet: Approaches and ...
Page 8: [VOD] Streaming Video over the Internet: Approaches and ...
Page 9: [VOD] Streaming Video over the Internet: Approaches and ...
Page 10: [VOD] Streaming Video over the Internet: Approaches and ...

Six Key AreasSix Key Areas

Video CompressionApplication layer QoS control Continuous media distribution services Streaming servers Media Synchronization mechanisms Protocols for Steaming media

Page 11: [VOD] Streaming Video over the Internet: Approaches and ...

Application-Layer QoS ControlApplication-Layer QoS Control

Congestion Control– Rate Control

Source-Based Rate Control

Receiver-Based Rate Control

Hybrid-Rate Control– Rate Shaping

Frame-dropping filter Layer-dropping filter Frequency filter Re quantization filter

Error Control– FEC– Delay-Constrained

Retransmission– Error-Resilient

Encoding– Error-Concealment

To avoid congestion and maximize video quality in the presence of packet loss

Page 12: [VOD] Streaming Video over the Internet: Approaches and ...

Rate ControlRate Control

Source-Base Rate Control– Probe-Based

Maintain their packet loss ratio below a certain threshold

– Model-Based Based on throughput model

Page 13: [VOD] Streaming Video over the Internet: Approaches and ...

Rate ControlRate Control

Receiver-Based Rate-Control– When no congestion is detected,join a

layer/channel =>Result in an increase of its receiving rate

– When congestion detected, drops a layer

=> result in a reduction of its receiving rate Hybrid Rate-Control

– Both Sender and receiver control rate

Page 14: [VOD] Streaming Video over the Internet: Approaches and ...

Rate ShapingRate Shaping

To match the rate of a pre-compressed video bit stream to their target rate constraint

Required for source based rate control

Codec filter Frame-dropping filter Layer-dropping filter Frequency filter Re-quantization filter

Page 15: [VOD] Streaming Video over the Internet: Approaches and ...

Error ControlError ControlFEC: add redundant informationFEC: add redundant information

Channel coding :– Packetized into k packets– Generate n packet block ( k < n)– Only need to receive any k packets in n packet block

Source coding-based FEC– N-th group of blocks contains redundant information

of (n-1)th group of blocks Joint source/channel coding

– Optimal allocation between source coding and channel coding

Page 16: [VOD] Streaming Video over the Internet: Approaches and ...

Error ControlError ControlDelay-Constrained RetransmissionDelay-Constrained Retransmission

Page 17: [VOD] Streaming Video over the Internet: Approaches and ...

Error ControlError ControlError-Resilient EncodingError-Resilient Encoding

MDC : Multiple description coding– Compressed into multiple streams– Each description provides acceptable

visual quality– With only one description, can

reconstruct video with acceptable quality

– COST !!

Page 18: [VOD] Streaming Video over the Internet: Approaches and ...

Error ControlError ControlError ConcealmentError Concealment

Reconstruct the missing data in intra-coded frames in inter-coded frames

Example of skills– Maximally smooth recovery– projection onto convex sets– various motion vector– coding mode recovery methods

Page 19: [VOD] Streaming Video over the Internet: Approaches and ...

Six Key AreasSix Key Areas

Video Compression Application layer QoS controlContinuous media distribution service

s Streaming servers Media Synchronization mechanisms Protocols for Steaming media

Page 20: [VOD] Streaming Video over the Internet: Approaches and ...

Continuous Media Distribution ServicesContinuous Media Distribution Services

Network FilteringApplication-Level MulticastContent Replication

Page 21: [VOD] Streaming Video over the Internet: Approaches and ...

Network FilteringNetwork Filtering

Page 22: [VOD] Streaming Video over the Internet: Approaches and ...

Network FilteringNetwork Filtering

Typically, frame-dropping filters are used as network filters

Page 23: [VOD] Streaming Video over the Internet: Approaches and ...

Application-Level MulticastApplication-Level Multicast

IP multicast has barrier– Scalability,network

management,deployment,support for higher layer functionality

=> application level multicast mechanism was proposed

Media-Bridge– Performs routing at application layer– Interconnect with neighbor Media-Brides through

explicit configuration– Application level multicast is possible

Page 24: [VOD] Streaming Video over the Internet: Approaches and ...

Content ReplicationContent Replication

Mirroring– Place copies of the original multimedia files

on other machines scattered around the Internet

Caching– Makes local copies of contents that clients

retrieve frequently

– To store complete video is expensive– A few cached frames can contribute to

significant improvement in performance

Page 25: [VOD] Streaming Video over the Internet: Approaches and ...

Six Key AreasSix Key Areas

Video Compression Application layer QoS control Continuous media distribution servicesStreaming servers Media Synchronization mechanisms Protocols for Steaming media

Page 26: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming ServersStreaming Servers

Real-Time Operation SystemStorage System

Page 27: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming ServersStreaming ServersOS:process managementOS:process management

EDF : each task is assigned deadline – close to deadline first

Rate-monotonic scheduling– high rate task first– More task switching

Page 28: [VOD] Streaming Video over the Internet: Approaches and ...

< EDF vs Rate monotonic >

Page 29: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming ServersStreaming ServersOS:Resource ManagementOS:Resource Management

Resource management involves admission control and resource allocation

Deterministic admission control– Hard guarantees

Statistical admission control– Statistical guarantees

Page 30: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming ServersStreaming ServersOS:File ManagementOS:File Management

Non-scatterd vs scattedScatted

– throughput improved– Seek times can be reduced by disk-schedul

ing algorithms SCAN-EDF, grouped sweeping scheduling,DC-SCAN

Support pause/resume,fast forward,fast backward => under study

Page 31: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming ServersStreaming ServersStorage SystemStorage System

Increase throughput with data striping– load-balance and low latency are two conflicting objectives

Page 32: [VOD] Streaming Video over the Internet: Approaches and ...

Streaming ServersStreaming ServersStorage SystemStorage System

Increase capacity with tertiary and hierarchical storage– To keep the storage cost down , tertiary

storage must be added

SAN : use fiber channel

NAS : directly attach to a local area network

Page 33: [VOD] Streaming Video over the Internet: Approaches and ...
Page 34: [VOD] Streaming Video over the Internet: Approaches and ...
Page 35: [VOD] Streaming Video over the Internet: Approaches and ...

Six Key AreasSix Key Areas

Video Compression Application layer QoS control Continuous media distribution services Streaming serversMedia Synchronization mechanisms Protocols for Steaming media

Page 36: [VOD] Streaming Video over the Internet: Approaches and ...

Media SynchronizationMedia Synchronization

Intra-stream synchronization– Maintain continuity of logical data

unitInter-stream synchronization

– Maintain temporal relationships among different continuous media

Inter-object synchronization– Relation with time-independent data

such as text, still image and streams

Page 37: [VOD] Streaming Video over the Internet: Approaches and ...

Media SynchronizationMedia Synchronization

Methods maintain the temporal relations– Interval-based– Axes-based : time stamping

Widely used

– Control flow-based– Event-based

Page 38: [VOD] Streaming Video over the Internet: Approaches and ...

Six Key AreasSix Key Areas

Video Compression Application layer QoS control Continuous media distribution services Streaming servers Media Synchronization mechanismsProtocols for Steaming media

Page 39: [VOD] Streaming Video over the Internet: Approaches and ...

Protocols For Streaming VideoProtocols For Streaming Video

Transport ProtocolsSession Control Protocols

Page 40: [VOD] Streaming Video over the Internet: Approaches and ...
Page 41: [VOD] Streaming Video over the Internet: Approaches and ...

Protocols For Steaming VideoProtocols For Steaming VideoTransport ProtocolsTransport Protocols

TCP – retransmission

UDP– Typically employed as the transport

protocol

Page 42: [VOD] Streaming Video over the Internet: Approaches and ...

Protocols For Steaming VideoProtocols For Steaming VideoTransport ProtocolsTransport Protocols

RTP : does not guarantee QoS or reliable delivery

– Time stamping– Sequence numbering– Payload type identificatio

n– Source identification

RTCP : designed to work in conjunction with RTP

– QoS feedback– Participant identification– Control packets scaling– Inter-media synchronizati

on– Minimal session control i

nformation

Page 43: [VOD] Streaming Video over the Internet: Approaches and ...

Protocols For Steaming VideoProtocols For Steaming VideoSession Control ProtocolsSession Control Protocols

RTSP– Support VCR-like control operations– (stop,pause/resume,fast forward, fast backward)– Choosing delivery channel(UDT,multicast UDT, TCP)– Establish and control streams of continuous audio and video

media– Media retrieval : media request,ask session setup to server– Adding media to an existing session

SIP– Support user mobility by proxying and redirecting request