Recent Changes - Search:

MenuBar

Wiki Guides



uLTraCarl's Fansubbing Comparision
Jimaku-Himaku
Ultima Fansub Comparison
Anime-wiki
Andrewlb
KB /

Conversion Tables for DRF quantizers between Xvid (ASP) and H.264 (AVC)

Video Codecs usually compress video by omitting details and simplifying redundant areas on the video, using a series of quantizers, or known in DivX as detail removal factors (DRFs). The quantizer scales in in H.264 do not match the Xvid quantizer scale, in that it is wider scale and uses an exponential logarithm. The following is a conversion table for each codec's quantizer value and its relative "perceived" quality in the other's quantizer scale.


The Main Formulas:

AVC = (log ASP / log 2) * 6 +12

H.264 quantizer in is defined as the log of the xvid quantizer, divided by 0.30103, multiplied by 6, plus 12.

ASP = 10(AVC-12) /6 * log 2

a quantizer value in Xvid is defined as 10 to the power of the H.264 quantizer subtracted 12, divided by 6, and multiplied by 0.30103.
H.264 to Xvid Xvid to H.264
H.264 Relative value in Xvid Xvid Relative value in H.264
	1
	2
	3
	4
	5
	6
	7
	8
	9
	10
	11
	12
	13
	14
	15
	16
	17
	18
	19
	20
	21
	22
	23
	24
	25
	26
	27
	28
	29
	30
	31
	32
	33
	34
	35
	36
	37
	38
	39
	40
	41
	42
	43
	44
	45
	46
	47
	48
	49
	50
	51
	0.28
	0.32
	0.35
	0.39
	0.44
	0.50
	0.56
	0.63
	0.71
	0.79
	0.89
	1.00
	1.12
	1.25
	1.41
	1.58
	1.78
	2.00
	2.24
	2.51
	2.81
	3.16
	3.55
	3.98
	4.67
	5.01
	5.62
	6.31
	7.08
	7.94
	8.91
	10.00
	11.22
	12.59
	14.12
	15.85
	17.78
	19.95
	22.39
	25.11
	28.18
	31.62
	35.48
	39.81
	44.67
	50.12
	56.23
	63.09
	70.79
	79.43
	89.13
	1
	2
	3
	4
	5
	6
	7
	8
	9
	10
	11
	12
	13
	14
	15
	16
	17
	18
	19
	20
	21
	22
	23
	24
	25
	26
	27
	28
	29
	30
	31
	12.0
	18.0	
	21.5	
	24.1	
	25.9	
	27.6	
	28.9	
	30.1	
	31.1	
	32.0	
	32.8	
	33.5	
	34.2	
	34.9	
	35.5	
	36.1	
	36.6	
	37.1	
	37.6	
	37.9	
	38.4	
	38.8	
	39.2	
	39.6	
	40.0	
	40.3	
	40.6	
	41.0	
	41.2	
	41.5	
	41.8
Edit - History - Print - Recent Changes - Search
Page last modified on 2006-04-29