Title: Error Recovery
1Error Recovery
2Problems with Internet
- Limited Bandwidth
- Varying Conditions
- Delay Jitter
- Packet Loss
- Delay
- Heterogeneity
-
3You Are Here
Encoder
Decoder
Middlebox
Sender
Receiver
Network
4Overview
- Characteristics of the Internet
- General techniques
- Error recovery for audio
- Effect of loss on MPEG
- Error recovery for MPEG
5Loss Characteristics of The Internet
6Characteristics 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
7Packet Loss Pattern
Number of Occurrences
1000
Burst Length
30
8Characteristics of Internet
- Bursts of loss are typically short (2-3
consecutively loss packets) - Long burst do occur
- Burst may occur periodically
9Wireless Link
- Loss rate measured in my office 10 20
- up to 50 reported!
10Gilbert Model
GOOD
BAD
11A Survey of Packet-Loss Recovery Techniques for
Streaming Audio
- Perkins, Hodson and Hardman
- IEEE Network Magazine 1998
12Retransmission
1
2
3
4
3
X
1
2
4
3
13Redundant Data
1
2
3
4
2
3
4
5
1
2
4
2
3
5
3
14Error Concealment
1
2
3
4
2
4
1
15Retransmission
16Pros/Cons of Retransmissions
17Scalable Retransmission
- On packet loss
- T random(0, RTT)
- wait for T
- multicast NACK
- On receiving NACK from others
- suppress own NACK
18Retransmit when
- Group size is small
- Loss rate is low
- Large latency acceptable
19Selective Retransmission
- Retransmission based on priority of packets
- Important/urgent packets are retransmitted first
20Redundant Data
21Parity Forward Error Correction
1011001
XOR
1000010
0010010
0001001
22Parity Forward Error Correction
1011001
1000010
0001001
0010010
23Parity FEC Ordering
24Parity FEC Ordering
25Parity FEC Ordering
26Parity FEC Ordering
27Parity FEC Ordering
28Reed-Solomon Code
RS
n
k
29Reed-Solomon Code
30Media Specific FEC
1
2
3
4
2
3
4
5
1
2
4
2
3
5
3
31Pros/Cons of Redundant Data
32Interleaving
33Pros/Cons of Interleaving
34Error Concealment
35Effect of Loss on Audio
- Speech
- Human ears can interpolate
- Loss up to length of phoneme can still be
tolerable
36Insertion-based Repair
- Splice
- Silence Substitution
- Noise Substitution
- Repetition
37Other Repair Methods
- Interpolation
- Regeneration
38Colins Recommendations
39Non-Interactive Apps
- Interleaving
- FEC
- Retransmission for unicast only
40Interactive Applications
41Error Concealment
42Packet Loss Effects on MPEG Video Sent over the
Public Internet
- Jill Boyce and Robert Gaglianello
- ACM Multimedia 1998
43Measurement-based Study
- Need to understand the problem before proposing
solution
44Data Gathering Method
- From NYC13 , Austin21, London18
- To Holmdel, NJ
45Data Gathering Method
- Video
- Two 5-mins MPEG
- 30 fps
- 384 kbps and 1 Mbps
- IBBPBBPBBPBBPBB
- QSIF 176x112 and SIF 352x240
- One row per slice
46Average Packet Loss
47Frame Effected by Errors
Frames in Error
Packet Loss Rate
48Overview of Error Recovery for Video
49Methods
- Retransmission
- Interleaving
- Error Concealment
- FEC
- Limiting Error Propagation
- Reference Frame Selection
50Reference Frame Selection
I P B B P
I
X
51Methods
- Retransmission
- Interleaving
- Error Concealment
- FEC
- Limiting Error Propagation
- Reference Frame Selection
- Changing Temporal Pattern
52Error Control Techniques for Interactive Low
Bitrate Video Transmission over The Internet
53Basic Idea
- Better Late Than Never!, or
- Late packet is still useful
54MPEG Frame Pattern
I
B
B
P
B
B
P
I
P
B
B
P
B
B
55H.261 Error Propagation
I
P
P
P
P
P
P
X
X
X
X
X
X
loss
X
X
X
X
retransmission
56H.261 Frame Pattern
I
P
P
P
P
P
P
X
loss
57H.261 Frame Pattern
X
X
X
retransmission
loss
58PTDD
- Periodic Temporal Dependency Distance
- Large PTDD
- Higher Chance of Repair
- Longer Error Propagations
- Less Temporal Redundancy
59QAL
I
P
P
P
Enhancement Layer
I
P
P
P
Base Layer
60QAL
I
P
P
P
X
Enhancement Layer
I
P
P
P
Base Layer FEC
61QAL PTDD
I
P
P
P
Enhancement Layer
I
P
P
P
Base Layer
62Error Propagation
63Recovery from Error Propagation
64Frame quality
65PSNR vs. Loss Rate
PSNR
Packet Loss Rate
66Todays Summary
67How to recover packet loss
- Retransmission
- FEC
- Error Concealment
68Limit the damage of error
- Interleaving
- Key frame selection
- Change reference frame
69Project Stage 2
- Packet Reassembly and MPEG Decoding
70Decoding Pipeline
MntRTPMPEGPacket
MntRTPMPEGPacket
MntRTPFileReader
MntRTPDropper
MntRTPMPEGReassembler
MntMPEGRTPReassemblerBuffer
MntPPMWriter
MntYUVFrame
MntRTPMPEGFrameDecoder
MntPSNRCalculator
MntYUVFrame