450 likes | 759 Views
Error-Resilient Coding and Decoding Strategies for Video Communication. Thomas Stockhammer and Waqar Zia Presented by Li Ma. Background & Motivation. Video becoming more popular Advances in bandwidth, capacity enhancements Requirements: data transmission rate
E N D
Error-Resilient Coding and Decoding Strategies for Video Communication Thomas Stockhammer and Waqar Zia Presented by Li Ma
Background & Motivation • Video becoming more popular • Advances in bandwidth, capacity enhancements • Requirements: • data transmission rate • Real-time delivery of multimedia data • Limitation: • QoS available is not sufficient to guarantee error-free delivery for all receivers • Motivation: • Provide means of dealing with various transmission impairments
Content • Focus on MCP-coded video • Concentrate on tools and features integrated in standard H.264/AVC • Focus on specific tools for improved error resilience • Other advanced error-resilience features not covered: • Multiple description coding • Distributed video coding • Combinations with network prioritization and FEC
Outline • Video Communication Systems • Error-Resilient Video Transmission • Resynchronization and Error Concealment • Error Mitigation • Summary
Video Communication Systems • End-to-End Video Transmission
Video Applications • wide variety of applications • Different bit rate ranges: • HDTV: 20 Mbit/s • MMS on cell: 20 Kbit/s • Different tolerable end-to-end delay • Conversational applications constraints: ≤ 200-250 ms
Transmission Impairments • Differences of errors • Wireless networks: • Fading and interference cause burst errors: multiple lost bits • IP network: • Congestion results in packets lost • Methods • Detect presence of errors • Intermediate protocol layers (UDP) could drop erroneous pkts • Video data pkts treated as lost if delayed more than threshold
Data Losses in MCP-Coded Video • Transmitted over error-prone channels • Error concealment • Error propagation / Spatiotemporal error propagation
Example of Error Propagation • Pt @ t=0 is lost. • Error propagation till t=8 • Intra-coded image transmitted @ t=9
Therefore, when data units might get lost, a video coding system should provide: • Means that allow completely avoiding transmission errors • Features that allow minimizing the visual effects of errors • Features to limit spatial and spatiotemporal error propagation
Outline • Video Communication Systems • Error-Resilient Video Transmission • Resynchronization and Error Concealment • Error Mitigation • Summary
Error-resilient Video Transmission • System Overview
Features • @Sender • MBs are grouped in data units and entropy coding used • Error Control before transmission over lossy channel • Forward Error Correction(FEC) • Backward Error Correction (BEC) • Prioritization Methods • Combinations of above • @Receiver • Erroneous and missing data detected and localized • Decoder gets correct data units or error indication • Error concealment applied at positions where no data received • Report loss of data units to encoder
Design Principles • error-resilience tools decrease compression efficiency • Main goal: • Shannon’s separation principle: compression separated with transport • In low delay situations, error-free transport is impossible • System Design Principles • 1. Loss correction below codec layer • 2. Error detection • 3. Prioritization methods • 4. Error recovery and concealment • 5. Encoder-decoder mismatch avoidance
Video Compression Tools Related to Error Resilience • Slice Structured Coding • Flexible MB Ordering • Scalable Coding • Data Partitioning • Flexible Reference Frame • Intra Information Coding • Pictures Switching
Slice Structured Coding • Slices provide spatially distinct resynchronization points within the data for a single frame • Several MBs grouped together: a slice header • Variable sized data units • Encoder can select the location of sync. Points • Motion vector prediction not allowed over boundaries • Encoder decides either: • Allocate fixed number of MB to one slice • Or fixed bits to one slice (matched to pkt size in network)
Flexible MB Ordering • Flexible Macroblock Ordering (FMO) • Allows mapping of MBs to Slice groups • A slice group may contain several slices • MBs can be transmitted in flexible and efficient way • Spatially collocated images areas can be interleaved in different slices greater probability of concealing lost MB • Protection: Can map ROI (region of interest) into a separated slice group
Data Partitioning • Loss of some syntax elements of a bit stream results in larger degradation of quality compared to others • E.g. Loss of motion vector • Data partitioning results in Graceful Degradation • Categorize syntax elements • Header information • Motion information • Texture information
Layout of compressed data Without Data Partitioning: With Data Partitioning: 2 additional sync. Points available
Data Partitioning (Cont.) • Unequal Error Protection (UEP) • Protect partitions of different importance • More important data offered more protection
Flexible Reference Frame • H.263 v.1 & MPEG-2 allow only a single reference frame for predicting P frame and mostly 2 for B frame. • Possible to have significant statistical dependencies between other pictures too • Use more frames than just the recent one as reference • Advantages: • Increased compression efficiency • Improved error resilience
Example of Flexible Reference Frame • Enable Subsequences • Use a subsequence of “anchor frames” at lower frame rate • E.g “ P ” • Other frames inserted in between to achieve overall frame rate • E.g “ P’ ” • Error propagation: • Only till next P received
Outline • Video Communication Systems • Error-Resilient Video Transmission • Resynchronization and Error Concealment • Error Mitigation • Summary
Resynchronization and Error Concealment • Video Packetization Modes • Without FMO(flexible macroblock ordering) • 1. a constant number of MBs within one slice (arbitrary size) • 2. the slice size bounded to some max bytes (arbitrary # of MBs)
Video Packetization Modes (Cont.) • With FMO (more flexible) • Slice interleaving • Dispersed MB allocation using checkerboard patterns • Subpictures within a picture • etc.
Error Concealment • Basic Idea • Decoder should generate a representation for lost area • Match as close as possible to the lost info • Within manageable complexity • Techniques • Spatial Error Concealment • Temporal Error Concealment • Hybrid Concealment • Other Techniques
Spatial Error Concealment • Based on assumption of continuity of natural scene content in space • Use pixel values of surrounding available MBs • Estimate of lost pixel: • αβγ are weighing factors • Determine relative impact of vertical, Horizontal, upper, lower… • Disadvantage • Blurred reconstruction
Temporal Error Concealment • Rely on the continuity of a video sequence in time • Use temporally neighboring areas to conceal lost regions • Previous Frame Concealment (PFC) • Use previous corresponding data to copy to current frame • Only good when little motion • Widely used due to simplicity
Hybrid Concealment • When only apply spatial concealment • Concealed regions are significantly blurred • When only use temporal error concealment • Significantly discontinuities in the concealed regions • Hybrid temporal-spatial technique applied • MB mode info of reliable and concealed neighbors decide which concealment method to use
Hybrid (cont.) • For intra-coded images • Only use spatial concealment • For inter-coded images • Use temporal concealment when more than half of the available neighbor MBs are inter-coded • Otherwise, use spatial concealment • Referred to as Adaptive temporal and spatial Error Concealment (AEC)
Selected Results • Performance of different error concealment strategies
Selected Performance Results for Wireless • Low-delay and low-complexity requirements • Max allowed buffering at encoder limited to 250ms
Using a smaller slice size of 150 bytes is lower in PSNR when error free • Because: • increased packetization overhead • prediction limitations on slice boundaries • Performs good when in lossy channel • Because the loss affects only a small area of the image for fixed slice size
Outline • Video Communication Systems • Error-Resilient Video Transmission • Resynchronization and Error Concealment • Error Mitigation • Summary
Motivation • Error propagation is major problem over lossy channels • Encoder can change encoding behavior when he finds it’s likely to be lossy or knows decoder suffering losses
Operational Encoder Control • Encoder appropriately select parameters • Motion vectors • MB modes • Quantization parameters • Reference frames • Spatial and temporal resolution
Conclusion • Bad decisions at the encoder can lead to • Poor results in coding efficiency • Poor in error resilience • Or both • If no feedback is available • an increased percentage of intra MBs performs best • If feedback available • Interactive Error Control is best
Outline • Video Communication Systems • Error-Resilient Video Transmission • Resynchronization and Error Concealment • Error Mitigation • Summary
Summary • Important to understand video can benefit significantly when data delivered reliably • Introduced error-resilience tools and impact • For good overall performance, should take into account: • the selection of error-resilience tools • rate-distortion-optimized mode selection • the channel characteristics