Video Streaming Concepts Reading: John G. Apostolopoulos, Wai- tian Tan, Susie J. Wee, “Video Streaming: Concepts, Algorithms, and Systems”, HP Laboratories.

Slides:



Advertisements
Similar presentations
Jung-Hwan Low Redundancy Layered Multiple Description Scalable Coding Using The Subband Extension Of H.264/AVC Department of Electrical.
Advertisements

Streaming Video over the Internet
Video over the Internet CS 7270 Networked Applications & Services.
Multimedia Systems As Presented by: Craig Tomastik.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
RTP: A Transport Protocol for Real-Time Applications Provides end-to-end delivery services for data with real-time characteristics, such as interactive.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
Yi Liang Department of Electrical Engineering Stanford University April 19, 2000 Loss Recovery and Adaptive Playout Control for Packet Voice Communications.
Multimedia Streaming Protocols1 Multimedia Streaming: Jun Lu Xinran (Ryan) Wu CSE228 Multimedia Systems Challenges and Protocols.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
1 School of Computing Science Simon Fraser University CMPT 820: Multimedia Systems Multimedia Protocols, Files Formats and Live Broadcast Bassam Almohammadi.
Error Control and Concealment for Video Communication CMPT820 Summer 2008 Michael Jia.
UNCW UNCW SIGGRAPH 2002 Topic #3: Continuous Media in Wired and Wireless Environments Ronald J. Vetter Department of Computer Science University of North.
1 Sangeun Han, Athina Markopoulou Transmitting Scalable Video over a DiffServ network EE368C Project Proposal Sangeun Han, Athina Markopoulou 1/30/01.
End-to-End TCP-Friendly Streaming Protocol and Bit Allocation for Scalable Video Over Wireless Internet Fan Yang, Qian Zhang, Wenwu Zhu, and Ya-Qin Zhang.
Real-time traffic Dr. Abdulaziz Almulhem. Almulhem©20012 Agenda RT traffic characteristic RT traffic profiles RT traffic requirements RT Architecture.
Streaming Media. Unicast Redundant traffic Multicast One to many.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Multi-Path Transport of FGS Video Jian Zhou, Huai-Rong Shao, Chia Shen and Ming-Ting Sun ICME 2003.
Proxy-based TCP over mobile nets1 Proxy-based TCP-friendly streaming over mobile networks Frank Hartung Uwe Horn Markus Kampmann Presented by Rob Elkind.
H.264/AVC for Wireless Applications Thomas Stockhammer, and Thomas Wiegand Institute for Communications Engineering, Munich University of Technology, Germany.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Reza Rejaie CIS UO1 Prof. Reza Rejaie Computer & Information Science University of Oregon Fall 2002 Multimedia.
Variable Bit Rate Video Coding April 18, 2002 (Compressed Video over Networks: Chapter 9)
Error-Resilient Coding and Decoding Strategies for Video Communication Thomas Stockhammer and Waqar Zia Presented by Li Ma.
CS640: Introduction to Computer Networks
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
RTSP Real Time Streaming Protocol
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Ch 7. Multimedia Networking Myungchul Kim
Multimedia Communications Student: Blidaru Catalina Elena.
Streaming Video over the Internet Dapeng Wu Electrical & Computer Engineering University of Florida.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
Error control in video Streaming. Introduction Development of different types of n/ws such as internet, wireless and mobile networks has created new applications.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
報告人:林祐沁 學生 指導教授:童曉儒 老師 March 2, Wireless Video Surveillance Server Based on CDMA1x and H.264.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Multimedia Networking Ashwin Bharambe Carnegie Mellon University Networking, Spring 2003 Tuesday, April 22, 2003.
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
Scalable Video Coding and Transport Over Broad-band wireless networks Authors: D. Wu, Y. Hou, and Y.-Q. Zhang Source: Proceedings of the IEEE, Volume:
Methods of Handling Packet Loss for Multimedia Applications by Hansen Bow.
Video Multicast over the Internet Presented by: Liang-Yuh Wu Lung-Yuan Wu Hao-Hsiang Ku 12 / 6 / 2001 Bell Lab. And Georgia Institute of Technologies IEEE.
Ch 6. Multimedia Networking Myungchul Kim
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Ch 6. Multimedia Networking Myungchul Kim
Flow Control in Multimedia Communication Multimedia Systems and Standards S2 IF Telkom University.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
Path Diversity for Media Streaming The Use of Multiple Description Coding J. Apostolopoulos, M. Trott and W. Tan Presented by Xiaoyuan GUO.
Fundamentals of Multimedia Chapter 17 Wireless Networks 건국대학교 인터넷미디어공학부 임 창 훈.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
Networked Multimedia Basics. Network Characteristics.
Error Recovery.
Chapter 25 Multimedia TCP/IP Protocol Suite
Multimedia networking: outline
Multimedia networking: outline
Presentation transcript:

Video Streaming Concepts Reading: John G. Apostolopoulos, Wai- tian Tan, Susie J. Wee, “Video Streaming: Concepts, Algorithms, and Systems”, HP Laboratories Palo Alto,

Classification of video apps  Point2point vs multicast vs broadcast  Is there a “reverse channel”?  Pros and cons of reverse channel  Real-time vs pre-encorded(stored) video  What about “almost real-time”?  Interactive vs non-interactive video  Static vs dynamic channels  Bandwidth, delay, and loss are static or dynamic  CBR vs VBR channels  Do not confuse with CBR/VBR encoding  Packet-switched vs circuit-switched channels  QoS support?

Video compression standards  What do the standards specify?  Encoder and decoder implementations?  Bit stream syntax?  Decoding process?

Video streaming challenges  Video delivery via file download vs streaming ?  Characteristics of Internet are unknown or time- varying  Bandwidth  rate control  Delay jitter  playout buffer  Loss  error control

Transport and Rate Control for overcoming Time-varying BW  Objectives  How to estimate the appropriate transmission rates dynamically at the time of streaming ? – available BW estimation  How media coding has evolved to support such dynamic changes in transmission rates ? – coding rate control  Rate control for video streaming over TCP  TCP is a window (not rate) based transport protocol  TCP adjusts the window size based on AIMD congestion-control algorithm  varying throughput (saw-tooth pattern)  Retransmission  enlarge delay jitter  Nevertheless, TCP is often used in video streaming, especially when receiver window is appropriately sized  Stable and scalable TCP rate control  TCP guarantees delivery  How would you calculate the receiver window size to set the streaming rate at a certain value?

Transport and Rate Control for overcoming Time-varying BW  Rate control for video streaming over UDP  Separation of error control and rate control  TCP-friendly rate control  Mimic average throughput of TCP = f(RTT, p)  Smooth the instantaneous fluctuations of TCP’s AIMD algorithm  Rate  1/RTT : video streaming 에 적합한가 ?  Some media streaming system do not perform rate control  Multicasting: Identical stream is transmitted to all recipients via channels of different levels of congestion  No feedback channel  Receiver-driven rate control  Layered multicast of scalable or layered compressed video

Meeting Transmission BW Constraints  If channel transmission rate < media bit rate, then ??  Transcoding  Decode and re-encode to the desired bit rate  Include bit rate reduction, spatial downsampling, frame rate reduction, changing compression formats  Requires application-layer gateways  Multiple file switching  Multiple copies of the same content at different bit-rates. Client chooses the appropriate media rate.  Multi-rate switching: enables dynamic switching between different rates within a session  No recompression penalty, but BW waste for multiple copies of the same media  Scalable compression (layered coding) 7

Evolving Approaches in Internet  IntServ model  QoS guarantees BW, packet loss rate, delay on per flow basis  Explicit resource reservation via RSVP  DiffServ model  Classify and differentiate among classes based on a tag(code-point) in each packet 8

Playout Buffer for Overcoming Jitter  Solution: Playback buffering  Key question: how long should the playback buffer (or playback delay) be?  Playback buffers have additional advantages:  Error recovery through ReTx  Error resilience through interleaving  Smooth throughput variations (e.g., due to TCP)  Adaptive Media Playout

Error Control for Overcoming Channel Losses  Bit error vs packet loss  In wired network, almost packet loss due to congestion  In wireless network, bit errors or burst errors may cause  To be passed up to the appl. Layer  Or, discarded (packet loss)  Solutions?  Retransmissions  Commonly used, but constrained by delay budget and playback delay  Requires back-channel  Forward Error Correction  Send N packets (K data packets + K-N redundant packets). If received packets >= K correctlry, data packets are recovered.  Introduce bandwidth overhead (and potentially delay)  Or, cannot recover.  Loss/error concealment  Loss/error resilient video coding

Loss/Error Concealment  Pixels, MBs, slices, and entire frame may be lost.  Exploits the correlation along  Spatial interpolation  Temporal extrapolation (freeze frame)  Motion-compensated temporal extrapolation  Motion-compensated block + estimation of lost MV from ??  Error concealment is performed at the decoder 11

Error Resilience Video Coding: Overcoming Loss of Bitstream Synch.  Resynch Marker  Put the Resync markers (placed where?)  Reversible VLCs (MPEG-4)  Less efficient than VLS  Data Partitioning (MPEG-4)  Place most important data just after markers  Application Level Framing (ALF)  Design the packet(frame) payload to minimize the effect of loss 12

Error Resilience Video Coding: Overcoming Incorrect State and Error Propagation  Overcome error propagation  Use periodic I-pictures (GOP)  Use periodic intra-coding of MBs  In point-to-point comm. with back channel (short RTT)  Both the encoder and decoder store multiple previously coded frames  Decoder notifies the packet error to the encoder  The encode tells which picture should be used as the reference for the next prediction (Reference Picture Selection in H.263) 13

Scalable (Layered) Video Coding for Lossy Networks  SVC implicitly assumes broadcast or multicast of video steams (including overlay multicasting)  Base layer and several enhancement layers need different treatments  unequal error protection (UEP),  prioritized transmission  Useful if network provides several classes of service or priorities (DiffServ, IntServ)  Under the best effort Internet ?

Multiple Description Video Coding  Multiple description coding (MDC) video  Several “descriptions” of the same video  The more descriptions you receive, the better  Significant redundancy among descriptions  What if all descriptions are subject to simultaneous losses?  MDC video with path diversity

Media Streaming Protocols and Standards  Protocols for video streaming over the Internet  Media delivery: RTP/RCTP  RTP does not provide real-time delivery, neither support any QoS  Only provides time stamps, sequence numbering, video source identification, payload specification  RTCP provides QoS feedback in terms of # of los packets, delay, inter-arrival jitter, etc.  Media Session Control  RTSP (Realtime Streaming Protocol)  SIP (Session Initiation Protocol)  Media Description and Announcement  SDP (Session Description Protocol)  SAP (Session Announcement Protocol) 16

Additional Video Streaming Topics  Multicast  Should solve heterogeneity problem  Network heterogeneity: different channel conditions (BW, error protection)  Receiver heterogeneity  Approaches  Different multicasts for different ranges of intended bit-rates: e.g) simulcast  Different multicasts can contain incremental information (SVC): e.g) layered multicast  End-to-end security and Transcoding  Streaming over wired and wireless Links  Loss differentialtion:  Loss due to congestion or noise ?  Streaming media CDN 17

Streaming Media CDN  Conventional CDN vs streaming media CDN  Issues  Application-layer multicast (overlay multicast)  Seamless hand-off  MD-CDN  Achieve path diversity from the infrastruture of CDN 18