ECE 634: Digital Video Systems Scalable coding: 3/23/17

Similar documents
In the name of Allah. the compassionate, the merciful

Scalable Extension of HEVC 한종기

Video Transcoding Architectures and Techniques: An Overview. IEEE Signal Processing Magazine March 2003 Present by Chen-hsiu Huang

The Scope of Picture and Video Coding Standardization

System Modeling and Implementation of MPEG-4. Encoder under Fine-Granular-Scalability Framework

STACK ROBUST FINE GRANULARITY SCALABLE VIDEO CODING

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

MPEG-2. And Scalability Support. Nimrod Peleg Update: July.2004

Coding for the Network: Scalable and Multiple description coding Marco Cagnazzo

Advanced Video Coding: The new H.264 video compression standard

Department of Electrical Engineering, IIT Bombay.

Low-complexity video compression based on 3-D DWT and fast entropy coding

Adaptation of Scalable Video Coding to Packet Loss and its Performance Analysis

Video Coding Standards. Yao Wang Polytechnic University, Brooklyn, NY11201 http: //eeweb.poly.edu/~yao

Video Coding Standards

Standard Codecs. Image compression to advanced video coding. Mohammed Ghanbari. 3rd Edition. The Institution of Engineering and Technology

Optimum Quantization Parameters for Mode Decision in Scalable Extension of H.264/AVC Video Codec

Motion Estimation. Original. enhancement layers. Motion Compensation. Baselayer. Scan-Specific Entropy Coding. Prediction Error.

VIDEO COMPRESSION STANDARDS

System Modeling and Implementation of MPEG-4. Encoder under Fine-Granular-Scalability Framework

Video Compression Standards (II) A/Prof. Jian Zhang

THE H.264 ADVANCED VIDEO COMPRESSION STANDARD

Lecture 5: Video Compression Standards (Part2) Tutorial 3 : Introduction to Histogram

Scalable Video Coding

Unit-level Optimization for SVC Extractor

Smoooth Streaming over wireless Networks Sreya Chakraborty Final Report EE-5359 under the guidance of Dr. K.R.Rao

Lecture 5: Error Resilience & Scalability

Compressed-Domain Video Processing and Transcoding

CONTENT ADAPTIVE COMPLEXITY REDUCTION SCHEME FOR QUALITY/FIDELITY SCALABLE HEVC

Scalable Video Coding in H.264/AVC

JPEG 2000 vs. JPEG in MPEG Encoding

Performance Comparison between DWT-based and DCT-based Encoders

Review and Implementation of DWT based Scalable Video Coding with Scalable Motion Coding.

EE 5359 H.264 to VC 1 Transcoding

MPEG-4: Simple Profile (SP)

Scalable Video Coding

Upcoming Video Standards. Madhukar Budagavi, Ph.D. DSPS R&D Center, Dallas Texas Instruments Inc.

A Hybrid Temporal-SNR Fine-Granular Scalability for Internet Video

EE Low Complexity H.264 encoder for mobile applications

Chapter 11.3 MPEG-2. MPEG-2: For higher quality video at a bit-rate of more than 4 Mbps Defined seven profiles aimed at different applications:

MCTF and Scalability Extension of H.264/AVC and its Application to Video Transmission, Storage, and Surveillance

Cross Layer Protocol Design

H.264/AVC und MPEG-4 SVC - die nächsten Generationen der Videokompression

Week 14. Video Compression. Ref: Fundamentals of Multimedia

Homogeneous Transcoding of HEVC for bit rate reduction

Error Control Techniques for Interactive Low-bit Rate Video Transmission over the Internet.

Energy-Aware MPEG-4 4 FGS Streaming

SNR Scalable Transcoding for Video over Wireless Channels

Block-Matching based image compression

SMART: An Efficient, Scalable and Robust Streaming Video System

INTERNATIONAL ORGANISATION FOR STANDARDISATION ORGANISATION INTERNATIONALE DE NORMALISATION ISO/IEC JTC1/SC29/WG11 CODING OF MOVING PICTURES AND AUDIO

BANDWIDTH-EFFICIENT ENCODER FRAMEWORK FOR H.264/AVC SCALABLE EXTENSION. Yi-Hau Chen, Tzu-Der Chuang, Yu-Jen Chen, and Liang-Gee Chen

EE Multimedia Signal Processing. Scope & Features. Scope & Features. Multimedia Signal Compression VI (MPEG-4, 7)

5LSE0 - Mod 10 Part 1. MPEG Motion Compensation and Video Coding. MPEG Video / Temporal Prediction (1)

ADVANCES IN VIDEO COMPRESSION

A COST-EFFICIENT RESIDUAL PREDICTION VLSI ARCHITECTURE FOR H.264/AVC SCALABLE EXTENSION

Multiple Description Coding for Video Using Motion Compensated Prediction *

Testing HEVC model HM on objective and subjective way

Digital Video Processing

Laboratoire d'informatique, de Robotique et de Microélectronique de Montpellier Montpellier Cedex 5 France

IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 19, NO. 9, SEPTEMBER

SIGNAL COMPRESSION. 9. Lossy image compression: SPIHT and S+P

Image and Video Watermarking

A COMPARISON OF CABAC THROUGHPUT FOR HEVC/H.265 VS. AVC/H.264. Massachusetts Institute of Technology Texas Instruments

FAST SPATIAL LAYER MODE DECISION BASED ON TEMPORAL LEVELS IN H.264/AVC SCALABLE EXTENSION

Introduction to Video Encoding

Scalable Video Coding: A Technical Report

Scalable video coding with robust mode selection

Zonal MPEG-2. Cheng-Hsiung Hsieh *, Chen-Wei Fu and Wei-Lung Hung

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Professor, CSE Department, Nirma University, Ahmedabad, India

For layered video encoding, video sequence is encoded into a base layer bitstream and one (or more) enhancement layer bit-stream(s).

Recommended Readings

Recent, Current and Future Developments in Video Coding

MPEG-2. ISO/IEC (or ITU-T H.262)

10.2 Video Compression with Motion Compensation 10.4 H H.263

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 10 ZHU Yongxin, Winson

CMPT 365 Multimedia Systems. Media Compression - Video Coding Standards

Module 6 STILL IMAGE COMPRESSION STANDARDS

Complexity Estimation of the H.264 Coded Video Bitstreams

(Invited Paper) /$ IEEE

Introduction to Video Coding

A VIDEO TRANSCODING USING SPATIAL RESOLUTION FILTER INTRA FRAME METHOD IN MULTIMEDIA NETWORKS

Video Coding Standards: H.261, H.263 and H.26L

Advances of MPEG Scalable Video Coding Standard

COMPRESSED DOMAIN SPATIAL SCALING OF MPEG VIDEO BIT- STREAMS WITH COMPARATIVE EVALUATION

FPGA IMPLEMENTATION OF BIT PLANE ENTROPY ENCODER FOR 3 D DWT BASED VIDEO COMPRESSION

New Techniques for Improved Video Coding

4G WIRELESS VIDEO COMMUNICATIONS

Reduced Frame Quantization in Video Coding

WITH the growth of the transmission of multimedia content

A comparison of CABAC throughput for HEVC/H.265 VS. AVC/H.264

STUDY AND IMPLEMENTATION OF VIDEO COMPRESSION STANDARDS (H.264/AVC, DIRAC)

Video Codecs. National Chiao Tung University Chun-Jen Tsai 1/5/2015

Chapter 10. Basic Video Compression Techniques Introduction to Video Compression 10.2 Video Compression with Motion Compensation

Georgios Tziritas Computer Science Department

PREFACE...XIII ACKNOWLEDGEMENTS...XV

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

REGION-BASED SPIHT CODING AND MULTIRESOLUTION DECODING OF IMAGE SEQUENCES

Transcription:

ECE 634: Digital Video Systems Scalable coding: 3/23/17 Professor Amy Reibman MSEE 356 reibman@purdue.edu hip://engineering.purdue.edu/~reibman/ece634/index.html

Scalability Outline IntroducNon: Heterogeneous clients Simulcast Transcoding Scalability DefiniNon of scalability Four (or more) types of scalability EvoluNon of the standards Scalable video coding 2

Heterogeneity Many heterogeneous clients Different bandwidth requirements Different decoding complexity and power constraints Different screen sizes Heterogeneous networks Different rates on different networks Mobile phone Corporate LAN Dynamically varying rates CongesNon in the network Distance to base stanon ARReibman, 2011 Scalable video coding 3

Simulcast and Transcoding Simulcast Compress video once for each client capability To support a range of possible clients requires bandwidth for storage/transmission at each possible rate Transcoding Compress video once; reduce bit- rate based on client capability Simplest scenario: decode and re- encode Also possible to reduce complexity by careful design; however, it almost always involves more than VLC To support a range of possible clients requires transcoding to each possible rate ARReibman, 2011 Scalable video coding 4

Scalable Video Coding DefiniNon Ability to recover acceptable image/video by decoding only parts of the bitstream Ideal goal is an embedded bitstream Truncate at any arbitrary rate PracNcal video coder Layered coder: base layer provides basic quality, successive layers refine the quality incrementally Fine granularity (FGS) To be useful, a scalable solunon needs to be more efficient than Simulcast or Transcoding Scalable video coding 5

FuncNonality provided by Scalability Graceful degradanon if the less important parts of the bitstream are not decoded (lost, discarded) Bit- rate adaptanon to match the channel throughput Format adaptanon for backwards companble extensions Power adaptanon for a trade- off between decoding Nme and quality Avoiding loss of important units due to congesnon Overall error robustness ARReibman, 2011 Scalable video coding 6

ConsideraNons for scalability Compression efficiency Decoder complexity Resilience to losses Flexible parnnoning for rate adaptanon Range of rate parnnoning (rano of base rate to total rate) Number of parnnons (finely granular, or a few discrete levels) CompaNbility with standards Ease of priorinzanon PredicNon structure and method of parnnoning controls most of these! ARReibman, 2011 Scalable video coding 7

Scalability parnnoning methods Temporal scalability (frame rate) SpaNal scalability (picture size) Fidelity/SNR/Amplitude/Quality scalability Frequency scalability (transform coefficients) Object- based or ROI scalability (content) ARReibman, 2011 Scalable video coding 8

IllustraNon of Scalable Coding Spatial scalability 6.5 kbps 133.9 kbps 21.6 kbps 436.3 kbps Quality (SNR) scalability Yao Wang, 2006 Scalable video coding 9

MPEG- 1,2,4, H.263 Temporal Scalability Both layers Base layer ARReibman, 2011 Scalable video coding 10

H.264: Temporal Scalability with Hierarchical predicnon ARReibman, 2011 Scalable video coding 11

Temporal Scalability with Hierarchical B pictures ARReibman, 2011 Scalable video coding 12

Temporal Scalability with Hierarchical predicnon and Zero delay ARReibman, 2011 Scalable video coding 13

Comments about Temporal Scalability MPEG- 1, MPEG- 2, MPEG- 4, and H.263+ all had capability for Temporal scalability through B- frames These all require added delay at encoder/decoder H.264 added flexible temporal predicnon, enabling more flexible temporal scalability This can be implemented with or without added delay ARReibman, 2011 Scalable video coding 14

Efficiency H.264 Temporal Scalability ARReibman, 2011 Scalable video coding 15

SpaNal Scalability Both layers Base layer ARReibman, 2011 Scalable video coding 16

SpaNal Scalability Through Down/Up Sampling ME Yao Wang, 2006 Scalable video coding 17

SNR Scalability SNR (or quality, or fidelity, or amplitude) scalability is just spanal scalability where each layer has the same spanal resolunon Quality in each layer differs because of the quannzanon level Only the base layer can do intra- coding Enhancement layer(s) code the residual (between original and lower layer) ARReibman, 2011 Scalable video coding 18

Quality (SNR) Scalability By MulNstage Stage QuanNzaNon (just one approach) Larger Q Prediction error Encoder Smaller Q Decoder Yao Wang, 2006 Scalable video coding 19

MulN- Stage QuanNzaNon 0 Scalable video coding 20

Bitplane coding Special case of mulnstage quannzanon, where successive step sizes differ by a factor of 2 Scalable video coding 21

PredicNon structures for scalability (1 and 2) Enhancement layer is predicted only from same frame in base layer MPEG-2 Spatial Scalability (1) MPEG-4 FGS VERY INEFFICIENT!! No drift in base layer Enhancement layer is used to predict base layer MPEG-2 SNR scalability Errors propagate into base layer Efficient enhancement layer ARReibman, 2011 Scalable video coding 22

PredicNon strategies Predict from the base layer only: Can be implemented with bit plane coding (MPEG4 FGS) No mismatch at decoder Low predicnon accuracy if the base layer use large Q Predict from the current layer: Mismatch at decoder receiving only lower layers! When the predicnon requires unavailable informanon, this is called drim Yao Wang, 2006 Scalable video coding 23

Allow both intra- layer and inter- layer predicnon Inter- layer predicnon Predict from the lower layer (higher Q), quannze the error using lower Q (same as before) Intra- layer predicnon Predict from previous frame (or previous blocks of the current frame) of the current layer (lower Q), quannze the error using the same lower Q Choose which ever is beier in RD sense (H.264/ SVC quality scalability) Yao Wang, 2006 Scalable video coding 24

PredicNon structures for scalability (3 and 4) 2-loop control Both base and enhancement layers use their own prediction loop MPEG-2 Spatial Scalability (2) No drift in base layer High complexity; reasonably efficient Adaptive prediction Base: hierarchical temporal prediction Enhance: non-key frames predict using enhancement; key frames from key frames H.264 scalability Single-loop decoder; low complexity ARReibman, 2011 Scalable video coding 25

Inefficiency of predicnng only from the base layer (MPEG- 4 FGS) Each blue curve is obtained with MPEG4 FGS using different base-layer rate Scalable video coding 26

Example: Simulcast vs. FG Scalability Assume minimum sustainable throughput 128 kbps Assume known maximum possible throughput 1024 kbps Assume equally probable rates between min and max Choose 3 rates for storing simulcast one- layer video Switch between different one- layer videos depending on channel rate Rate of all 3 videos must sum to 1024 kbps Compare average video quality of one- layer videos to average video quality of Fine- Grained Scalability

One- layer(s) vs. FG Scalability PSNR (db) 39 38 37 36 35 34 33 32 31 30 29 One-layer (upper bound) Fine-grained scalability Switched one-layer 200 300 400 500 600 700 800 900 1000 Sustainable bandwidth (kbps) Average PSNR for switched one-layer is more than 1 db better than average PSNR for FG Scalability (due to prediction inefficiencies of FGS)

SNR scalability: Before H.264 SVC Scalable video coding 29

SNR scalability: with H.264 SVC Scalable video coding 30

Frequency scalability (also called Data ParNNoning) Base layer: low frequencies of DCT Enhancement layer: remaining high frequencies of DCT Standardized in MPEG- 2 A breakpoint included in the bitstream made it very easy to parnnon One encoder predicnon loop à missing the high frequencies means strong drim ARReibman, 2011 Scalable video coding 31

Frequency scalability: Effect of lost informanon Two blocks at encoder: Two blocks at decoder: Errors from previous frame propagate into current frame MoNon causes error to spread, not just spanally, but in frequency PredicNon method affects degree of propaganon

MPEG- 2 Scalability: First standard that offers scalability Data parnnon All headers, MVs, first few DCT coefficients in the base layer Can be implemented at the bit stream level Simple SNR scalability Base layer includes coarsely quannzed DCT coefficients Enhancement layer further quannzes the base layer quannzanon error RelaNvely simple SpaNal scalability Complex Temporal scalability Simple; two layers only Drim problem: If the encoder s base layer informanon for a current frame depends on the enhancement layer informanon for a previous frame Exist in the data parnnon and SNR scalability modes Scalable video coding 33

MPEG- 2 SNR Scalability Encoder Yao Wang, 2006 Scalable video coding 34

MPEG- 2 SpaNal Scalability Codec Yao Wang, 2006 Scalable video coding 35

Fine Granularity Scalability in MPEG- 4 MPEG- 4 achieves fine granularity quality scalability through bit- plane coding The DCT coefficients are represented losslessly in binary bits The bit planes are coded successively, from the most significant bit to the least. The bit plane within each block is coded using run- length coding. Temporal scalability is accomplished by combining I, B, and P- frames SpaNal scalability is achieved by spanal down/up sampling Yao Wang, 2006 Scalable video coding 36

Fine- Grained Scalability encoder Find Reference Frame Memory Find Maximum Bit-plane VLC FGS Enhancement Encoding Enhancement Bitstream Input Video Motion Compensation DCT Q Q -1 VLC Base Layer Bitstream IDCT Motion Estimation Frame Memory Encode once, decode to any bandwidth

H.264 SVC (Scalable Video Coding) An opnmized H.264 SVC encoder has an average overhead bit- rate of about 11% ** A good trade- off between efficiency and error- propaganon/drim Complexity is similar to single- layer H.264 decoding Uses only a single monon- compensanon loop at the decoder Predicts not only residual (DCT) informanon, but also predict monon informanon and macroblock modes ** Compared to a H.264 base profile without CABAC ARReibman, 2011 Scalable video coding 38

Scalable HEVC High level syntax common to SHVC, MVHEVC, and future extensions, in Annex F of HEVC SHVC decoder and conformance requirements in Annex H of HEVC Test Model (encoder) for SHVC Interlayer SHVC allows any parameter changed SpaNal resolunon, bit depth, color gamut Texture resampling, monon- field resampling, color mapping

Scalable Video Coding Using Wavelet Transforms Wavelet- based image coding: Full frame image transform (as opposed to block- based transform) Bit plane coding of the transform coefficients can lead to embedded bitstreams EZW à SPIHT à JPEG2000 Wavelet- based video coding Temporal filtering with and without monon compensanon Using MC limits the range of scalability Can achieve temporal, spanal, and quality scalability simultaneously SNll an acnve research acnvity!? Yao Wang, 2006 Scalable video coding 40

AddiNonal Reading Wang, Ostermann, Zhang Video Processing and CommunicaNons : Sec. 11.1, 11.2, 11.3 R. Aravind, M. R. Civanlar, and A. R. Reibman, Packet loss resilience of MPEG- 2 scalable video coding algorithms, IEEE Transac4ons on Circuits and Systems for Video Technology, vol. 6, no. 5, pp. 426-435, October 1996. H. Schwarz, D. Marpe, T. Wiegand, Overview of the Scalable Video Coding Extension of the H.264/AVC Standard, IEEE Trans. CSVT, September 2007 hip://iphome.hhi.de/wiegand/assets/pdfs/dic_svc_07.pdf Scalable video coding 41