MPEG-4 AVC H.264 Video Codec Comparison

Download as pdf or txt
Download as pdf or txt
You are on page 1of 87

MPEG-4

AVC/H.264
Video Codec
Comparison
Project head: Dmitriy Vatolin
Measurements, analysis: Dmitriy Kulikov,
Alexander Parshin
Translation: Artem Titarenko
Verification: Stanislav Soldatov

Codecs:
DivX 6.0 (MPEG4 ASP codec)
ArcSoft H.264
Ateme H.264
ATI H.264
Elecard H.264
Fraunhofer IIS H.264
VSS H.264
x264

December 2005
CS MSU Graphics&Media Lab
Video Group

http://www.compression.ru/video/
[email protected]
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Contents

Contents.......................................................................................................................2
Thanks .........................................................................................................................4
Overview ......................................................................................................................5
Codecs................................................................................................................................... 5
Sequences............................................................................................................................. 5
Goal and testing rules ..................................................................................................6
H.264 Codecs Testing Objectives ......................................................................................... 6
Testing rules .......................................................................................................................... 6
Metrics Used in Comparison ................................................................................................. 7
Number of graphs .................................................................................................................. 7
Sequences ...................................................................................................................8
Foreman ................................................................................................................................ 8
Susi ........................................................................................................................................ 9
BBC ..................................................................................................................................... 10
Battle.................................................................................................................................... 11
Simpsons ............................................................................................................................. 12
Matrix ................................................................................................................................... 13
Concert ................................................................................................................................ 14
Codecs .......................................................................................................................15
DivX 6.0 ............................................................................................................................... 15
ArcSoft H.264 ...................................................................................................................... 16
Ateme H.264........................................................................................................................ 17
ATI H.264............................................................................................................................. 17
Elecard H.264 ...................................................................................................................... 17
Fraunhofer IIS H.264 ........................................................................................................... 18
VSS H.264 ........................................................................................................................... 19
x264 ..................................................................................................................................... 20
Preset “Best quality”...................................................................................................21
Y-PSNR ............................................................................................................................... 21
U-PSNR, V-PSNR ............................................................................................................... 29
SSIM, VQM.......................................................................................................................... 31
Blurring measure, blocking measure ................................................................................... 34
Bitrate handling.................................................................................................................... 36
Time ..................................................................................................................................... 40
Preset “Best speed” ...................................................................................................45
Y-PSNR ............................................................................................................................... 45
Speed/Quality Tradeoff........................................................................................................ 49
Sequence “susi”, Y-PSNR .............................................................................................. 50
Sequence “battle”, Y-PSNR ............................................................................................ 50
Bitrate handling.................................................................................................................... 51
Time ..................................................................................................................................... 54
2-pass mode and High profile ....................................................................................60
Sequence “foreman”, preset “Best quality”.......................................................................... 61

http://www.compression.ru/video/ 2
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Sequence “battle”, preset “Best quality” .............................................................................. 64
Per frame comparison................................................................................................68
Sequence “foreman”, Y-PSNR, Preset “Best quality”.......................................................... 68
Sequence “bbc”, Y-PSNR, Preset “Best quality” ................................................................. 71
Visual comparison......................................................................................................76
Sequence “bbc”, frame 170, bitrate 1140 kbps ................................................................... 76
Sequence “bbc”, frame 250, bitrate 1140 kbps ................................................................... 77
Sequence “battle”, frame 527, bitrate 700 kbps .................................................................. 77
Sequence “battle”, frame 527, bitrate 700 kbps, Y-PSNR................................................... 81
Informal codec comparison ........................................................................................82
Informal comparison rules ................................................................................................... 82
Informal comparison results ................................................................................................ 83
Preset “Best quality”........................................................................................................ 83
Preset “Best speed” ........................................................................................................ 85
General conclusions...................................................................................................87

http://www.compression.ru/video/ 3
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Thanks

We would like to express our gratitude to the following companies


for providing us with codecs and settings:
• ArcSoft, Inc.
• Ateme
• ATI Technologies Inc.
• Elecard LTD
• Fraunhofer Institute for Integrated Circuits
• Vanguard Software Solutions, Inc.
• x264 Development Team
We would also like to thank these companies for their technical
support and help during our tests.

http://www.compression.ru/video/ 4
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Overview

Codecs
Codec Developer Version
1. DivX DivXNetworks, Inc 6.0
dev. version for
2. ArcSoft H.264 ArcSoft, Inc.
19.09.05
3. Ateme H.264 Ateme 1.2.1.6
4. ATI H.264 ATI Technologies Inc. 3.1.2
dev. version for
5. Elecard H.264 Elecard LTD
09.09.05
6. Franhofer IIS Fraunhofer Institute for Integrated dev. version for
H.264 Circuits 20.09.05
7. VSS H.264 Vanguard Software Solutions, Inc. 3.0.2.7
8. x264 Development group x264 revision 293

Note: DivX 6.0 is not H.264 codec. It is MPEG-4 ASP codec, it takes part
in this testing only as one of the best representative of previous video
codec standard MPEG-4

Sequences
Sequence Number of Frames per Spatial dimension
frames second and color space

1. foreman 300 30 352x288(YV12)


2. susi 374 25 704x576(YV12)
3. bbc 374 25 704x576(YV12)
4. battle 1599 24 704x288(YV12)
5. simpsons 365 24 720x480(YV12)
6. matrix 239 25 720x416(YV12)
7. concert 390 25 1664x1088(YV12)

http://www.compression.ru/video/ 5
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Goal and testing rules

H.264 Codecs Testing Objectives


The main goal of this document is an evaluation of the quality of new
H.264 codecs, using objective metrics for comparison. The comparison
was done using the settings provided by the developers for each codec.
Testing rules
• Every codecs developers provided settings for both "Best Quality"
(high quality compression) and "Best Speed" (better processing
speed) presets, except DivX.
• Codec restrictions: Only codecs that supported MPEG-4
AVC/H.264 Main profile and single pass encoding were tested.
• Each codec was tested for speed 3 times, after this the median
score (the middle value of the three measurements) was used as
the resulting time.
• The following 10 bitrates were used (in Kilobits per second) 100,
225, 340, 460, 700, 938, 1140, 1340, 1840, 2340.
• During the testing three types of video sequences were used:
o Source sequences (.yuv extension) in the YUV 4:2:0
format.
o (.avi extension) sequences in the YUV 4:2:0 format."

These sequences were made in the following way:


Sequence was opened in VirtualDub using AviSynth script and, after that, it was
saved in AVI file format. VirtualDub parameters “Color depth – Decompression
Format” and “Color depth – Output format for compressor” were set to
“Autoselect” and “Same as decompression format” respectively.
AviSynth script for sequence opening:
RawSource("<source_file>.yuv", <wigth>, <height>, "I420")
AssumeFPS(<source_fps*1000>, 1000)
After that in obtained YUV file fourcc was manually changed from “DIB “ to
“YV12” using HexEditor from VirtualDub. This was required for correct work of
Ateme codec.

o *.yuv sequences with duplicated last frame. These


sequences were used for testing x264 codec (see its
description). Written for this case, special utility was used
for generating such sequences.
• In this testing VirtualDub version 1.6.10 was used.
• In this testing AviSynth version 2.55 was used.
• For all metrics’ measurements in this test special build of MSU
Video Quality Measure was used.

http://www.compression.ru/video/ 6
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
• Two computers with following configuration were used for
encoding:
o Processor: Pentium 4, 2.8 GHz with Hyper Threading
o Operating system: Windows 2000 Pro, SP4
o Memory: 1Gb
o Video Accelerator: ATI Radeon 9600 Series
o Hard Drives: ATA100 2x80Gb

Metrics Used in Comparison


During testing following metrics were measured:
• PSNR (Y, U, V, L, R, G, B components)
• SSIM (Y component)
• VQM (Y component)
• Blurring (Y, U, V components)
• Blocking (Y, U, V components)

Detailed description of these metrics including VQM and SSIM algorithms


could be found here:
http://www.compression.ru/video/quality_measure/info_en.html

Number of graphs
Inserted into this
Graph type Total number of graph
document
Average metric 196 24 (12%)
Relative average 196 7 (3.5%)
Per frame metric 1414 13 (0.9%)
Bitrate Handling 14 14 (100%)
Speed/Quality 1960 8 (0.4%)
Speed 16 16 (100%)

Total 3796 82 (2%)

http://www.compression.ru/video/ 7
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Sequences

Foreman
Sequence title foreman
Resolution 352x288
Number of frames 300
Color space YV12
Frames per second 30
Uncompressed (standard sequence),
Source
progressive

Picture 1. Frame 77 Picture 2. Frame 258

This is one of the most famous sequences. It represents a face with very
rich mimic. Motion is not very intensive here, but on the other hand it is
disordered, not forward. Intricate character of motion creates problems for
the motion compensation process. In addition camera is shaking that
makes the image unsteady. In the end of the sequence camera suddenly
turns to the building site and there follows an almost motionless scene. So
this sequence also shows codec’s behavior on a static scene after
intensive motion.

http://www.compression.ru/video/ 8
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Susi
Sequence title susi
Resolution 704x576
Number of frames 374
Color space YV12
Frames per second 25
Source MPEG-2 (40Mbit), Smart Deinterlace

Picture 3. Frame 193

This sequence is characterized by high-level noise and slow motion. In its


first part the scene is almost static (the girl only blinks), then there is some
motion (she abruptly moves her head) and then the scene becomes
almost static again. Noise is suppressed on every second frame due to
the B-frames option in MPEG-2 codec.

http://www.compression.ru/video/ 9
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
BBC
Sequence title bbc
Resolution 704x576
Number of frames 374
Color space YV12
Frames per second 25
Uncompressed (standard sequence), Smart
Source
Deinterlace

Picture 4. Frame 185 Picture 5. Frame 258

This sequence is characterized by pronounced rotary motion. It contains a


rotating striped drum with different pictures and photos on it. Quality of the
compressed sequence can be evaluated by observing details on these
images.

http://www.compression.ru/video/ 10
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Battle
Sequence title battle
Resolution 704x288
Number of frames 1599
Color space YV12
Frames per second 24
Source MPEG-2 (DVD), FlaskMPEG deinterlace

Picture 6. Frame 839

This sequence is a fragment of the “Terminator-2” movie, which


represents its very beginning. In terms of compression this sequence is
the most difficult one among all other sequences that took part in the
testing. That is because of three main reasons: constant brightness
changes (explosions and laser flashes, see the picture above), very quick
motion and frequent changes of the scene that make codecs often
compress frames as I-frames.

http://www.compression.ru/video/ 11
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Simpsons
Sequence title simpsons
Resolution 720x480
Number of frames 365
Color space YV12
Frames per second 24
Source MPEG-2 (DVD), progressive

Picture 7. Frame 50

This sequence is a fragment of “Simpsons” cartoon film. This is a classical


representative of cartoon films: sketchy movement, great number of
monochrome regions with abrupt junctions between them. Previously this
sequence was compressed in MPEG-2 with rather low bitrate.

http://www.compression.ru/video/ 12
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Matrix
Sequence title matrix
Resolution 720x416
Number of frames 239
Color space YV12
Frames per second 25
Source MPEG-2 (DVD), Smart Deinterlace

Picture 8. Frame 226

This sequence is a fragment of ”Matrix” movie. Relatively simple


movement, quite dim colors and small resolution allows codec to treat this
sequence in rather simple way.

http://www.compression.ru/video/ 13
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Concert
Sequence title concert
Resolution 1664x1088
Number of frames 390
Color space YV12
Frames per second 25
Source MPEG-2 (DVD), Smart Deinterlace

Picture 9. frame 128

This sequence is a part of HDTV broadcast of symphonic orchestra


concert. Sequence’s spatial resolution is very high. At the same time
motion is rather simple and sometimes it completely disappears. There
are two scene changes in this sequence.

http://www.compression.ru/video/ 14
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Codecs

DivX 6.0
• DivX 6.0 is not H.264 codec. It is MPEG-4 ASP codec, it takes part
in this testing only as one of the best representative of previous
video codec standard MPEG-4
• This is a VfW (Video for Windows) codec.
• Compression was performed using VirtualDub 1.6.10 video
processing program.
• Evaluation version of codec works for 6 months.
• There were no presets from developers. All tests were performed
using “Home Theater Profile”. For different test presets only Codec
Performance settings were changed:
o For “Best Quality” mode preset “Insane quality” was used
o For “Best Speed” mode preset “Balanced” was used

Picture 10. DivX 6.0

Remarks:

http://www.compression.ru/video/ 15
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Codec shifts source video sequence by one frame while using its own
decoder. With other decoders (specifically, XviD) this effect disappears.
For removing such shift next AviSynth script was used:
clip = AVISource("source.avi")
clip = clip.DeleteFrame(0)
clip = clip.DuplicateFrame(clip.FrameCount()-1)
return clip

Codec generates an error on “concert” sequence’s compression.


However, despite these drawbacks, codec significantly improved
compression quality in comparison with previous version. On the next
graph there is a comparison between different versions of DivX (metric is
Y-PSNR):

Y-PSNR Susi
41

40

39

38
Y-PSNR (db)

37

36

35

34

33

32
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 2800 3000

Bitrate, kbit\sec
DivX 6.0
DivX 5.2.1
DivX 3.22

Picture 11. DivX 6.0, DivX 5.21 and DivX 3.22 comparison

ArcSoft H.264
• Console encoding program.
• DirectShow filters were used for decoding.
• Codec (encoder and decoder) and presets were provided by
ArcSoft, Inc company specially for this test.
Remarks:
Codec works without remarks.

http://www.compression.ru/video/ 16
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Ateme H.264

Picture 12. Ateme H.264

• Console encoding program.


• Reference decoder JM9.8 was used for decoding.
• Codec and presets were provided by Ateme company specially for
testing.
Remarks:
Codec stores compressed sequence in MPEG4 container. Program
mp4box version 0.4.0 was used for extracting H.264 stream from it.

ATI H.264
• Console encoding program.
• Reference decoder JM9.8 was used for decoding.
• Codec and presets were provided by ATI Technologies Inc.
company specially for this test.
Remarks:
Codec has only “Best Speed” preset.

Elecard H.264
• Console encoding program.
• Console decoder provided by developers was used for decoding.
• Codec (encoder and decoder) and presets were provided by
Elecard LTD company specially for this test.
Remarks:
Codec works without remarks.

http://www.compression.ru/video/ 17
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Fraunhofer IIS H.264

Picture 13. Fraunhofer IIS H.264

• Console encoding program.


• Reference decoder JM9.8 was used for decoding.
• Codec and presets were provided by Fraunhofer Institute for
Integrated Circuits IIS specially for this test.
Remarks:
Codec works without remarks.

http://www.compression.ru/video/ 18
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
VSS H.264

Picture 14. VSS H.264

• Console encoding program.


• Console decoder was used for decoding.
• Codec (encoder and decoder) and presets were provided by
Vanguard Software Solutions, Inc. company specially for this test.
Remarks:
Codec generates an error while compressing “foreman” sequence.

http://www.compression.ru/video/ 19
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
x264

Picture 15. x264

• Console encoding program.


• Program ffmpeg 2005.09.09 was used for decoding.
• This codec is an Open Source project.
• Optimal settings were provided by codec’s Development Team.
Remarks:
During decoding ffmpeg program does not write last frame of video
sequence. Therefore we used sequences with duplicated last frame for
this codec.

http://www.compression.ru/video/ 20
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Preset “Best quality”

Y-PSNR
In this mode codecs tried to show best quality in single-pass mode.
Therefore major importance in this section is paid to graphs of quality of
compressed sequences in different metrics. All H.264 codecs used main
profile of encoding standard.
Below are some Y-PSNR/Bitrate and Delta Y-PSNR/Bitrate graphs.
PSNR (peak-to-peak signal-to-noise ratio) is a classic metric for video
quality measurement. For two pictures xi,j and yi,j metric’s value is defined
by the following formula:

2552 × n 2
d ( x, y ) = 10 × log n, n
10
∑ (x − y )
i =1, j =1
ij ij
2

Despite this metric does not generally reflect human perception of


pictures’ distortion, during last decades it is commonly used as main
criterion for video codecs’ performance evaluation.
Delta Y-PSNR (or Relative Y-PSNR) are comparative PSNR graphs,
where x264 codec was chosen as reference. For every measurement of
each codec the difference between this measurement and PSNR value of
reference codec with the same bitrate is plotted on these graphs. If
corresponding reference value is absent then it is linearly interpolated.

http://www.compression.ru/video/ 21
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
45

40
Y-PSNR (dB)

35

30

25
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 16. Y-PSNR. Sequence “foreman”

Relative metrics
0.5

0.5

1
Metric value

1.5

2.5

3.5
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 17. Delta Y-PSNR. Sequence “foreman”

http://www.compression.ru/video/ 22
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
42

40

38
Y-PSNR (dB)

36

34

32

30
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 18. Y-PSNR. Sequence “susi”

Relative metrics
1

0.5

0.5
Metric value

1.5

2.5

3.5
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 19. Delta Y-PSNR. Sequence “susi”

http://www.compression.ru/video/ 23
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
38

36

34

32
Y-PSNR (dB)

30

28

26

24

22
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 20. Y-PSNR. Sequence “bbc”

Relative metrics
2

2
Metric value

10
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 21. Delta Y-PSNR. Sequence “bbc”

http://www.compression.ru/video/ 24
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
45

40
Y-PSNR (dB)

35

30

25
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 22. Y-PSNR. Sequence “battle”

Relative metrics
1

0.5

0.5
Metric value

1.5

2.5

3
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 23. Delta Y-PSNR. Sequence “battle”

http://www.compression.ru/video/ 25
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
40

35
Y-PSNR (dB)

30

25

20
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 24. Y-PSNR. Sequence “simpsons”

Relative metrics
2

0
Metric value

5
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 25. Delta Y-PSNR. Sequence “simpsons”

http://www.compression.ru/video/ 26
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
46

44

42

40
Y-PSNR (dB)

38

36

34

32

30

28
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 26. Y-PSNR. Sequence “matrix”

Relative metrics
2.5

1.5

1
Metric value

0.5

0.5

1.5
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 27. Delta Y-PSNR. Sequence “matrix”

http://www.compression.ru/video/ 27
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
40

38

36

34
Y-PSNR (dB)

32

30

28

26

24
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 28. Y-PSNR. Sequence “concert”

Relative metrics
2

2
Metric value

10
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 29. Delta Y-PSNR. Sequence “concert”

http://www.compression.ru/video/ 28
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Conclusions:
• Despite significant compression quality improvement in DivX, it is
not a leader. And even more, if DivX is not far from leaders on
“susi”, “battle” and “matrix” sequences, on the rest sequences
(“foreman”, “bbc”, “simpsons”) it is most likely to be related to
trailing codecs. New version of DivX codec shows worse results on
“bbc” sequence than its old version 5.2.1; it was not able compress
“concert” sequence at all.
• There is no obvious leader among H.264 codecs. In most cases
leaders are x264 and Ateme codecs.
• The bad performance of Ateme H.264 codec on low birates is due
to a bug, which was fixed by developers after publication of this
comparison.
• Elecard codec could not manage with low bitrates of “concert”
sequence. It is clearly seen from Y-PSNR graph for this codec.

U-PSNR, V-PSNR
Besides luminance component (Y-plane) sometimes it is interesting to
look at codecs’ behavior on color components (U and V planes).

U-PSNR
48

46

44
U-PSNR (dB)

42

40

38

36
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 30. U-PSNR. Preset “Best quality”. Sequence “foreman”

http://www.compression.ru/video/ 29
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
U-PSNR
47

46

45

44
U-PSNR (dB)

43

42

41

40

39
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 31. U-PSNR. Preset “Best quality”. Sequence “susi”

U-PSNR
42

41

40

39
U-PSNR (dB)

38

37

36

35

34
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 32. U-PSNR. Preset “Best quality”. Sequence “bbc”

http://www.compression.ru/video/ 30
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
V-PSNR
44

42

40
V-PSNR (dB)

38

36

34
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 33. V-PSNR. Preset “Best quality”. Sequence “concert”

Conclusions:
• In color planes x264 codec shows slightly better result than Ateme
codec.
• Elecard codec has some problems with bitrate control on
“foreman” sequence. It is shown as “fall” of its curve on UV-PSNR
graphs. But this codec shows the best results on low bitrates on
this sequence.

SSIM, VQM
Several metrics recently appeared which aspire to be better
approximations of human perception. The most popular among them are
SSIM and VQM.
We have used them in our comparison, but they have presented no big
differences from PSNR metric.
Below are some graphs of these metrics for different sequences.

http://www.compression.ru/video/ 31
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-SSIM
1

0.95
Y-SSIM (Metric value)

0.9

Better quality
0.85

0.8

0.75
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 34. Y-SSIM measure. Preset “Best quality”. Sequence “foreman”

Y-VQM
3

2.5

Better quality
Y-VQM (Metric value)

1.5

0.5

0
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 35. Y-VQM measure. Preset “Best quality”. Sequence “foreman”

http://www.compression.ru/video/ 32
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-SSIM

0.9
Y-SSIM (Metric value)

0.85

0.8

0.75

0.7
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 36. Y-SSIM measure. Preset “Best quality”. Sequence “bbc”

Y-VQM
5.5

4.5
Y-VQM (Metric value)

3.5

2.5

1.5

1
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 37. Y-VQM measure. Preset “Best quality”. Sequence “concert”

http://www.compression.ru/video/ 33
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Blurring measure, blocking measure
During some time our laboratory is developing metrics, which allow
measuring blocking and blurring of frames in video sequences. Work on
these metrics is in progress, therefore we show only several graphs with
them.
Red horizontal line is a blocking measure (or blurring measure) of source
sequence. For blurring measure: the more is its value, the lesser is the
blurring of frame; for blocking measure: the more is its value, the bigger is
blocking of frame.

Y-BLUR
20

19

18
Y-BLUR (Metric value)

17

Less blurring
16

15

14

13

12

11
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS
Original

Picture 38. Y-Blurring measure. Preset “Best quality”. Sequence


“foreman”

http://www.compression.ru/video/ 34
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-BLOCK
14

13

12
Y-BLOCK (Metric value)

More blocking
11

10

7
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS
Original

Picture 39. Y-Blocking measure. Preset “Best quality”. Sequence


“foreman”

Total number of
Graph type Inserted in this document
graph
Average metric 196 24 (12%)

http://www.compression.ru/video/ 35
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Bitrate handling
Consider graphs showing how accurately every codec kept requested bit
rate. Grades on x-axis show target bitrates (point 0 is 100 kbps, point 9 –
2340 kbps). Grades on y-axis show how many times codec exceeded
declared bit rate (real bit rate to requested bit rate ratio).
Bitrate Handling

1.8

1.6
Bitrate handling

1.4

1.2

0.8
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 40. Bitrate handling. Preset “Best quality”. Sequence “foreman”

Bitrate Handling
2.2

1.8

1.6

1.4

1.2

0.8
0 1 2 3 4 5 6 7 8 9

DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 41. Bitrate handling. Preset “Best quality”. Sequence “susi”

http://www.compression.ru/video/ 36
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Bitrate Handling
10

0 1 2 3 4 5 6 7 8 9

DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 42. Bitrate handling. Preset “Best quality”. Sequence “bbc”

Bitrate Handling
6

1
0 1 2 3 4 5 6 7 8 9

DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 43. Bitrate handling. Preset “Best quality”. Sequence “battle”

http://www.compression.ru/video/ 37
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Bitrate Handling
7

1
0 1 2 3 4 5 6 7 8 9

DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 44. Bitrate handling. Preset “Best quality”. Sequence


“simpsons”

Bitrate Handling
3.5

2.5

1.5

0 1 2 3 4 5 6 7 8 9

DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 45. Bitrate handling. Preset “Best quality”. Sequence “matrix”

http://www.compression.ru/video/ 38
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Bitrate Handling
14

12

10

0 1 2 3 4 5 6 7 8 9

x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 46. Bitrate handling. Preset “Best quality”. Sequence “concert”

Conclusions:
• DivX codec keeps low bit rates badly. Frequently it generates files
which are several times bigger than the worst H.264 codec (by bit
rate handling).
• “bbc” is the hardest sequence for bit rate handling for all codecs.
• Fraunhofer IIS codec keeps bit rate better than others.

http://www.compression.ru/video/ 39
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Time
Now let’s consider graphs showing encoding time for each sequence
using “Best Quality” preset and average normalized time for this preset.
Average normalized time is obtained as follows. At first, for every
sequence codec with largest compression time is found. Compression
times of other codecs were divided by compression time of this codec.
After this step every codec has value from 0 to 1 for each video sequence.
On the second step every codec gets evaluation calculated as arithmetic
average of obtained values for all sequences. And these evaluations are
shown on average normalized time graph.

Times
300

250

200
Time (seconds)

150

100

50

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
Elecard
Ateme
Fraunhofer IIS

Picture 47. Encoding time. Preset “Best quality”. Sequence “foreman”

http://www.compression.ru/video/ 40
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
1200

1000

800
Time (seconds)

600

400

200

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 48. Encoding time. Preset “Best quality”. Sequence “susi”

Times
1400

1200

1000
Time (seconds)

800

600

400

200

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 49. Encoding time. Preset “Best quality”. Sequence “bbc”

http://www.compression.ru/video/ 41
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
3000

2500

2000
Time (seconds)

1500

1000

500

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 50. Encoding time. Preset “Best quality”. Sequence “battle”

Times
1000

800
Time (seconds)

600

400

200

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 51. Encoding time. Preset “Best quality”. Sequence “simpsons”

http://www.compression.ru/video/ 42
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
700

600

500
Time (seconds)

400

300

200

100

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 52. Encoding time. Preset “Best quality”. Sequence “matrix”

Times
6000

5000

4000
Time (seconds)

3000

2000

1000

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


x264
ArcSoft
VSS
Elecard
Ateme
Fraunhofer IIS

Picture 53. Encoding time. Preset “Best quality”. Sequence “concert”

http://www.compression.ru/video/ 43
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Preset "Best quality"

0,9

0,8

0,7

0,6

Time 0,5

0,4

0,3 0,2136
0,1547
0,2
0,1114
0,0913
0,06124
0,1 0,03567

0
ArcSoft Elecard DivX Ateme VSS x264 Fraunhofer IIS

Picture 54. Normalized average encoding time. Preset “Best quality”

Conclusions:
• The fastest codec is ArcSoft codec, the slowest – Fraunhofer IIS
codec.
• There is a noticeable work slowdown of Fraunhofer IIS and x264
codecs during bit rate increase.
• Fraunhofer IIS codec is approximately five times slower than all
the rest codecs.

http://www.compression.ru/video/ 44
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Preset “Best speed”

Main codecs’ objective in this mode is the fastest video compression with
satisfactory quality. Therefore main graphs in this section are graphs that
show compression speed.
Y-PSNR
However, let’s consider Y-PSNR graphs at first.

Graph type Total number of Inserted in this document


graph
Average metric 196 7 (3.5%)

Y-PSNR
45

40
Y-PSNR (dB)

35

30

25
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ATI
ArcSoft
Elecard
Fraunhofer IIS

Picture 55. Y-PSNR. Sequence “foreman”

http://www.compression.ru/video/ 45
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
40

38

36
Y-PSNR (dB)

34

32

30

28
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 56. Y-PSNR. Sequence “susi”

Y-PSNR
38

36

34

32
Y-PSNR (dB)

30

28

26

24

22

20
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 57. Y-PSNR. Sequence “bbc”

http://www.compression.ru/video/ 46
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
45

40

35
Y-PSNR (dB)

30

25

20
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 58. Y-PSNR. Sequence “battle”

Y-PSNR
38

36

34

32
Y-PSNR (dB)

30

28

26

24

22

20
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 59. Y-PSNR. Sequence “simpsons”

http://www.compression.ru/video/ 47
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Y-PSNR
44

42

40

38
Y-PSNR (dB)

36

34

32

30

28

26
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
DivX 6.0
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 60. Y-PSNR. Sequence “matrix”

Y-PSNR
38

36

34
Y-PSNR (dB)

32

30

28

26

24
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 61. Y-PSNR. Sequence “concert”

http://www.compression.ru/video/ 48
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Speed/Quality Tradeoff
Here are the most important graphs for this preset. They show codec’s
work time (abscissa axis) and quality of sequence, compressed with it
(axis of ordinates). If codec A is to the left of codec B and above it then
codec A is better than codec B; if to the right and below it then on the
contrary, codec B is better than codec A. In other cases nothing can be
said about definite advantage of one’s codec compared to another’s.
Bit rates in cutlines inside this section are target bit rates (not real codec
bit rates).
Graph type Total number of Inserted in this document
graph
Speed/quality tradeoff 1960 8 (0.4%)

Picture 62. Codec comparison with at speed/quality tradeoff graphs

Picture 63. Legend for


Speed/quality tradeoff graphs

http://www.compression.ru/video/ 49
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Sequence “susi”, Y-PSNR
Speed/Quality tradeoff Speed/Quality tradeoff
36 38
Y-PSNR (dB)

Y-PSNR (dB)
34
36
32

34
30

28
0 5 10 15 20 25 30 35 40 45 50 55 32
0 10 20 30 40 50 60 70
Time (sec)
Time (sec)

Picture 64. Bitrate 100 kbps Picture 65. Bitrate 340 kbps

Speed/Quality tradeoff Speed/Quality tradeoff


39
Y-PSNR (dB)

Y-PSNR (dB)
39.8
38.5

39.6
38
39.4

37.5
0 10 20 30 40 50 60 70 80 90 100 39.2
0 20 40 60 80 100 120 140

Time (sec)
Time (sec)

Picture 66. Bitrate 938 kbps Picture 67. Bitrate 2340 kbps

Sequence “battle”, Y-PSNR


Speed/Quality tradeoff Speed/Quality tradeoff
35 34
Y-PSNR (dB)

Y-PSNR (dB)

30 32

25 30

20
0 20 40 60 80 100 120 140 160 180 200 28
0 50 100 150 200 250

Time (sec) Time (sec)

Picture 68. Bitrate 100 kbps Picture 69. Bitrate 340 kbps

Speed/Quality tradeoff Speed/Quality tradeoff


38 42
Y-PSNR (dB)

Y-PSNR (dB)

37

36 40

35

34
0 50 100 150 200 250 300 38
0 50 100 150 200 250 300 350 400

Time (sec) Time (sec)

Picture 70. Bitrate 938 kbps Picture 71. Bitrate 2340 kbps

http://www.compression.ru/video/ 50
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Bitrate handling
Consider graphs showing how accurately every codec kept requested bit
rate. Grades on x-axis show target bitrates (point 0 is 100 kbps, point 9 –
2340 kbps). Grades on y-axis show how many times codec exceeded
declared bit rate (real bit rate to predetermined bit rate ratio).
Bitrate Handling

1.8

1.6

1.4

1.2

0.8
0 1 2 3 4 5 6 7 8 9

DivX
x264
ATI
ArcSoft
Elecard
Fraunhofer IIS

Picture 72. Bitrate handling. Preset “Best speed”. Sequence “foreman”

Bitrate Handling
3

2.5

1.5

0 1 2 3 4 5 6 7 8 9

DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 73. Bitrate handling. Preset “Best speed”. Sequence “susi”

http://www.compression.ru/video/ 51
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Bitrate Handling
10

0 1 2 3 4 5 6 7 8 9

DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 74. Bitrate handling. Preset “Best speed”. Sequence “bbc”

Bitrate Handling
6

1
0 1 2 3 4 5 6 7 8 9

DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 75. Bitrate handling. Preset “Best speed”. Sequence “battle”

http://www.compression.ru/video/ 52
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Bitrate Handling
8

0 1 2 3 4 5 6 7 8 9

DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 76. Bitrate handling. Preset “Best speed”. Sequence “simpsons”

Bitrate Handling
4

3.5

2.5

1.5

0 1 2 3 4 5 6 7 8 9

DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 77. Bitrate handling. Preset “Best speed”. Sequence “matrix”

http://www.compression.ru/video/ 53
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Bitrate Handling
14

12

10

0 1 2 3 4 5 6 7 8 9

x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 78. Bitrate handling. Preset “Best speed”. Sequence “concert”


Conclusions:
• Situation here is similar to “Best Quality” preset – DivX keeps bit
rate very bad, raising it too high on low bit rates.
• The best among H.264 codecs in bitrate handling is Fraunhofer
IIS, as before.

Time
Now let’s consider graphs that show time spent for each video sequence
encoding in “Best Speed” preset and average normalized time for this
preset.

http://www.compression.ru/video/ 54
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
40

30
Time (seconds)

20

10

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ATI
ArcSoft
Elecard
Fraunhofer IIS
Picture 79. Encoding time. Preset “Best speed”. Sequence “foreman”

Times
140

120

100
Time (seconds)

80

60

40

20

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS
Picture 80. Encoding time. Preset “Best speed”. Sequence “susi”

http://www.compression.ru/video/ 55
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
160

140

120

100
Time (seconds)

80

60

40

20

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS
Picture 81. Encoding time. Preset “Best speed”. Sequence “bbc”

Times
400

350

300

250
Time (seconds)

200

150

100

50

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 82. Encoding time. Preset “Best speed”. Sequence “battle”

http://www.compression.ru/video/ 56
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
100

80
Time (seconds)

60

40

20

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS
Picture 83. Encoding time. Preset “Best speed”. Sequence “simpsons”

Times
80

70

60

50
Time (seconds)

40

30

20

10

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


DivX
x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS
Picture 84. Encoding time. Preset “Best speed”. Sequence “matrix ”

http://www.compression.ru/video/ 57
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Times
400

350

300

250
Time (seconds)

200

150

100

50

0
0 1 2 3 4 5 6 7 8 9

Runs (different bitrates)


x264
ATI
ArcSoft
VSS
Elecard
Fraunhofer IIS

Picture 85. Encoding time. Preset “Best speed”. Sequence “concert”

Preset "Best speed"

0.9

0.8

0.7

0.6

Time 0.5

0.4 0.3217
0.2882
0.24
0.3 0.2143
0.1869

0.2

0.06203
0.1

0
ATI VSS DivX x264 ArcSoft Elecard Fraunhofer IIS

Picture 86. Normalized average encoding time. Preset “Best speed”

http://www.compression.ru/video/ 58
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Conclusions:
• Absolute leader by speed is codec from ATI company. At the
average, it worked several times faster than its nearest competitor
– VSS codec. And at the same time it is not worst one by the
quality, though it is one of trailing codecs.
• The slowest codec in this mode again is Fraunhofer IIS. It lags
behind its nearest competitor more than 3 times.
• Encoding time for Fraunhofer IIS codec increases noticeably when
bit rate is increased.

http://www.compression.ru/video/ 59
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

2-pass mode and High profile

Additionally to one-pass mode in Main profile of standard H.264 we tested


two-pass mode and compression using possibilities of High profile. Only
x264, Elecard, Ateme and Fraunhofer IIS codecs took part in this test.
This test was held on “foreman” and “battle” sequences and without speed
measuring.
As it is seen on picture below, it is difficult to analyze results using
PSNR/Bitrate graphs. That is why we use Delta Y-PSNR graphs instead
of absolute Y-PSNR graphs in this part. In all graphs reference is Main
Profile one pass results for current codec.
x264
46

44

42

40
Y-PSNR(dB)

38

36

34

32

30

28
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile

Picture 87. Different presets of codec x264, Absolute Y-PSNR

http://www.compression.ru/video/ 60
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Sequence “foreman”, preset “Best quality”
x264
0.7

0.6

0.5
Y-PSNR(dB)

0.4

0.3

0.2

0.1

0
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile
Picture 88. Different presets of codec x264, Delta Y-PSNR

Elecard

0.8

0.6
Y-PSNR(dB)

0.4

0.2

0.2

0.4
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile
Picture 89. Different presets of codec Elecard H.264, Delta Y-PSNR

http://www.compression.ru/video/ 61
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Ateme
2

1.5

0.5
Y-PSNR(dB)

0.5

1.5

2
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
Main profile + psy
Picture 90. Different presets of codec Ateme H.264, Delta Y-PSNR

Ateme
0.6

0.4
Y-VQM(Metric value)

0.2

0.2

0.4

0.6
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
Main profile + psy
Picture 91. Different presets of codec Ateme H.264, Delta Y-VQM

http://www.compression.ru/video/ 62
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Ateme
0.06

0.04
Y-SSIM(Metric value)

0.02

0.02

0.04

0.06
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
Main profile + psy
Picture 92. Different presets of codec Ateme H.264, Delta-Y-SSIM

Fraunhofer IIS
0.6

0.4

0.2
Y-PSNR(dB)

0.2

0.4
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile
Picture 93. Different presets of codec Fraunhofer IIS H.264, Delta Y-PSNR

http://www.compression.ru/video/ 63
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Sequence “battle”, preset “Best quality”
x264
0.5

0.4

0.3
Y-PSNR(dB)

0.2

0.1

0.1

0.2
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile
Picture 94. Different presets of codec x264, Delta Y-PSNR

Elecard

0.6

0.4
Y-PSNR(dB)

0.2

0.2

0.4
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile
Picture 95. Different presets of codec Elecard H.264, Delta Y-PSNR

http://www.compression.ru/video/ 64
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Ateme
1

0.5

0
Y-PSNR(dB)

0.5

1.5

2
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
Main profile + psy
Picture 96. Different presets of codec Ateme H.264, Delta Y-PSNR

Ateme

0.6
Y-VQM(Metric value)

0.4

0.2

0.2

0.4
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
Main profile + psy
Picture 97. Different presets of codec Ateme H.264, Delta Y-VQM

http://www.compression.ru/video/ 65
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Ateme
0.02

0.01
Y-SSIM(Metric value)

0.01

0.02

0.03

0.04
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
Main profile + psy
Picture 98. Different presets of codec Ateme H.264, Delta Y-SSIM

Fraunhofer IIS
1

0.5

0
Y-PSNR(dB)

0.5

1.5

2
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400

Bitrate, kbit\sec
Main profile
Main profile 2-pass
High profile
Picture 99. Different presets of codec Fraunhofer IIS H.264, Delta Y-PSNR

http://www.compression.ru/video/ 66
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Note:
• Fraunhofer IIS H.264 codec showed some not very adequate
results during this part of testing because of presets that were
provided for us:
o Main profile with two passes has quality parameter equal to
4 (good quality)
o Main profile with one pass and High profile have quality
parameter equal to 6 (best quality)

http://www.compression.ru/video/ 67
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Per frame comparison

In addition to average metrics’ values we measured metrics’ values for


separate frames. Basing on this data, Rate Control of each codec could
be analyzed. As a rule, on such graphs it is clearly seen whether codec
uses B-frames or not (“striation” of graph), location of I-frames (abrupt
peaks or collapses on graph), scene changing reaction, quality of R-D
models, etc.
On the next graphs there are frames on abscissa axis and bit rates on
axis of ordinates (low bit rates are below). Color shows metric’s value: the
more red, the lesser is value. Thus, for Y-PSNR metric red color means
bad quality, blue – good quality. All graphs of one sequence have the
same colors (every color corresponds to only one value of metric on all
graphs).
Analyzing these graphics we should take into account bit rate handling of
codecs since these graphs do not consider it.
Sequence “foreman”, Y-PSNR, Preset “Best quality”

DivX Perframe Y-PSNR

Picture 100. Codec DivX. Sequence “foreman”.

http://www.compression.ru/video/ 68
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
x264 Perframe Y-PSNR

Picture 101. Codec x264. Sequence “foreman”.

ArcSoft Perframe Y-PSNR

Picture 102. Codec ArcSoft H.264. Sequence “foreman”.

http://www.compression.ru/video/ 69
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Elecard Perframe Y-PSNR

Picture 103. Codec Elecard H.264. Sequence “foreman”.

Ateme Perframe Y-PSNR

Picture 104. Codec Ateme H.264. Sequence “foreman”.

http://www.compression.ru/video/ 70
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Fraunhofer IIS Perframe Y-PSNR

Picture 105. Codec Fraunhofer IIS H.264. Sequence “foreman”.

Sequence “bbc”, Y-PSNR, Preset “Best quality”


DivX Perframe Y-PSNR

Picture 106. Codec DivX. Sequence “bbc”.

On this graph compression quality does not significantly depend from bit
rate, because DivX codec does not maintain low bit rates well, and works
badly on high ones.

http://www.compression.ru/video/ 71
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
x264 Perframe Y-PSNR

Picture 107. Codec x264. Sequence “bbc”.

ArcSoft Perframe Y-PSNR

Picture 108. Codec ArcSoft H.264. Sequence “bbc”.

http://www.compression.ru/video/ 72
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
VSS Perframe Y-PSNR

Picture 109. Codec VSS H.264. Sequence “bbc”.

Elecard Perframe Y-PSNR

Picture 110. Codec Elecard H.264. Sequence “bbc”.

http://www.compression.ru/video/ 73
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Ateme Perframe Y-PSNR

Picture 111. Codec Ateme H.264. Sequence “bbc”.

Fraunhofer IIS Perframe Y-PSNR

Picture 112. Codec Fraunhofer IIS H.264. Sequence “bbc”.

Remarks:
• These graphs show that x264, Elecard, Ateme and VSS codecs
use B-frames.
• DivX and Elecard codecs have very interesting B-frames
placement algorithm. They change positions of each type of
frames depending on bit rate value. This is shown on graphs as
vertical wavy lines.
• “bbc” sequence clearly shows problems in bit rate control of
ArcSoft codec. It is represented as presence of “holes” on average
bit rates. Considering complex circular motion in this sequence,
one could suppose presence of problems with motion estimation in
this codec.

http://www.compression.ru/video/ 74
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
• Large quality overstating of I-frames in x264 codec (it is also
typical for Ateme and Fraunhofer IIS codecs, but at smaller
degree) may be caused by inaccurate prediction of current frame
type. It is represented as distinct blue lines that appear several
times in sequence.

Graph type Total number of Inserted in this document


graph
Per frame metrics 1414 13 (0.9%)

http://www.compression.ru/video/ 75
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Visual comparison

Even in spite of appearance of new metrics, that more adequately reflect


human perception of video, subjective video tests still do not lose their
importance.
We set ourselves a problem to compare video codecs using only existing
objective metrics. But in addition to various graphs that impartially
evaluate quality of obtained results, below we give several frames from
“bbc” and “battle” sequences, compressed with different codecs.
Sequence “bbc”, frame 170, bitrate 1140 kbps

Picture 113. Original Picture 114. DivX Picture 115. x264

Picture 116. Original. Image Picture 117. DivX. Image Picture 118. x264. Image
differences. Y-PSNR differences. Y-PSNR differences. Y-PSNR

http://www.compression.ru/video/ 76
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Sequence “bbc”, frame 250, bitrate 1140 kbps

Picture 119. Original Picture 120. DivX Picture 121. x264

Picture 122. Original. Picture 123. DivX. Image Picture 124. x264. Image
Image differences. Y-PSNR differences. Y-PSNR differences. Y-PSNR

Sequence “battle”, frame 527, bitrate 700 kbps

Picture 125. Original

http://www.compression.ru/video/ 77
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Picture 126. DivX

Picture 127. x264

Picture 128. ArcSoft

http://www.compression.ru/video/ 78
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Picture 129. VSS

Picture 130. Elecard

Picture 131. Ateme

http://www.compression.ru/video/ 79
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Picture 132. Fraunhofer IIS

http://www.compression.ru/video/ 80
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Sequence “battle”, frame 527, bitrate 700 kbps, Y-PSNR

Picture 133. Y-PSNR ArcSoft Picture 134. Y-PSNR Ateme

Picture 135. Y-PSNR DivX Picture 136. Y-PSNR Elecard

Picture 137. Y-PSNR Fraunhofer IIS Picture 138. Y-PSNR VSS

Picture 139. Y-PSNR Original Picture 140. Y-PSNR x264

http://www.compression.ru/video/ 81
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Informal codec comparison

As it is clearly seen on the graphs, codecs show significantly different


results on different sequences. Selected sequences have different types
in terms of motion and noise, and this allows checking which codecs are
tuned to all types of sequences, and which one - to only one. But also it is
very interesting to evaluate codec behavior on all test data.
We considered averaging of results between different sequences as
incorrect, and used a method of assigning points to codecs for different
measurements. Points are united in arbitrary informal rating in the end.
We tried to reflect real situation on test data as much as possible. We are
still developing methodology of our informal comparison. Therefore it is
better to consider following results as subjective opinion of comparison
authors.
Informal comparison rules
Separate comparisons were carried out for “Best Quality” and “Best
Speed” presets. Several graphs were chosen for each preset, on
which comparison was held. Obtained marks were summed with some
predefined weights.
Codecs received points in a following way:
• If codec is one of the leaders on current graph then it received
3 points.
• If codec is trailing on current graph then it received 1 point.
• Otherwise it is received 2 points.
Following graphs were used for “Best Quality” preset with
corresponding coefficients:
• Y-PSNR graphs, coefficient 4.
• U-PSNR graphs, coefficient 1.
• V-PSNR graphs, coefficient 1.
• SSIM graphs, coefficient 1.
• VQM graphs, coefficient 1.
• Bit rate handling graphs, coefficient 3 (denoted in tables as
“BH”).
• Graphs of absolute speed, coefficient 1.
Following graphs were used for “Best Speed” preset with
corresponding coefficients:
• Y-PSNR graphs, coefficient 1.
• Bit rate handling graphs, coefficient 2 (denoted in tables as
“BH”).
• Graphs of absolute speed, coefficient 4.

http://www.compression.ru/video/ 82
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Average values were computed as arithmetic average of all
successfully encoded sequences (i.e. codecs’ errors were not taken
into account).
Informal comparison results

Preset “Best quality”


Sequence “foreman”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 1 2 1 0 2 3 2
U-PSNR 1 3 1 0 3 3 2
V-PSNR 1 3 2 0 3 3 2
SSIM 1 3 1 0 2 2 2
VQM 1 2 1 0 2 3 2
BH 1 2 2 0 2 2 2
Time 2 2 3 0 2 3 1
Total 13 27 18 0 26 32 23

Sequence “susi”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 2 2 1 2 2 3 2
U-PSNR 2 3 1 2 2 2 1
V-PSNR 2 3 1 3 2 2 1
SSIM 2 2 1 2 2 3 2
VQM 2 2 1 2 1 3 2
BH 1 2 3 2 2 2 1
Time 2 2 3 2 2 2 1
Total 21 26 20 25 23 30 18

Sequence “bbc”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 1 2 1 2 2 3 3
U-PSNR 1 3 1 2 2 2 3
V-PSNR 2 3 1 2 2 3 3
SSIM 2 2 1 3 2 3 2
VQM 2 2 1 2 2 3 3
BH 1 3 1 2 2 2 3
Time 2 2 3 2 2 2 1
Total 16 29 14 25 24 31 33

Sequence “battle”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 2 2 1 1 2 3 2
U-PSNR 1 3 1 2 3 2 3
V-PSNR 1 3 1 2 3 2 3
SSIM 2 2 1 1 2 3 2
VQM 2 2 1 2 2 3 3
BH 1 3 2 2 2 2 3
Time 2 2 3 2 2 2 1
Total 19 29 17 19 26 30 29

http://www.compression.ru/video/ 83
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Sequence “simpsons”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 2 3 1 3 2 3 2
U-PSNR 1 3 1 3 2 2 2
V-PSNR 1 3 1 3 3 2 2
SSIM 2 3 1 3 2 2 2
VQM 2 3 1 3 2 2 2
BH 1 2 2 2 2 2 3
Time 2 2 3 2 2 2 1
Total 19 32 17 32 25 28 26

Sequence “matrix”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 2 2 1 2 2 3 1
U-PSNR 2 3 1 3 2 2 1
V-PSNR 2 3 1 2 3 2 1
SSIM 2 2 1 2 2 3 1
VQM 2 2 1 2 2 3 2
BH 1 1 2 3 2 2 2
Time 2 2 3 2 2 2 1
Total 21 23 17 28 25 30 16

Sequence “concert”
DivX x264 ArcSoft VSS Elecard Ateme Fraunhofer IIS
Y-PSNR 0 2 1 3 1 3 3
U-PSNR 0 3 3 2 2 2 1
V-PSNR 0 3 3 2 2 2 1
SSIM 0 2 1 3 2 1 3
VQM 0 2 1 3 1 2 3
BH 0 2 2 2 1 2 3
Time 0 2 2 2 3 2 1
Total 0 26 20 30 17 27 30

Results
Codec Average points Place
Ateme 29.71 1
x264 27.43 2
VSS 26.5 3
Fraunhofer IIS 25 4
Elecard 23.71 5
DivX 18.17 6
ArcSoft 17.57 7

http://www.compression.ru/video/ 84
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

Preset “Best speed”


Sequence “foreman”
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 1 2 1 2 0 3 2
BH 1 2 3 2 0 2 1
Time 2 2 3 2 0 2 1
Total 11 14 19 14 0 15 8

Sequence “susi”
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 2 2 1 2 2 3 2
BH 1 2 2 3 3 2 1
Time 2 2 3 2 2 2 1
Total 12 14 17 16 16 15 8

Sequence “bbc”
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 1 2 2 1 2 3 3
BH 1 2 2 1 2 2 2
Time 2 2 3 2 2 2 1
Total 11 14 18 11 14 15 11

Sequence “battle”
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 2 3 1 2 1 3 2
BH 1 2 2 2 2 2 3
Time 2 2 3 2 2 2 1
Total 12 15 17 14 13 15 12

Sequence “simpsons’
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 2 2 1 2 1 3 3
BH 1 2 2 2 2 2 3
Time 2 2 3 2 2 2 1
Total 12 14 17 14 13 15 13

Sequence “matrix”
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 3 2 2 2 2 2 2
BH 1 2 2 3 3 2 2
Time 2 2 3 2 2 2 1
Total 13 14 18 16 16 14 10

http://www.compression.ru/video/ 85
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005
Sequence “concert”
DivX x264 ATI ArcSoft VSS Elecard Fraunhofer IIS
Y-PSNR 0 3 1 2 2 3 3
BH 0 2 1 2 2 1 3
Time 0 2 3 2 2 2 1
Total 0 15 15 14 14 13 13

Results
Codec Average points Place
ATI 17.29 1
Elecard 14.57 2
VSS 14.33 3
x264 14.29 4
ArcSoft 14.14 5
DivX 11.83 6
Fraunhofer IIS 10.71 7

http://www.compression.ru/video/ 86
MPEG-4 AVC/H.264 VIDEO CODEC COMPARISON CS MSU GRAPHICS&MEDIA LAB
VIDEO GROUP MOSCOW, 12 DEC 2005

General conclusions

• Comparing to previous year comparison, the level of H.264


standard codecs has increased significantly. One year ago best
codecs of old MPEG4-ASP standard were comparable to best
codecs of H.264 standard, now this situation greatly changed.
DivX codec is inferior to most codecs of new standard, even
despite considerable growth of its quality comparing to previous
version.
• It is rather difficult to choose absolute leader by quality among
codecs of new standard. x264 and Ateme codecs showed
approximately equal best results.
• Obvious leader by speed is codec from ATI company. It was
significantly faster than the others while not always showing worst
results.

http://www.compression.ru/video/ 87

You might also like