View Single Post
Old 14th June 2011, 14:35   #1  |  Link
aerDNA
Registered User
 
aerDNA's Avatar
 
Join Date: Apr 2009
Location: Rijeka, Croatia
Posts: 10
HCEnc - "corrupted" built-in matrices?

This may have been reported already but there's a problem in HCEnc 0.25/0.26b, what the title says. The matrices in question are MANONO1-3. I stumbled upon it accidentally, I was toying around, opened a HCEnc-encoded clip in DGIndex and checked the 'Log Quant Matrices' option. The result was confusing as Intra and NonIntra values were identical. Test_Clip.quants.txt:
Quote:
Intra Luma and Chroma Matrix at encoded frame 0:
12 12 13 14 15 16 22 26
12 13 14 15 16 22 26 32
13 14 15 16 22 26 32 41
14 15 16 22 26 32 41 53
15 16 22 26 32 41 53 94
16 22 26 32 41 53 70 94
22 26 32 41 53 70 94 94
26 32 41 53 94 94 94 94

NonIntra Luma and Chroma Matrix at encoded frame 0:
12 12 13 14 15 16 22 26
12 13 14 15 16 22 26 32
13 14 15 16 22 26 32 41
14 15 16 22 26 32 41 53
15 16 22 26 32 41 53 94
16 22 26 32 41 53 70 94
22 26 32 41 53 70 94 94
26 32 41 53 94 94 94 94
The matrix used was MANONO1. Encoding with MANONO2-3 revealed the same issue. Then I tried other matrices (tested MPEG, AVAMAT7, FOX1-3) and the results were as I originally expected - DGIndex's quants log matched the actual matrix used.
Then I used MANONO1 as a custom matrix (created an mtx file with values provided in HCEnc documentation) and the result was as it should be:
Quote:
Intra Luma and Chroma Matrix at encoded frame 0:
8 8 8 9 11 13 14 17
8 8 9 11 13 13 14 17
8 8 11 12 13 14 17 94
9 11 13 13 14 17 17 94
11 11 13 13 14 17 94 94
13 13 14 16 17 20 94 94
13 13 14 17 94 94 94 94
13 14 17 94 94 94 94 94

NonIntra Luma and Chroma Matrix at encoded frame 0:
12 12 13 14 15 16 22 26
12 13 14 15 16 22 26 32
13 14 15 16 22 26 32 41
14 15 16 22 26 32 41 53
15 16 22 26 32 41 53 94
16 22 26 32 41 53 70 94
22 26 32 41 53 70 94 94
26 32 41 53 94 94 94 94
So my conclusion was there's definitely something wrong with built-in manono matrices.

Sorry for going into such detail about something that could've been summarized in a sentence or two but that's how I am, at least there's no chance of a misunderstanding. :) I hope my feedback is helpful.
aerDNA is offline   Reply With Quote