Project Proposal Due Next Mon. Submit by

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.
MMCN 19 Jan 2005 Ooi Wei Tsang Peer-to-Peer Streaming.
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.
Yi Liang Department of Electrical Engineering Stanford University April 19, 2000 Loss Recovery and Adaptive Playout Control for Packet Voice Communications.
A Layered Hybrid ARQ Scheme for Scalable Video Multicast over Wireless Networks Zhengye Liu, Joint work with Zhenyu Wu.
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.
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.
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.
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.
Error control in video Streaming. Introduction Development of different types of n/ws such as internet, wireless and mobile networks has created new applications.
NUS.SOC.CS5248 Ooi Wei Tsang Previously, on CS5248..
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.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) 1 Error Recovery.
Methods of Handling Packet Loss for Multimedia Applications by Hansen Bow.
Page 1 The department of Information & Communications Engineering Dong-uk, kim A Survey of Packet Loss Recovery Techniques for Streaming.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
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.
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.
Fundamentals of Multimedia Chapter 17 Wireless Networks 건국대학교 인터넷미디어공학부 임 창 훈.
NUS.SOC.CS5248 OOI WEI TSANG 1 Previously, on CS5248..
Networked Multimedia Basics. Network Characteristics.
NUS.SOC.CS5248 Ooi Wei Tsang Systems Support for Continuous Media.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
Powerpoint Templates Data Communication Muhammad Waseem Iqbal Lec # 15.
Lecture 4 Error Detecting and Correcting Techniques Dr. Ghalib A. Shah
CMPE 252A: Computer Networks
Media Compression.
Error Recovery.
CS5248: Systems Support for Continuous Media
Proxy Caching for Streaming Media
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)
Video On Demand.
Streaming digital video over wireless link
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, August 2010.
Multimedia networking: outline
Error recovery for Packet Audio and Video
Huahui Wu, Mark Claypool, Robert Kinicki Computer Science,
Transmitting Scalable Video over a DiffServ network
Standards Presentation ECE 8873 – Data Compression and Modeling
Streaming MPEG video over wireless link
Multimedia networking: outline
Unequal Error Protection for Video Transmission over Wireless Channels
Streaming video over wireless link
Feedback-jamming ARQ mechanisms
Project proposal Multi-stream and multi-path audio transmission
Presentation transcript:

Project Proposal Due Next Mon. Submit by Email Reminder Project Proposal Due Next Mon. Submit by Email

Problems with Internet Limited Bandwidth Varying Bandwidth Delay Delay Jitter Packet Loss Heterogeneity : NUS.SOC.CS5248 OOI WEI TSANG

Error Recovery

You Are Here Encoder Decoder Middlebox Sender Receiver Network NUS.SOC.CS5248 OOI WEI TSANG

Overview Characteristics of the Internet General techniques Error recovery for audio Effect of loss on MPEG Error recovery for MPEG NUS.SOC.CS5248 OOI WEI TSANG

Loss Characteristics of The Internet

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

Packet Loss Pattern 1000 30 NUS.SOC.CS5248 OOI WEI TSANG

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

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

A Survey of Packet-Loss Recovery Techniques for Streaming Audio Perkins, Hodson and Hardman IEEE Network Magazine 1998

Retransmission 1 2 3 4 3 1 2 4 3 NUS.SOC.CS5248 OOI WEI TSANG

Redundant Data 1 2 2 3 3 4 4 5 1 2 2 3 3 4 5 NUS.SOC.CS5248 OOI WEI TSANG

Error Concealment 1 2 3 4 1 2 4 NUS.SOC.CS5248 OOI WEI TSANG

Pros and Cons retransmission redundant data error concealment NUS.SOC.CS5248 OOI WEI TSANG

Retransmission for audio

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

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

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

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

Redundant Data for audio

Parity FEC 1011001 1000010 0010010 0001001 XOR NUS.SOC.CS5248 OOI WEI TSANG

Parity FEC 1011001 1000010 0001001 0010010 NUS.SOC.CS5248 OOI WEI TSANG

Parity FEC Ordering NUS.SOC.CS5248 OOI WEI TSANG

Parity FEC Ordering NUS.SOC.CS5248 OOI WEI TSANG

Parity FEC Ordering NUS.SOC.CS5248 OOI WEI TSANG

Parity FEC Ordering NUS.SOC.CS5248 OOI WEI TSANG

Parity FEC Ordering NUS.SOC.CS5248 OOI WEI TSANG

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

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

Media Specific FEC 1 2 2 3 3 4 4 5 1 2 2 3 3 4 5 NUS.SOC.CS5248 OOI WEI TSANG

Interleaving NUS.SOC.CS5248 OOI WEI TSANG

Error Concealment

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

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

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

Colin’s Recommendations

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

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

Error Concealment Repeat NUS.SOC.CS5248 OOI WEI TSANG

Packet Loss Effects on MPEG Video Sent over the Public Internet Jill Boyce and Robert Gaglianello ACM Multimedia 1998

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

NUS.SOC.CS5248 OOI WEI TSANG

Data Gathering Method From: NYC13 , Austin21, London18 To: Holmdel, NJ NUS.SOC.CS5248 OOI WEI TSANG

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

Average Packet Loss NUS.SOC.CS5248 OOI WEI TSANG

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

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

Packet Size Distributions NUS.SOC.CS5248 OOI WEI TSANG

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

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

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

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

Overview of Error Recovery for Video

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

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

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

Error Control Techniques for Interactive Low Bitrate Video Transmission over The Internet Injong Rhee SIGCOMM ‘98

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

MPEG Frame Pattern I B B P B B P I P B B P B B NUS.SOC.CS5248 OOI WEI TSANG

H.261 Error Propagation X X X X X X X X X X I P P P P P P loss I P retransmission NUS.SOC.CS5248 OOI WEI TSANG

H.261 Frame Pattern I P P P P P P X loss NUS.SOC.CS5248 OOI WEI TSANG

H.261 Frame Pattern X X X I P retransmission loss NUS.SOC.CS5248 OOI WEI TSANG

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

QAL I P P P Enhancement Layer I P P P Base Layer NUS.SOC.CS5248 OOI WEI TSANG

QAL X I P P P Enhancement Layer I P P P Base Layer + FEC NUS.SOC.CS5248 OOI WEI TSANG

QAL + PTDD I P P P Enhancement Layer I P P P Base Layer NUS.SOC.CS5248 OOI WEI TSANG

Error Propagation

Recovery from Error Propagation

Packet Loss Recovery for Streaming Video N. Feamster, H. Balakrishnan PV’02

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

Mathematical Model Lets model packet loss effects and see what it can tell us NUS.SOC.CS5248 OOI WEI TSANG

SI : mean num. of packets in I-frames P(I) : prob. frame type is I p : prob. packet loss SI : mean num. of packets in I-frames P(I) : prob. frame type is I P(F): prob. frame is useless NUS.SOC.CS5248 OOI WEI TSANG

SP : mean num. of packets in P-frames Np : number of P-frames in GOP p : prob. packet loss SP : mean num. of packets in P-frames Np : number of P-frames in GOP P(P): prob. frame type is P P(F): prob. frame is useless NUS.SOC.CS5248 OOI WEI TSANG

SB : mean num. of packets in B-frames NB : number of B-frames in GOP p : prob. packet loss SB : mean num. of packets in B-frames NB : number of B-frames in GOP P(B): prob. frame type is B P(F): prob. frame is useless NUS.SOC.CS5248 OOI WEI TSANG

Average Frame Rate NUS.SOC.CS5248 OOI WEI TSANG

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

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

SR-RTP Length ADU Sequence Number ADU Length ADU Offset Priority Length ADU Sequence Number ADU Length ADU Offset Priority Layer Number NUS.SOC.CS5248 OOI WEI TSANG

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

Loss Detection LEN: 50 ADU: 0 ADU Size: 100 ADU Off: 0 LEN: 20 ADU: 0 NUS.SOC.CS5248 OOI WEI TSANG

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

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

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

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

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

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

Today’s Summary

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

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

Demo

Relate to CS5248 Really bursty audio loss Error concealment with noise Really bursty video loss, or long video propagation Need to protect important content (content-based unequal error protection) NUS.SOC.CS5248 OOI WEI TSANG