H.264 vs HEVC

72
AUTHORS: Marcin Walendowski, Jakub Drynkowski, Weronika Woronicz WIDE COMPARISON BETWEEN H.264 AND HEVC UNDER THE ACADEMIC SUPERVISION OF: GUSTAVO MARRERO CALLICÓ SEBASTIÁN LÓPEZ SUÁREZ TERM PROJECT

description

HEVC in comparison with H.264

Transcript of H.264 vs HEVC

Page 1: H.264 vs HEVC

AUTHORS:Marcin Walendowski, Jakub Drynkowski, Weronika Woronicz

WIDE COMPARISON BETWEENH.264 AND HEVC

UNDER THE ACADEMIC SUPERVISION OF:

GUSTAVO MARRERO CALLICÓSEBASTIÁN LÓPEZ SUÁREZ

TERM PROJECT

Page 2: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

2

Index

1. Description and introduction to standards1. H.2642. HEVC

2. Comparison in terms of theoretical features

3. Simulation data 1. H.264 and HEVC2. Comparison between simulations data

4. Conclusions5. Bibliography

Page 3: H.264 vs HEVC

3Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de

Telecomunicación y Electrónica

H.264/MPEG-4 AVC

1.1

Page 4: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

4

Introduction

H.264/MPEG-4 AVC (ang. Advanced Video Coding)  block-oriented motion-compensation-based video

lossy compression standard Developed by the ITU-T VCEG and ISO/IEC

MPEG The project partnership effort is known as the

Joint Video Team (JVT) The standardization of the first version was

completed in May 2003

H.264 | MPEG-4 AVC

Page 5: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

5

General assumptions

The intent was to create a standard capable of providing good video quality at substantially lower bit rates than previous standards( half or less in comparison with H.263)

Provide enough flexibility to allow the standard to be applied to a wide variety of applications on a wide variety of networks and systems, including low and high bit rates, low and high resolution video

H.264 | MPEG-4 AVC

Page 6: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

6

Applications

Streaming internet sources  Vimeo, YouTube and iTunes Store

Web software Adobe Flash Player and Microsoft Silverlight

HDTV broadcasts ATSC, ISDB-T, DVB-T,DVB-T2, DVB-C, DVB-S and DVB-S2

Blu-ray Discs As a recording format

AVCDC - Advanced Video Coding High Definition developed by Sony and Panasonic

Uses by Canon and Nikon DSLRs and more !

H.264 | MPEG-4 AVC

Page 7: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

7

Comparison to previous standards

The H.264 video coding based on hybrid coding very similar to previous blocks standards (H.26x)

New features that allow it to compress video much more effectively than older standards and to provide more flexibility for application to a wide variety of network environments

H.264 | MPEG-4 AVC

Page 8: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

8

New transform and quantization design

Adaptive encoder selection between the 4×4 and 8×8 transform block sizes for the integer transform operation.

Logarithmic step size control of quantization for easier bit rate management and simplified inverse-quantization scaling

H.264 | MPEG-4 AVC - new key features

Page 9: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

9

Intra Prediction

A multidirectional spatial prediction method to reduce spatial redundancy by using neighbouring samples as a prediction for the samples

Each MB can be encoded using blocks of pixels that are already encoded within the current frame

H.264 | MPEG-4 AVC - new key features

Page 10: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

10

Multi-picture inter-picture prediction

Allowing up to 16 reference frames, in comparison with 1/2 for P/B frames in previous standard

Variable block-size motion compensation (VBSMC) block sizes include 16×16, 16×8,

8×16, 8×8, 8×4, 4×8, and 4×4

H.264 | MPEG-4 AVC - new key features

Page 11: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

11

Multi-picture inter-picture prediction

Variable block-size

H.264 | MPEG-4 AVC - new key features

Page 12: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

12

Multi-picture inter-picture prediction

The ability to use multiple motion vectors per macroblock. Up to 32 in the case of a B macroblock constructed of 16 4×4 partitions. 

Quarter-pixel or even 1/8 pixel precision for motion compensation, enabling precise description of the displacements of moving areas.

H.264 | MPEG-4 AVC - new key features

Autor
?????????
Page 13: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

13

Loop filter

An in-loop deblocking filter that helps prevent the blocking artifacts common to other DCT-based image compression techniques.

A filter is applied to every decoded macroblock to reduce blocking distortion

It results in better visual appearance and compression efficiency

H.264 | MPEG-4 AVC - new key features

Page 14: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

14

Loop filter - exampleH.264 | MPEG-4 AVC - new key features

Page 15: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

15

Loop filter - exampleH.264 | MPEG-4 AVC - new key features

Page 16: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

16

Entropy coding

Context-adaptive binary arithmeticcoding (CABAC) a method of arithmetic coding in which the probability models are updated based on previous coding statistics.

A common simple and highly structured variable length coding (VLC) technique for many of the syntax elements not coded by CABAC or CAVLC. A symbol is converted into a binary code with a specified length (n bits).

H.264 | MPEG-4 AVC - new key features

Autor
vlc????
Page 17: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

17

Block schemaH.264 | MPEG-4 AVC - new key features

Intra frame

I(x,y,t)

Inter frame

I(x,y,t-1)

I(x,y,t)

Reference frame

mv

I(x,y,t-1)

I(x+u,y+v,t-1)

I(x,y,t)

e(x,y,t)

I(x,y,t)

We have a reconstructed frame which could be a reference for a the next one.

First frame - intra

Next frame - inter

Page 18: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

18

Why it so important?

Has huge significance to the broadcast, internet, consumer electronics, mobile and security industries, amongst others standards.

It describes and defines a method of coding video that can give better performance than any of the preceding standards(without H.265)

H.264 makes it possible to compress video into a smaller space, which means that a compressed video clip takes up less transmission bandwidth and/or less storage space compared to older codecs

H.264 | MPEG-4 AVC

Page 19: H.264 vs HEVC

19Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de

Telecomunicación y Electrónica

HEVCHIGH EFFICIENCY VIDEO CODING 

1.2

Page 20: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

20

Introduction

Video compression format, a successor to H.264/MPEG-4 AVC

Jointly developed by the ISO/IEC Moving Picture Experts Group (MPEG) and ITU-T Video Coding Experts Group (VCEG)

Known as MPEG-H Part 2 and I H.265 February 2012 - complete draft of standard On November 25 2013 - the HEVC

standard was formally published by the ISO/IEC.

H.265 | HEVC

Page 21: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

21

Standardization status

Strong industrial and academic interests

H.265 | HEVC

http://www.worldbroadcastingunions.org/wbuarea/library/docs/isog/presentations/2012B/2.4%20Vieron%20ATEME.pdf

Page 22: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

22

General assumptions

“The main goal of the HEVC standardization effort is to enable significantly improved compression performance relative to existing standards—in the range of 50% bit-rate reduction for equal perceptual video quality. “

Moreover HEVC has been designed to address essentially all existing applications of H.264/MPEG-4 AVC and to particularly focus on two key issues: increased video resolution Increased use of parallel processing architectures.

H.265 | HEVC

Page 23: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

23

Potential applications

What becomes possible with 50% video rate reduction? Existing applications and usage scenarios

IPTV over DSL : Large shift in IPTV eligibility Facilitated deployment of OTT and multi-screen services More customers on the same infrastructure: most IP traffic is

video More archiving facilities

Future services 1080p60/50 with bitrates comparable to 1080i Immersive viewing experience: Ultra-HD (4K, 8K) Premium services (sports, live music, live events,…): home

theater, mobile HD 3DTV Full frame per view at today’s HD delivery rates

H.265 | HEVC

Autor
??????
Page 24: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

24

How to achieve the assumptions? The design of most video coding

standards and also of HEVC is primarily aimed at having the highest coding efficiency.

Coding efficiency is the ability to encode video at the lowest possible bit rate while maintaining a certain level of video quality

H.265 | HEVC

Page 25: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

25

Coding structure

HEVC replaces macroblocks, which were used with previous standards, with Coding Tree Units (CTUs) and coding tree block (CTB) structure

CTU increases coding efficiency. HEVC initially divides the picture into 3 CTB:

1 luma CTB 2 chroma CTB

The size L×L of a luma CTB can be chosen as L = 16, 32, or 64 samples, with the larger sizes typically enabling better compression

Supports partitioning of the CTBs into smaller blocks

H.265 | HEVC

Page 26: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

26

Coding structureH.265 | HEVC

Quadtree

CUs are the basic unit of prediction in HEVC. CUs can be 64x64, 32x32, 16x16 or 8x8.

Page 27: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

27

Prediction H.265 | HEVC

The decision whether to code a picture area using interpicture or intrapicture prediction is made at the CU level.

CUs can then be further split in size into prediction blocks (PBs).

HEVC supports variable PB sizes from 64×64down to 4×4 samples.

Page 28: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

28

Prediction

Modes for splitting a CB into PBs, subject to certain size constraints. For intrapicture-predicted CBs, only M × M and M/2×M/2 are supported.

H.265 | HEVC

Page 29: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

29

Intra predicting

Supports 33 directional modes + Planar (surface fitting) + DC (flat) prediction modes

The selected intra picture prediction modes are encoded by deriving most probable modes (e.g., prediction directions) based on those of previously decoded neighboring PBs.

H.265 | HEVC

Page 30: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

30

Transform design

Transform Unit (TU) • DCT (Discrete Cosine Tranform) • Various sizes from 4x4 to 32x32 • To adapt the transform to the signal frequency

characteristics • TU can overlap PU

Intra DCT+ DST (Discrete Sine Transform) on Luma intra

4x4  1% bit rate reduction

Inter - DCT only

H.265 | HEVC

Page 31: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

31

Quantisation design

Quantisation – as in H.264, but with scaling matrices supported for the various transform block sizes.

H.265 | HEVC

Page 32: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

32

Motion VectorsH.265 | HEVC

Uses signed 16-bit range for both horizontal and vertical motion vectors (MVs)

2 modes of motion vector prediction : Advanced motion vector prediction

(AMVP) - uses data from the reference picture and can also use data from neighboring prediction blocks

A merge mode - allowing the inheritance of MVs from temporally or spatially neighboring PBs.

Autor
ajacent AMVP all ??
Page 33: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

33

Motion compensation

Multiple reference pictures are used For each PB, either one or two motion

vectors can be transmitted, resulting either in unipredictive or bipredictive coding.

Interpolation of fractional luma sample positions It uses separable application of one-

dimensional half-sample interpolation with an 8-tap filter or quarter-sample interpolation with a 7-tap

H.265 | HEVC

Autor
8-tap filter
Page 34: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

34

Entropy coding

Context adaptive binary arithmetic coding (CABAC) is used for entropy coding

Improve throughput speed by parallel-processing architectures and compression performance

H.265 | HEVC

Page 35: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

35

What’s moreH.265 | HEVC

Deblocking filter similar to the one used in H.264/MPEG-4 AVC

Sample adaptive offset (SAO): Its goal is to better reconstruct the original

signal amplitudes, to increase picture quality, reduce banding artifacts, and reduce ringing artifacts by using a look-up table.

Autor
SOA?
Page 36: H.264 vs HEVC

36Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de

Telecomunicación y Electrónica

COMPARISONH.264 VS H.265

2

Page 37: H.264 vs HEVC

37

For what it all?

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

H.264 | MPEG-4 AVC VS H.265 | HEVC

http://www.worldbroadcastingunions.org/wbuarea/library/docs/isog/presentations/2012B/2.4%20Vieron%20ATEME.pdf

Page 38: H.264 vs HEVC

38

Main differences

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

H.264 | MPEG-4 AVC VS H.265 | HEVC

H.264/AVC HEVC

Partition size Macroblock 16x16 (Large) Coding Unit8x8 to 64x64

Partitioning Sub-block down to4x4

Prediction UnitQuadtree down to 4x4Square, symmetric andasymmetric(only square for intra)

Transform Integer DCT 8x8, 4x4 Transform Unit squareIDCT from 32x32 to 4x4+ DST Luma Intra 4x4

Intra prediction Up to 9 predictors 35 predictors

Page 39: H.264 vs HEVC

39

Main differences

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

H.264 | MPEG-4 AVC VS H.265 | HEVC

H.264/AVC HEVC

Motion prediction Spatial Median (3 blocks)

Advanced MotionNeighbor (3 blocks) Vector Prediction AMVP(spatial + temporal)

Motion-copy mode Direct mode Merge mode

Motion precision ½ Pixel 6-tap,¼ Pixel bi-linear

¼ Pixel 7or 8 tap1/8 Pixel 4-tap chroma

Entropy coding CABAC, CAVLC CABAC

Filters Deblocking Filter Deblocking FilterSample Adaptive Offset

Page 40: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

40

H.264 | MPEG-4 AVC VS H.265 | HEVC

http://www.worldbroadcastingunions.org/wbuarea/library/docs/isog/presentations/2012B/2.4%20Vieron%20ATEME.pdf

Page 41: H.264 vs HEVC

41Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de

Telecomunicación y Electrónica

SIMULATION DATA

3

Page 42: H.264 vs HEVC

42

Introduction to sequences

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

– SIMULATION DATA

Coastguard

lots of movement, normal spatial redundancy

Foreman

high spatial redundancy, low movement

Mobile

low redundancy, lot of movement

News

low movement, high redundancy

Page 43: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

43

All sequences – H.264

0 1000 2000 3000 4000 5000 6000 7000 800020

25

30

35

40

45

50

55

H.264 PSNR-bitrate

Foreman

Coastgurd

mobile

news

Bitrate [kbit/s]

PS

NR

[d

B]

H.264 | MPEG-4 AVC – SIMULATION DATA

The best compression ratio to quality has sequence news, because of it's low movement and high redundancy. The worse is mobile, because of it's high movement, movement of object and the background.

Page 44: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

44

0 1000 2000 3000 4000 5000 6000 7000 8000150

200

250

300

350

400

H.264 time/bit-rate

foreman

coastgurd

mobile

news

Bitrate [kbit/s]

Tim

e [

s]H.264 | MPEG-4 AVC – SIMULATION DATA

For the same reasons as we told before to encode news sequence we don't need a lot of bit rate, because following frames are really similar to each other.

All sequences – H.264

Page 45: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

45

Search range gain - foreman

0 500 1000 1500 2000 2500 3000 3500 4000 4500 500030

32

34

36

38

40

42

44

46

48

50

Comparison search range

foreman- SR 32foreman-SR 64

Bitrate [kbit/s]

PS

NR

[d

B]H.264 | MPEG-4 AVC – SIMULATION DATA

We checked all sequences for changing Search rage and we didn't see any high gain in quality, it's probably, because in our sequences there is no high speed moving object so search range of 32 it's enough to notice all movement.

Page 46: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

46

Search range gain - coastguard

0 500 1000 1500 2000 2500 3000 3500 4000 4500 500025

27

29

31

33

35

37

39

41

43

45

Comparison search range

coastguard- SR 32coastguard-SR 64

Bitrate [kbit/s]

PS

NR

[d

B]H.264 | MPEG-4 AVC – SIMULATION DATA

The same goes for coastguard and all other sequences.

Page 47: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

47

All sequences - HEVC

0 1000 2000 3000 4000 5000 6000 7000 800020

25

30

35

40

45

50

55

60

65

HEVC frame 300 GOP BBBBBBBB

foremancoastguardmobilenews

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

The same as in h.264 encoder we also get the best compression to quality for sequence with the highest redundancy and lowest movement.

Page 48: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

48

0 1000 2000 3000 4000 5000 6000 7000 80000

500

1000

1500

2000

2500

3000

HEVC frame 300 GOP BBBBBBBB

Foremancoastguardmobilenews

Bitrate [kbit/s]

Tim

e [

s]HEVC– SIMULATION DATA

Here we can see that differences in times are much bigger than in h.264. HEVC is very complicated encoder and we didn’t notice any correlation between redundancy of the sequences and the times.

All sequences – HEVC

Page 49: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

49

Intra period gain - foreman

0 1000 2000 3000 4000 5000 6000 7000 800025

30

35

40

45

50

55

60

HEVC frame 300 ItraPeriod -1 vs 32

foreman- It-ntraPeriod -1

foreman-ItntraPe-riod 32

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

Adding more reference Intra frames is lowering drastically our quality for the same bit rate, because Intra frames provide lower compression than for example B frames and our encoder needs to use higher quantization factors. It's lowering our transmission's resistance for channel errors, but in this simulation were done with use of no error channel.

Page 50: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

50

Intra period gain - coastguard

0 1000 2000 3000 4000 5000 6000 7000 800024

29

34

39

44

49

54

HEVC frame 300 IntraPeriod -1 vs 32

coastguard-ItntraPeriod -1coastguard-ItntraPeriod 32

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

We can see that this gain is huge it's about 5 dB, and that's is a lot.

Page 51: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

51

Group of pictures - foreman

0 1000 2000 3000 4000 5000 6000 7000 800030

35

40

45

50

55

60

GOP 8xB vs PBBB

foreman-PBBB

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

Use of GOP structure of only B frames give us some gain in quality. It's thanks to that because B frames gives us better compression options, but it's lowering resistance for channel errors. In real transmission it would be better to use GOP structure with PBBB, because it will give us more resistance for channel errors, for not so much cost in bit rate.

Page 52: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

52

Group of pictures - mobile

0 1000 2000 3000 4000 5000 6000 7000 800015

20

25

30

35

40

45

50

55

GOP 8xB vs PBBB

mobile-PBBBmobile-8xB

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

Page 53: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

53

Group of pictures - news

0 1000 2000 3000 4000 5000 6000 700033

38

43

48

53

58

63

68

GOP 8xB vs PBBB

news-PBBBnews-8xB

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

Page 54: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

54

Group of pictures - coastguard

0 1000 2000 3000 4000 5000 6000 7000 800025

30

35

40

45

50

55

GOP 8xB vs PBBB

coastguard-8xBcoastguard-PBBB

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

Page 55: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

55

Search range gain - mobile

0 1000 2000 3000 4000 5000 6000 7000 800020

25

30

35

40

45

50

55

GOP 8xB Search Range Comparison

mobile SR 32mobile-SR 64mobile SR full

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

We checked all sequences for changing Search range and we didn't see any high gain in quality, it's probably, because in our sequences there is no high speed moving object so search range of 32 it's enough to notice all movement.

Page 56: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

56

Search range gain - mobile

0 1000 2000 3000 4000 5000 6000 7000 800020

120

220

320

420

520

620

720

820

920

1020

GOP 8xB Search Range Comparison

mobile SR 32mobile-SR 64mobile SR full

Bitrate [kbit/s]

Tim

e [

s]

HEVC– SIMULATION DATA

We get no noticeable gain in quality by changing Search range, but the times get dramatically higher, up to even 400 seconds ! It's only good idea to use it for some sequences in which we have we big movements of object between following frames.

Page 57: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

57

SR full, FDM, FEN and FS – mobile

0 1000 2000 3000 4000 5000 6000 7000 800020

25

30

35

40

45

50

PSNR - GOP 8xB SR full FDM, FEN and FS Comparison

mobile SR full all onmobile SR full all things off

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

From our practical tests, we concluded that fast search, fast encoder decision and Fast decision for Merge RD cost modules are very well implemented and it's not worth to turn them off.

Page 58: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

58

SR full, FDM, FEN and FS

0 1000 2000 3000 4000 5000 6000 7000 8000200

300

400

500

600

700

800

900

1000

1100

TIME - GOP 8xB SR full FDM, FEN and FS Comparison

mobile SR full all on

mobile SR full all things off

Bitrate [kbps/s]

Tim

e [

s]

HEVC– SIMULATION DATA

Turning them off makes encoding times highly increase.

Page 59: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

59

Decoding Refresh Type - mobile

0 1000 2000 3000 4000 5000 6000 7000 800020

25

30

35

40

45

50

55

PSNR - GOP 8xB Random Access Comparison

mobile RA 0mobile RA 1 CDRmobile RA 2 IDR

Bitrate [kbit/s]

PS

NR

[d

B]

HEVC– SIMULATION DATA

We didn't notice any significant gain, by changing Decoding Refresh Type.

Page 60: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

60

Decoding Refresh Type - mobile

0 1000 2000 3000 4000 5000 6000 7000 800020

220

420

620

820

1020

1220

TIME - GOP 8xB Random Access Comparison

mobile RA 0mobile RA 1 CDRmobile RA 2 IDR

Bitrate [kbit/s]

Tim

e [

dB

]HEVC– SIMULATION DATA

The times also didn't show that there was any major change. We can only see that no random access needs slightly more time

Page 61: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

61

0 2000 4000 6000 800029

34

39

44

49

54

59

Comparison 300 frames 8xB IDR

H264-ForemanHEVC-foreman

Bitrate [kbit/s]

PS

NR

[d

B]

0 1000 2000 3000 4000 5000 6000 7000 8000150

200

250

300

350

400

450

500

550

600

Comparison 300 frames 8xB IDR

HEVC-ForemanH264-ForemanBitrate [kbit/s]

Tim

e [

s]

H.264 vs HEVC – SIMULATION DATA COMPARISON

We can see that HEVC encoder is a lot more better than h.264 standard. There is about 2 dB difference. This means that it provide allmost 50% better quality than h.264. However the encoding times for HEVC are terrible in comparison to h.264. Sometimes h.264 is about two times quicker.

Page 62: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

62

0 2000 4000 6000 800024

29

34

39

44

49

54

Comparison 300 frames IBBBBBBB IDR

H264-coastguard HEVC-coastguard

Bitrate [kbit/s]

PS

NR

[d

B]

0 2000 4000 6000 80000

500

1000

1500

2000

2500

3000

Comparison 300 frames IBBBBBBB IDR

HEVC-coastguard H264-coastguard

Bitrate [kbit/s]

Tim

e

H.264 vs HEVC – SIMULATION DATA COMPARISON

Here we notice a bit lower gain, but the times difference gets really huge. We can see that sequences with lot of movement needs a lot computation from HEVC. It's probably, because of it's complexity and a lot calculation needs to be made, it has a lot more option to consider than h.264.

Page 63: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

63

0 2000 4000 6000 800024

29

34

39

44

49

54

Comparison 300 frames IBBBBBBB IDR

HEVC-mobile H264-mobile

Bitrate [kbit/s]

PS

NR

[d

B]

0 2000 4000 6000 80000

100

200

300

400

500

600

Comparison 300 frames IBBBBBBB IDR

H264-mobile HEVC-mobileBitrate [kbit/s]

Tim

e [

s]

H.264 vs HEVC – SIMULATION DATA COMPARISON

In this sequences we can see that for low very bit rates HEVC and h.264 provides almost the same quality, but HEVC now is much quicker. Since 400kbit/s HEVC gains about 1,5-2dB of PSNR in comparison with H.264

Page 64: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

64

0 1000 2000 3000 4000 5000 600024

29

34

39

44

49

54

59

64

69

Comparison 300 frames IBBBBBBB IDR

HEVC-news H264-newsBitrate [kbit/s]

PS

NR

[d

B]

0 1000 2000 3000 4000 5000 60000

500

1000

1500

2000

2500

Comparison 300 frames IBBBBBBB IDR

H264-NEWS HEVC-newsBitrate[kbit/s]

Tim

e [

s]

H.264 vs HEVC – SIMULATION DATA COMPARISON

For this sequence HEVC has a lot more higher times than h.264, but it still provides better quality at least 1 dB better. For higher bitrates gain of PSNR is rising.

Page 65: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

65

Bit-rate saving rate - foreman

[db]

H.264 vs HEVC – SIMULATION DATA COMPARISON

He we can see that HEVC for the same quality gives us much lower bit rates than h.264, even up to 56% lower !.

Page 66: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

66

Bit-rate saving rate - mobile

[db]

H.264 vs HEVC – SIMULATION DATA COMPARISON

Page 67: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

67

Bit-rate saving rate - news

[db]

H.264 vs HEVC – SIMULATION DATA COMPARISON

Page 68: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

68

Bit-rate saving rate - costguard

[db]

H.264 vs HEVC – SIMULATION DATA COMPARISON

Almost all sequences HEVC gives us the highest gain. Here even 62 %.

Page 69: H.264 vs HEVC

69Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de

Telecomunicación y Electrónica

BIBLIOGRAPHY

4

Page 70: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

70

Bibliography

http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC Lecture slides of subject Equipos Multimedia

Tema 11: Estándar d e compresión de vídeo H.264 ITU-T Recommendations: H.264 : Advanced video

coding for generic audiovisual serviceshttp://www.itu.int/rec/T-REC-H.264-201201-S/en

“THE H.264 ADVANCED VIDEO COMPRESSION STANDARD” Iain Richardson [6.5.0-6.5.4];[7.4]

http://www.worldbroadcastingunions.org/wbuarea/library/docs/isog/presentations/2012B/2.4%20Vieron%20ATEME.pdf

Page 71: H.264 vs HEVC

Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de Telecomunicación y Electrónica

71

Bibliography

“Overview of the High Efficiency Video Coding (HEVC) Standard” Gary J. Sullivan, Fellow, IEEE, Jens-Rainer Ohm, Member, IEEE, Woo-Jin Han, Member, IEEE, and Thomas Wiegand, Fellow, IEEE

Page 72: H.264 vs HEVC

72Equipos Multimedia - H.264 vs HEVC - Escuela de Ingeniería de

Telecomunicación y Electrónica

THANK YOU FOR YOUR ATTENTION