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.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

NUS.SOC.CS5248 Ooi Wei Tsang 1 Adaptive Playout. NUS.SOC.CS5248 Ooi Wei Tsang 2 You are Here Network Encoder Sender Middlebox Receiver Decoder.
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) MPEG + RTP.
An Improved UDP Protocol for Video Transmission Over Internet-to-wireless Networks Haitao Zheng, Jill Boyce IEEE Transaction on Multimedia, VOL.3, NO.3,
CSE 461: Error Detection and Correction. Next Topic  Error detection and correction  Focus: How do we detect and correct messages that are garbled during.
L-21 Multicast. L -15; © Srinivasan Seshan, Overview What/Why Multicast IP Multicast Service Basics Multicast Routing Basics DVMRP Overlay.
A Survey of Packet-Loss Recovery Techniques Colin Perkins, Orion Hodson and Vicky Hardman Department of Computer Science University College London (UCL)
1 NUS.SOC.CS5248 OOI WEI TSANG Playout Buffer Management.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Adaptive Playout.
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.
CMPT-884 Jan 18, 2010 Error Concealment Presented by: Cameron Harvey CMPT 820 October
Packet Loss Recovery for Streaming Video N. Feamster and H. Balakrishnan Massachusetts Institute of Technology In Workshop on Packet Video (PV) Pittsburg,
CS525z Multimedia Networking Review. Analog to Digital What is the relationship between –Fidelity and Sample Size –Fidelity and Sample Rate.
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.
EE 122: Error detection and reliable transmission Ion Stoica September 16, 2002.
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
Video Streaming: An FEC-Based Novel Approach Jianfei Cai, Chang Wen Chen Electrical and Computer Engineering, Canadian Conference on.
A Survey of Packet-Loss Recovery Techniques Colin Perkins, Orion Hodson and Vicky Hardman Department of Computer Science University College London (UCL)
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.
A Survey of Packet Loss Recovery Techniques for Streaming Audio Colin Perkins, Orion Hodson, and Vicky Hardman University College London IEEE Network.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Using Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Mark Claypool and Yali Zhu Computer Science Department Worcester Polytechnic.
SHEAU-RU TONG Management Information System Dept., National Pingtung University of Science and Technology, Taiwan (R.O.C.) YUAN-TSE.
Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October 2010 October 2010 Ref: Computer Networking:
1 Cache Me If You Can. NUS.SOC.CS5248 OOI WEI TSANG 2 You Are Here Network Encoder Sender Middlebox Receiver Decoder.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
Improving QoS Support in Mobile Ad Hoc Networks Agenda Motivations Proposed Framework Packet-level FEC Multipath Routing Simulation Results Conclusions.
Error control in video Streaming. Introduction Development of different types of n/ws such as internet, wireless and mobile networks has created new applications.
TOBB ETÜ ELE46/ELE563 Communications Networks Lecture 01 May 6, 2014 Fall 2011 Tuesday 10:30 – 12:20 (310) Thursday 15:30 – 17:20 (372) İsrafil Bahçeci.
NUS.SOC.CS5248 Ooi Wei Tsang Previously, on CS5248..
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Media Compression.
Multicast and Unicast Real-Time Video Streaming Over Wireless LANS April. 27 th, 2005 Presented by, Kang Eui Lee.
Experiences with Multimedia Streaming over 2.5G and 3G Networks J. Chesterfield, R. Chakravorty, J. Crowcroft, P. Rodriguez, S. Banerjee Presented by Denny.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Error Recovery.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Error Recovery.
報告人:林祐沁 學生 指導教授:童曉儒 老師 March 2, Wireless Video Surveillance Server Based on CDMA1x and H.264.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) 1 Error Recovery.
NUS.SOC.CS5248 Ooi Wei Tsang Systems Support for Continuous Media OOI WEI TSANG.
Selective Retransmission of MPEG Video Streams over IP Networks Árpád Huszák, Sándor Imre Budapest University of Technology and Economics Department of.
Methods of Handling Packet Loss for Multimedia Applications by Hansen Bow.
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
Page 1 The department of Information & Communications Engineering Dong-uk, kim A Survey of Packet Loss Recovery Techniques for Streaming.
Proxy-Based Reference Picture Selection for Error Resilient Conversational Video in Mobile Networks Wei Tu and Eckehard Steinbach, IEEE Transactions on.
NUS.SOC.CS5248 Ooi Wei Tsang Rate Adaptations. NUS.SOC.CS5248 Ooi Wei Tsang You are Here Network Encoder Sender Middlebox Receiver Decoder.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Proxy Caching for Streaming Media.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
3GPP2 Evolution Workshop Multimedia Codecs and Protocols 3GPP2 TSG-C SWG1.2.
L Subramanian*, I Stoica*, H Balakrishnan +, R Katz* *UC Berkeley, MIT + USENIX NSDI’04, 2004 Presented by Alok Rakkhit, Ionut Trestian.
Fundamentals of Multimedia Chapter 17 Wireless Networks 건국대학교 인터넷미디어공학부 임 창 훈.
OverQos: An Overlay based Architecture for Enhancing Internet Qos L Subramanian*, I Stoica*, H Balakrishnan +, R Katz* *UC Berkeley, MIT + USENIX NSDI’04,
NUS.SOC.CS5248 OOI WEI TSANG 1 Previously, on CS5248..
Networked Multimedia Basics. Network Characteristics.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
Media Compression.
Error Recovery.
Project Proposal Due Next Mon. Submit by
Error Recovery.
Error Recovery Supplemental Slides.
Rate Adaptations.
MPEG + RTP.
Injong Rhee ICMCS’98 Presented by Wenyu Ren
Adaptive Playout.
Video Multicast over the Internet (IEEE Network, March/April 1999)
Error recovery for Packet Audio and Video
Research Topic Error Concealment Techniques in H.264/AVC for Wireless Video Transmission Vineeth Shetty Kolkeri EE Graduate,UTA.
Feedback-jamming ARQ mechanisms
Project proposal Multi-stream and multi-path audio transmission
Presentation transcript:

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 of loss on MPEG Error recovery for MPEG

3 Loss Characteristics of The Internet

NUS.SOC.CS5248 OOI WEI TSANG 4 Characteristics of Internet 60-70% of paths do not show any loss Those with loss have an average of 4.5 – 6% packet loss [Paxson97] End-to-end Internet packet dynamics

NUS.SOC.CS5248 OOI WEI TSANG 5 Packet Loss Pattern

NUS.SOC.CS5248 OOI WEI TSANG 6 Characteristic of Internet Bursts of loss are typically short (2-3 consecutively loss packets) Long burst do occur Burst may occur periodically

NUS.SOC.CS5248 OOI WEI TSANG 7 Wireless Link Loss rate measured in my office 10 ~ 20% up to 50% reported!

8 General Error Recovery Techniques Perkins, Hodson and Hardman IEEE Network Magazine 1998

NUS.SOC.CS5248 OOI WEI TSANG 9 Retransmission

NUS.SOC.CS5248 OOI WEI TSANG 10 Redundant Data

NUS.SOC.CS5248 OOI WEI TSANG Error Concealment

12 Retransmission for audio

NUS.SOC.CS5248 OOI WEI TSANG 13 Retransmission is Bad Need scalable feedback NACK consumes bandwidth May need to retransmit frequently Retransmission maybe useless

NUS.SOC.CS5248 OOI WEI TSANG 14 Retransmission is Good Only retransmit when needed Exact recovery

NUS.SOC.CS5248 OOI WEI TSANG 15 Scalable Retransmission On packet loss T = random(0, RTT) wait for T multicast NACK On receiving NACK from others suppress own NACK

NUS.SOC.CS5248 OOI WEI TSANG 16 Retransmit when group size is small loss rate is low large latency acceptable

17 Redundant Data for audio

NUS.SOC.CS5248 OOI WEI TSANG 18 Parity FEC XOR

NUS.SOC.CS5248 OOI WEI TSANG 19 Parity FEC

NUS.SOC.CS5248 OOI WEI TSANG 20 Parity FEC Ordering

NUS.SOC.CS5248 OOI WEI TSANG 21 Parity FEC Ordering

NUS.SOC.CS5248 OOI WEI TSANG 22 Parity FEC Ordering

NUS.SOC.CS5248 OOI WEI TSANG 23 Parity FEC Ordering

NUS.SOC.CS5248 OOI WEI TSANG 24 Parity FEC Ordering

NUS.SOC.CS5248 OOI WEI TSANG 25 Reed-Solomon Code RS(n,k) RS

NUS.SOC.CS5248 OOI WEI TSANG 26 Reed-Solomon Code

NUS.SOC.CS5248 OOI WEI TSANG 27 Media Specific FEC

NUS.SOC.CS5248 OOI WEI TSANG 28 Interleaving

NUS.SOC.CS5248 OOI WEI TSANG 29 Pro and Cons Media Independent FEC Overhead for redundant data Exact recovery Could be computationally costly Media Specific FEC Approximate recovery only

30 Error Concealment

NUS.SOC.CS5248 OOI WEI TSANG 31 Effect of Loss on Audio Speech Human ears can interpolate Loss up to length of phoneme can still be tolerable

NUS.SOC.CS5248 OOI WEI TSANG 32 Insertion-based Repair Splice Silence Substitution Noise Substitution Repetition

NUS.SOC.CS5248 OOI WEI TSANG 33 Other Repair Methods Interpolation Regeneration

NUS.SOC.CS5248 OOI WEI TSANG 34 Pro and Cons Could be computationally costly Approximate recovery only Does not work well for long burst of packet loss

35 Colin’s Recommendations

NUS.SOC.CS5248 OOI WEI TSANG 36 Non-Interactive Apps Interleaving FEC Retransmission for unicast only

NUS.SOC.CS5248 OOI WEI TSANG 37 Interactive Applications Media Specific FEC

NUS.SOC.CS5248 OOI WEI TSANG 38 Error Concealment Repeat

39 Effects of Packet Loss on MPEG Jill Boyce and Robert Gaglianello ACM Multimedia 1998

NUS.SOC.CS5248 OOI WEI TSANG 40 Measurement-based Study Need to understand the problem before proposing solution

NUS.SOC.CS5248 OOI WEI TSANG 41 Data Gathering Method From: NYC 13, Austin 21, London 18 To: Holmdel, NJ

NUS.SOC.CS5248 OOI WEI TSANG 42 Data Gathering Method Video: Two 5-mins MPEG 30 fps 384 kbps and 1 Mbps IBBPBBPBBPBBPBB QSIF 176x112 and SIF 352x240 One row per slice

NUS.SOC.CS5248 OOI WEI TSANG 43 Average Packet Loss

NUS.SOC.CS5248 OOI WEI TSANG 44 Packet Loss vs Time

NUS.SOC.CS5248 OOI WEI TSANG 45 How to Fill Packets B 1 frame 1 packet P 1 slice 1 packet I 1 slice 1 packet

NUS.SOC.CS5248 OOI WEI TSANG 46 Packet Size Distributions

NUS.SOC.CS5248 OOI WEI TSANG 47 Packet Size vs Loss Rate

NUS.SOC.CS5248 OOI WEI TSANG 48 Lesson 1 slice per packet even if larger than MTU If smaller packets means higher loss rate: fill packet until MTU Else one slice per MTU Alt: Change size of slice

NUS.SOC.CS5248 OOI WEI TSANG 49 Frame Effected by Errors

NUS.SOC.CS5248 OOI WEI TSANG 50 Correlation of Packet Loss

51 Overview of Error Recovery for Video

NUS.SOC.CS5248 OOI WEI TSANG 52 Methods Retransmission Error Concealment FEC Limiting Error Propagation Reference Frame Selection

NUS.SOC.CS5248 OOI WEI TSANG 53 Reference Frame Selection I P B B P X I

NUS.SOC.CS5248 OOI WEI TSANG 54 Methods Retransmission Error Concealment FEC Limiting Error Propagation Reference Frame Selection Changing Temporal Pattern

55 Changing Temporal Patterns Injong Rhee SIGCOMM ‘98

NUS.SOC.CS5248 OOI WEI TSANG 56 Basic Idea “Better Late Than Never!”, or Late packet is still useful

NUS.SOC.CS5248 OOI WEI TSANG 57 MPEG Frame Pattern IBBPBBP IPBBPBB

NUS.SOC.CS5248 OOI WEI TSANG 58 H.261 Error Propagation IPPPPPP XXXXXX IPPPPPP XXXX retransmission loss

NUS.SOC.CS5248 OOI WEI TSANG 59 H.261 Frame Pattern IPPPPPP X loss

NUS.SOC.CS5248 OOI WEI TSANG 60 IPPPPPP H.261 Frame Pattern X loss X X retransmission

NUS.SOC.CS5248 OOI WEI TSANG 61 PTDD Periodic Temporal Dependency Distance Large PTDD Later Deadlines Longer Error Propagations Less Temporal Dependencies

NUS.SOC.CS5248 OOI WEI TSANG 62 QAL IPPP IPPP Base Layer Enhancement Layer

NUS.SOC.CS5248 OOI WEI TSANG 63 QAL IPPP IPPP Base Layer + FEC Enhancement Layer X

NUS.SOC.CS5248 OOI WEI TSANG 64 QAL + PTDD IPPP IPPP Base Layer Enhancement Layer

65 SR-RTP Feamster and Balakrishnan PV’02

NUS.SOC.CS5248 OOI WEI TSANG 66 Overview An analytical model for packet loss SR-RTP Post Processing

NUS.SOC.CS5248 OOI WEI TSANG 67 Analytic Model p: prob. packet loss f : observed frame rate : frame drop rate S i : mean num. of packets in frames of type i P(i) : prob. frame type is i P(F) : prob. frame is useless

NUS.SOC.CS5248 OOI WEI TSANG 68 p: prob. packet loss f : observed frame rate : frame drop rate S i : mean num. of packets in frames of type i P(i) : prob. frame type is i P(F) : prob. frame is useless

NUS.SOC.CS5248 OOI WEI TSANG 69 Is it accurate?

NUS.SOC.CS5248 OOI WEI TSANG 70 SR-RTP Extensions to RTP for selective reliability

NUS.SOC.CS5248 OOI WEI TSANG 71 SR-RTP 0Length ADU Sequence Number ADU Length ADU Offset PriorityLayer Number

NUS.SOC.CS5248 OOI WEI TSANG 72 Feamster & Balakrishnan’s ADU 1 ADU = 1 Frame

NUS.SOC.CS5248 OOI WEI TSANG 73 Loss Detection LEN: 50 ADU: 0 ADU Size: 100 ADU Off: 0 LEN: 20 ADU: 0 ADU Size: 100 ADU Off: 80 LEN: 50 ADU: 1 ADU Size: 150 ADU Off: 40 LEN: 50 ADU: 3 ADU Size: 50 ADU Off: 0

NUS.SOC.CS5248 OOI WEI TSANG 74 Retransmission Request Based on priority Example: I-Frame: highest priority P-Frame: higher priority if closer to prev I B-Frame: no retransmition

NUS.SOC.CS5248 OOI WEI TSANG 75 Error Concealment for Video Repeat pixels from previous frame Interpolate pixels from neighbouring region Interpolate motion vectors from previous frame

NUS.SOC.CS5248 OOI WEI TSANG 76 Inferred MV for P Frame IP

NUS.SOC.CS5248 OOI WEI TSANG 77 Inferred MV for I Frame PPI

NUS.SOC.CS5248 OOI WEI TSANG 78 Evaluation Peak Signal to Noise Ratio (PSNR) over average square of differences in pixel values Calculated in dB (10 log 10 )

NUS.SOC.CS5248 OOI WEI TSANG 79 Performance of SR-RTP

80 Today’s Summary

NUS.SOC.CS5248 OOI WEI TSANG 81 How to recover packet loss Retransmission FEC Error Concealment

NUS.SOC.CS5248 OOI WEI TSANG 82 How to limit the damage of error Interleaving Key frame selection Change reference frame