Top Banner
Video Compression Standards History & Introduction Champ Yen [email protected]
48
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Video Compression Standards - History & Introduction

Video Compression StandardsHistory & Introduction

Champ [email protected]

Page 2: Video Compression Standards - History & Introduction

“Outline

▷ some concepts▷ MPEG-1/MPEG-2(H.262) ▷ MPEG4▷ H.264 (MPEG4 part 10)▷ HEVC/H.265▷ Q&A

Page 3: Video Compression Standards - History & Introduction

Concepts

Page 4: Video Compression Standards - History & Introduction

What is data compression?

Page 5: Video Compression Standards - History & Introduction

lossy & lossless compression

Page 6: Video Compression Standards - History & Introduction

Information Entropy

But What does Xi mean in Video Coding!?

Page 7: Video Compression Standards - History & Introduction

Huffman Coding

Page 8: Video Compression Standards - History & Introduction

Frame color format

http://commons.wikimedia.org/wiki/Category:YUVhttp://forum.doom9.org/showthread.php?t=167832

YUV444 YUV422 YUV420

Page 9: Video Compression Standards - History & Introduction

Basic Sequence/Frame Structure

http://ride.chiariglione.org/MP1_inside.php

Page 10: Video Compression Standards - History & Introduction

Motion Compensation

Page 11: Video Compression Standards - History & Introduction

quality criteria: PSNR

Page 12: Video Compression Standards - History & Introduction

Video Decoding Flow

EntropyDecode

inverseQuantization

inverseTransform

Inter / IntraPrediction

coef.data

coef.data

predictedframe

residual

decodedframe

sum & postproc

referenceframe

referenceframe

referenceframe

01011000101111

pred.info.

Page 13: Video Compression Standards - History & Introduction

Video Encoding Flow

EntropyEncode

Quantization Transform

Inter / IntraPrediction

coef.data

coef.data

predictedframe

residual

sourceframesubstract

referenceframe

referenceframe

referenceframe

01011000101111

pred.info.

inverseQuantization

inverseTransform

coef.data

sum & postproc

residual

Page 14: Video Compression Standards - History & Introduction

key-points of Video Coding

▷ Entropy Coding▷ Coding Unit▷ Quantization▷ Transformation▷ Inter/Intra Prediction▷ Post-Processing

Page 15: Video Compression Standards - History & Introduction

MPEG-1/2

Page 16: Video Compression Standards - History & Introduction

MPEG-1/2 overview

Page 18: Video Compression Standards - History & Introduction

MPEG1/2 - Quantization

Quantization Matrix

http://en.wikipedia.org/wiki/MPEG-1

Page 19: Video Compression Standards - History & Introduction

MPEG1/2 - zigzag scan

Page 20: Video Compression Standards - History & Introduction

MPEG1/2 I/P/B frames

Page 21: Video Compression Standards - History & Introduction

MPEG1/2 - Bitstream

Page 22: Video Compression Standards - History & Introduction

MPEG-4

Page 23: Video Compression Standards - History & Introduction

MPEG4 - block mode & inter prediction

Page 24: Video Compression Standards - History & Introduction

MPEG4 - DC/AC prediction

Page 25: Video Compression Standards - History & Introduction

MPEG4 vs MPEG1/2

Page 26: Video Compression Standards - History & Introduction

H.264

Page 27: Video Compression Standards - History & Introduction

H.264/AVC - block mode

Page 28: Video Compression Standards - History & Introduction

H.264 intra-prediction

Page 29: Video Compression Standards - History & Introduction

H.264 inter-prediction

½

¼

Page 30: Video Compression Standards - History & Introduction

H.264 - MV prediction

Page 31: Video Compression Standards - History & Introduction

H.264 - integer transform

http://mrutyunjayahiremath.blogspot.tw/2010/10/frq-transformation-and-quantization.html

What are the advantages of integer transformation?

Page 32: Video Compression Standards - History & Introduction

H.264 - deblocking

Page 33: Video Compression Standards - History & Introduction

Arithmetic Coding Concept

Page 34: Video Compression Standards - History & Introduction

H.264 - CABAC

Page 35: Video Compression Standards - History & Introduction

H.264 - NAL (Network Abstract Layer)

http://gentlelogic.blogspot.tw/2011/11/exploring-h264-part-2-h264-bitstream.html

Page 36: Video Compression Standards - History & Introduction

Comparisons

Page 37: Video Compression Standards - History & Introduction

HEVC/H.265

Page 38: Video Compression Standards - History & Introduction

HEVC - Frame Structure

Page 39: Video Compression Standards - History & Introduction

HEVC - block mode

CU - Coding UnitPU - Prediction UnitTU - Transform Unit

Page 40: Video Compression Standards - History & Introduction

HEVC - intra prediction

Page 41: Video Compression Standards - History & Introduction

HEVC - ⅛-pixel inter prediction

Page 42: Video Compression Standards - History & Introduction

HEVC - MV prediction

Page 43: Video Compression Standards - History & Introduction

HEVC - SAO

http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6324411

The concept of SAO is to reduce mean sample distortion of a region by first classifying the region samples into multiple categories with selected classifier, obtaining an offset for each category, and then addig the offset to each sample of the category, where the classifier index and the offset of the region are coded in the bitstream.

Page 44: Video Compression Standards - History & Introduction

Miscs

Page 45: Video Compression Standards - History & Introduction

Summary

▷ how to predict the frame▷ extract temporal/spatial

redundant▷ more and more fine-grained▷ new ideas/tools

Page 46: Video Compression Standards - History & Introduction

Development Workflow

H.264 JM: http://iphome.hhi.de/suehring/tml/HEVC HM: http://hevc.hhi.fraunhofer.de/

ModifiedReferenceSoftware

ProprietaryImplementation

AnalyzeTool

verificationdata

goldendata

test casesbitstreams

Page 47: Video Compression Standards - History & Introduction

References

● An Overview of MPEG-2http://literature.agilent.com/litweb/pdf/5966-1031E.pdf

● MPEG-4 natural video coding An overviewhttp://www.img.lx.it.pt/~fp/cav/Additional_material/MPEG4_video.pdf

● Overview of the H.264/AVC Video Coding Standardhttp://654lab.webstarts.com/uploads/csvt_overview.pdf

● MPEG Video Compression Basicshttp://www.springer.com/cda/content/document/cda_downloaddocument/9781441961839-c1.pdf

● http://www-i6.informatik.rwth-aachen.de/web/Misc/Coding/365/li/material/notes/Chap4/Chap4.3/Chap4.3.html● H.264 and MPEG-4 Video Compression, Iain E. G. Richardson● H.264 Specification

http://www.itu.int/rec/T-REC-H.264● Overview of the High Efficiency Video Coding (HEVC) Standard

http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6316136● HEVC Specification

http://www.itu.int/rec/T-REC-H.265

Page 48: Video Compression Standards - History & Introduction

“Q & A

Thanks