Packet Loss Recovery for Streaming Video N. Feamster and H. Balakrishnan Massachusetts Institute of Technology In Workshop on Packet Video (PV) Pittsburg,

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

Internet for multimedia content Yogendra Pal Chief Engineer, All India Radio.
Bayesian Piggyback Control for Improving Real-Time Communication Quality Wei-Cheng Xiao 1 and Kuan-Ta Chen Institute of Information Science, Academia Sinica.
Media: Voice and Video in your SIP Environment Jitendra Shekhawat.
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.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli University of Calif, Berkeley and Lawrence Berkeley National Laboratory SIGCOMM.
Using FEC for Rate Adaptation of Multimedia Streams Marcin Nagy Supervised by: Jörg Ott Instructed by: Varun Singh Conducted at Comnet, School of Electrical.
User Control of Streaming Media: RTSP
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.
Measurements of Congestion Responsiveness of Windows Streaming Media (WSM) Presented By:- Ashish Gupta.
Networks & Multimedia Amit Pande, Post-doctoral fellow, Department of Computer Science, University of California Davis
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
An Empirical Study of RealVideo Performance Across the Internet Yubing Wang, Mark Claypool and Zheng Zuo
An Error-Resilient GOP Structure for Robust Video Transmission Tao Fang, Lap-Pui Chau Electrical and Electronic Engineering, Nanyan Techonological University.
CS525z Multimedia Networking Review. Analog to Digital What is the relationship between –Fidelity and Sample Size –Fidelity and Sample Rate.
1 Solutions to Performance Problems in VOIP over Wireless LAN Wei Wang, Soung C. Liew Presented By Syed Zaidi.
Measurement Study of Low- bitrate Internet Video Streaming Dmitri Loguinov and Hayder Radha CS Dept at CUNY NY and EE/ECE at MSU. In Proceedings of ACM.
RAP: An End-to-End Rate-Based Congestion Control Mechanism for Realtime Streams in the Internet Reza Rejai, Mark Handley, Deborah Estrin U of Southern.
1 PV'2003, Nantes France, April 2003 Measurement of the Congestion Responsiveness of RealPlayer Streaming Video Over UDP Jae Chung, Mark Claypool, Yali.
Real-time traffic Dr. Abdulaziz Almulhem. Almulhem©20012 Agenda RT traffic characteristic RT traffic profiles RT traffic requirements RT Architecture.
A Model for MPEG with Forward Error Correction (FEC) and TCP-Friendly Bandwidth Huahui Wu, Mark Claypool & Robert Kinicki Computer Science Department Worcester.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Mingzhe Li, Choong-Soo Lee, Emmanuel Agu, Mark Claypool and Bob Kinicki Computer Science Department.
Adaptive Delay Aware Error Control for Internet telephony Catherine Boutremans Jean-Yves Le Boudec IP Telephony Workshop’2001 Institute for computer Communication.
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.
Resilient Multicast Support for Continuous-Media Applications X. Xu, A. Myers, H. Zhang and R. Yavatkar CMU and Intel Corp NOSSDAV, 1997.
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.
Measurement of the Congestion Responsiveness of RealPlayer Streaming Video Over UDP Jae Chung, Mark Claypool, Yali Zhu Proceedings of the International.
Using Redundancy and Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Yali Zhu, Mark Claypool and Yanlin Liu Department of Computer.
Proxy-based TCP over mobile nets1 Proxy-based TCP-friendly streaming over mobile networks Frank Hartung Uwe Horn Markus Kampmann Presented by Rob Elkind.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Streaming Video over a Wireless Network So what is the problem!! WPI CS Research Rugby Bob Kinicki November 30, 2004.
Using Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Mark Claypool and Yali Zhu Computer Science Department Worcester Polytechnic.
A Selective Retransmission Protocol for Multimedia on the Internet Mike Piecuch, Ken French, George Oprica and Mark Claypool Computer Science Department.
Guidelines for Selecting Practical MPEG Group of Pictures The IASTED International Conference on Internet and Multimedia Systems and Applications (EuroIMSA.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
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.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Multimedia and QoS#1#1 Multimedia Applications. Multimedia and QoS#2#2 Multimedia Applications r Multimedia requirements r Streaming r Recovering from.
Streaming Video over the Internet Dapeng Wu Electrical & Computer Engineering University of Florida.
Daniel Johnson. Playing a media file stored on a remote server on a local client.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
1 Dude, Where is My Packet?. NUS.SOC.CS5248 OOI WEI TSANG 2 Overview Characteristics of the Internet General techniques Error recovery for audio Effect.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
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.
報告人:林祐沁 學生 指導教授:童曉儒 老師 March 2, Wireless Video Surveillance Server Based on CDMA1x and H.264.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Efficient Path Aggregation and Error Control for Video Streaming OMESH TICKOO, Shiv Kalyanaraman,
Selective Retransmission of MPEG Video Streams over IP Networks Árpád Huszák, Sándor Imre Budapest University of Technology and Economics Department of.
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.
NUS.SOC.CS5248 Ooi Wei Tsang Rate Adaptations. NUS.SOC.CS5248 Ooi Wei Tsang You are Here Network Encoder Sender Middlebox Receiver Decoder.
Low Latency Adaptive Streaming over TCP Authors Ashvin Goel Charles Krasic Jonathan Walpole Presented By Sudeep Rege Sachin Edlabadkar.
Authors: HUAHUI WU, MARK CLAYPOOL, and ROBERT KINICKI Presented By Siddharth Singla Jangsung Lee Adjusting Forward Error Correction with Temporal Scaling.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Advisor: Mark Claypool Reader: Bob Kinicki.
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.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
On the Interactions Between Layered Quality Adaptation and Congestion Control for Streaming Video 11 th International Packet Video Workshop Nick Feamster.
Technical Seminar Presentation Presented by : SARAT KUMAR BEHERA NATIONAL INSTITUTE OF SCIENCE AND TECHNOLOGY [1] Presented By SARAT KUMAR BEHERA Roll.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
Chapter 28 Q and A IS 333 Spring A quiz question Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer.
Neha Jain Shashwat Yadav
MIT Laboratory for Computer Science
Project Proposal Due Next Mon. Submit by
Injong Rhee ICMCS’98 Presented by Wenyu Ren
Presentation transcript:

Packet Loss Recovery for Streaming Video N. Feamster and H. Balakrishnan Massachusetts Institute of Technology In Workshop on Packet Video (PV) Pittsburg, April 2002

Introduction (1) Streaming is growing Commercial streaming successful (ie RealPlayer and MediaPlayer) –But proprietary and inflexible  Use MPEG-4 since open Current streaming inflexible –Suboptimal (me: suspected) –Want to adapt to current network +(Me: there is certainly room for improvement and science can help)  Present system that adapts to loss

Introduction (2) MPEG video under loss suffers from propagation of errors (what is this?)  Fundamental tradeoff between bandwidth efficiency and error resilience Current FEC approaches effective but … –Reduce benefits of compression –Tough to get adaptation right Some say cannot use retransmission for streaming but … –RTT low enough (less than buffer) than ok –Selective retransmission (say, I-frames) ok Build model + system –(Also TCP-Friendly using CM, but not focus)

Outline Introduction(done) Model(next) System Architecture Performance Evaluation Related Work Conclusions

Model (Outline) Problem Description(next) –MPEG-4 –Error Propagation Packet loss model –Experiments –Analytic Model Benefits of Selective Repair

Problem Description MPEG-4 has three frame types: I, B, P –Note, MPEG-4 calls them “Video Object Planes” but thinking of frames is fine While high compression, suffers from error propagation  Loss of I-frame packets can affect subsequent frames, too (example next)

Loss in an I-frame PSNR

Propagation to Next P-frame PSNR

Average PSNR versus Loss Rate -“Coastguard” clip -30 fps -300 frames

Model (Outline) Problem Description(done) –MPEG-4 –Error Propagation Packet loss model(next) –Experiments –Analytic Model Benefits of Selective Repair

Packet Loss Model Assume packet loss degrades quality –True, in general, unless FEC Assume below PSNR threshold, would discard –But PSNR doesn’t model perceived quality –This viewability threshold varies with picture +So will analyze several thresholds +Also, can use other quality metrics –Generally, under 20 db is bad +Loss of 2 8 (about.4%) is trouble and needs correction +(See previous figure)

Effects of Loss on Frame Rate (with Thresholds) - Degradation holds across multiple thresholds

Analytic Model (1) Observed frame rate  =  0 (1-  ) –  is fraction of frames dropped –  0 is original frame rate (ie- 30 fps) Where i runs over types I, P and B P(  i ) can be determined by fraction in stream F is event that a frame is useless (PSNR below threshold)  i is event that frame is of type i

Analytic Model (2) p is packet loss rate S I is size of I frame (similar for S B, S P, too) Assumes if any packet lost, frame useless P needs all previous P (and I) frames N P is number of P frames in GOP (I-frames)

Analytic Model (3) Simplify to closed form above Now, using equations and given N P S I S B S P  0 Can determine playable frame rate  =  0 (1-  ) “Model” –Validate by comparing to measured

Model vs. Measured - Matches lower thresholds - Can generalize for n losses (instead of 1) for higher thresholds

Model (Outline) Problem Description(done) –MPEG-4 –Error Propagation Packet loss model(done) –Experiments –Analytic Model Benefits of Selective Repair(next)

Benefits of Selective Retransmission - Recover only I frames - Recover only P frames - (Recover B frames doesn’t help much)

Outline Introduction(done) Model(done) System Architecture(next) Performance Evaluation Related Work Conclusions

Overview of System CM provides TCP-Friendly data rate –Calls back when can send data Data sent over RTP (using UDP) Control over RTSP (over TCP) Frames put into Application Data Units (ADU) –1 frame per ADU –ADU’s may be fragmented into muliple IP packets

SR Packet Header - P used for priority (say, I-frames) - Sequence numbers (for loss) - Total ADU length - Frames can be more than one packet - Offset for location in ADU

Loss Detection and Recovery Mid-frame loss –Gaps in ADU using offset plus fragment length Start-of frame loss –First offset non-zero End-of-frame loss –ADU less than reported length Complete loss –Detected by gap in ADU sequence numbers Can use priorities to decide upon retransmissions –(Me: which packets to retransmit is the hard part!)

Implementation Used OpenDivX for MPEG-4 Used CM previously built for Linux Used RTSP client-server library Also, extended mplayer for Linux –Call-backs give complete ADU to player –Retransmit all unless canceled by app

Postprocessing (Receiver-Based) May still have some missing frames Simple replacement (repetition) bad if motion –Estimate motion and compensate

Outline Introduction(done) Model(done) System Architecture(done) Performance Evaluation(next) Related Work Conclusions

Setup Retransmit I frames Server on P4, 1.5 GHz, Linux Client on P2, 233 MHz, Linux Mbps, 50 ms latency, 3% loss –Using Dummynet, a WAN emulator 20 Kbps video at 30 fps –Used only 300 frames (10 seconds) For “Internet”, used 200 ms RTT and used Web cross traffic with SURGE (traffic emulator) Added buffering to combat jitter –(Me: how and how much is not specified)

Benefits of Selective Reliability (1) ms RTT - Other PSNRs are similar

Benefits of Selective Reliability (2) - Acceptable PSNR 25 - Loss 3%

Buffering Requirements Buffer for jitter depends upon variance Buffer for retransmission depends upon RTT Buffer for quality adaptation (media scaling for congestion responsiveness) depends upon data rate (R) (in [19]) –O(R) for SQRT (TFRC) –O(R 2 ) for AIMD (TCP) Dominant factor depends upon RTT to RTT variance ratio and data rate (Me: no more analysis than above)

Benefits Receiver Postprocessing -Postprocessing can also be used with SR (not shown) - (Me: content matters!)

Outline Introduction(done) Model(done) System Architecture(done) Performance Evaluation(done) Related Work(next) Conclusions

Related Work (1) Media Transport –RTSP for control [49] –RTP is application level protocol with real-time data properties (timing info + sequence) [48] –RTCP protocol provides reports to sender [40] –TFRC [52], CM, RAP[44] +All TCP-Friendly protocols for streaming media

Related Work (2) Error and Loss Recovery –Survey of techniques [54] –Receiver post-processing [22] –Avoid propagation but don’t delay [54] –Effects of MPEG-4’s built in repair for bit errors [23] –FEC schemes [9,10,33] –Priority-based packets [1, 39,50]

Conclusion Streaming video must account for loss This paper models loss to explain effects Can use retransmission of important packets for significant gain Describe system to do so based on extensions of common tools

Future Work?

Future Work (Me) Wider-range of videos –Content, looking at variety of motion –Alternate GOPs –Resolution Selective retransmission based on quality measure –Alternate measures of quality Optimal use of FEC Evaluation of buffering