Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th June 2011, 15: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
Old 14th June 2011, 20:09   #2  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,477
Thanks for reporting the issue.
Probably Hank will recompile HCenc A.S.A.P.
Midzuki is offline   Reply With Quote
Old 18th June 2011, 21:08   #3  |  Link
aerDNA
Registered User
 
aerDNA's Avatar
 
Join Date: Apr 2009
Location: Rijeka, Croatia
Posts: 10
Seems you were wrong, unless you were being sarcastic, I can't tell for sure. :)
I like manono1, I prefer it to MPEG and I'm sure I'm not the only one. When it's used as a custom matrix, everything's in order so there's no rush as far as I'm concerned, the important thing is that people who use manono matrices are aware of the bug.

Last edited by aerDNA; 18th June 2011 at 21:16.
aerDNA is offline   Reply With Quote
Old 19th June 2011, 00:08   #4  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
Indeed, the manono intra matrices were wrong, should be fixed now, a new beta can be downloaded here.
I still need to look at the max bitrate exceeding problem reported by VonOben.
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 19th June 2011, 01:56   #5  |  Link
aerDNA
Registered User
 
aerDNA's Avatar
 
Join Date: Apr 2009
Location: Rijeka, Croatia
Posts: 10
Yep, it's fixed.
aerDNA is offline   Reply With Quote
Old 19th June 2011, 06:06   #6  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,477
Quote:
Originally Posted by aerDNA View Post
Seems you were wrong, unless you were being sarcastic, I can't tell for sure.
No problemos, many people like to misunderstand everything that I say.
Midzuki is offline   Reply With Quote
Old 27th June 2011, 10:24   #7  |  Link
VonOben
Registered User
 
Join Date: Sep 2008
Posts: 40
Quote:
Originally Posted by hank315 View Post
I still need to look at the max bitrate exceeding problem reported by VonOben.
I like this.

As long as developers let me know if they plan to do something, plan not to do something or if they don't know what they plan... I'm happy. Then it really doesn't matter if it's a process that will take days, years or forever.

What I can't stand are developers (myself including) who just are silent.

(Sorry for this little rant... the Boxee Box-team got me rewed up. Damn-piece-of-locked-down-crap-that-I'm-about-to-sell.)
VonOben is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.