digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   HCenc: Variable Quantization Matrix (http://www.digitalfaq.com/archives/encode/14081-hcenc-variable-quantization.html)

Sagittaire 01-26-2006 09:00 AM

Re: QMatOp
 
Quote:

Originally Posted by danpos
@ALL

In addition to Prodater's statement and considering that this is a HC forum, I've to say that SAPSTAR already has done something similar to proposed:

QMatOp :!:

It uses DCTune do scan and analyse GOPs and other things in order to generate optimal quantization matrix constrained to specified target average bitrate.

Greetings,

Yes ... DCTune ... like I say in my previous post but ...

1) QMatOp produce only "optimized matrix" for complete source I think. kwag want adapatative matrix for each GOP.

2) DCTune produce best possible adaptative (for DCTune HVS model) matrix only for intra and not for inter. For example HVS matrix serie (HVS-best, HVS-better, HVS-good) use scientific HVS study only for intra. All HVS matrix use the same intra matrix and simple scaling for inter matrix (x1.125 for HVS-best, x1.1875 for HVS-better and x1.250 for HVS-good)

hank315 04-18-2006 11:27 AM

This thread was about variable quantization matrices, so now asking for some beta-testers...
Matrices can be changed on a GOP level, the only thing is you have to write your own code (DLL).
This new release also supports pulldown.
Some updates to the encoding engine, looks better, especially for lower bitrates.
Before the final release some tests would be nice, please PM me and I will mail it.

fabrice 04-18-2006 03:03 PM

Hi,

I know there shouldn't have compatibility problems, from what I read before, but how could we generate a sample to check that this approach don't generate incompatibility with some SAP. I'm not sure mine would be a good candidate, as he read almost everything...

Anyway, I could do some tests, if there would have a basic way to force a matrice, without writing a DLL...

Salu2
Fabrice

fabrice 04-27-2006 12:40 AM

Check your SAP compatibility with variable matrix
 
Hi all,

Thanks to Hank :bow: , I've been playing with variable matrix in my SAP, generating a mpeg2 file with a different matrix in each GOP. I haven't had any problem (but normal as my player is a "chinise" one, that play almost everything).

The used values in this file are:
Code:

Default Luma and Chroma Intra Quant Matrix:
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83

Default Luma and Chroma Non-Intra Quant Matrix:
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16

Luma and Chroma Intra Quant Matrix at encoded frame 0:
8 8 11 20 23 24 26 30
8 9 13 23 24 26 30 33
11 13 16 24 26 30 33 34
20 23 24 28 32 33 34 36
23 24 26 32 35 34 36 43
24 26 30 33 34 36 43 52
26 30 33 34 36 43 52 62
30 33 34 36 43 52 62 71

Luma and Chroma Non-Intra Quant Matrix at encoded frame 0:
14 16 18 20 22 23 25 27
16 18 20 22 23 25 27 29
18 20 22 23 25 27 29 30
20 22 23 27 29 29 30 32
22 23 25 29 30 30 32 34
23 25 27 29 30 32 34 36
25 27 29 30 32 34 38 38
27 29 30 32 34 36 38 39

Luma and Chroma Non-Intra Quant Matrix at encoded frame 30:
14 16 18 20 21 23 25 27
16 18 20 21 23 25 27 29
18 20 21 23 25 27 29 30
20 21 23 27 29 29 30 32
21 23 25 29 30 30 32 34
23 25 27 29 30 32 34 36
25 27 29 30 32 34 38 38
27 29 30 32 34 36 38 39

Luma and Chroma Intra Quant Matrix at encoded frame 135:
8 8 11 20 24 24 26 31
8 9 13 24 24 26 31 34
11 13 16 24 26 31 34 34
20 24 24 28 33 34 34 36
24 24 26 33 35 34 36 43
24 26 31 34 34 36 43 53
26 31 34 34 36 43 53 62
31 34 34 36 43 53 62 72

Luma and Chroma Non-Intra Quant Matrix at encoded frame 135:
14 16 18 20 22 24 25 27
16 18 20 22 24 25 27 29
18 20 22 24 25 27 29 31
20 22 24 27 29 29 31 33
22 24 25 29 31 31 33 34
24 25 27 29 31 33 34 36
25 27 29 31 33 34 38 38
27 29 31 33 34 36 38 40

Luma and Chroma Intra Quant Matrix at encoded frame 150:
8 8 11 20 24 25 26 31
8 9 13 24 25 26 31 34
11 13 16 25 26 31 34 35
20 24 25 28 33 34 35 37
24 25 26 33 36 35 37 44
25 26 31 34 35 37 44 53
26 31 34 35 37 44 53 63
31 34 35 37 44 53 63 72

Luma and Chroma Non-Intra Quant Matrix at encoded frame 150:
15 16 18 20 22 24 26 27
16 18 20 22 24 26 27 29
18 20 22 24 26 27 29 31
20 22 24 27 29 29 31 33
22 24 26 29 31 31 33 35
24 26 27 29 31 33 35 37
26 27 29 31 33 35 38 38
27 29 31 33 35 37 38 40
...

(get with QuantDump)

To check the compatibility with others , I post here an ISO image of a DVD made with this variable matrix mpeg2 (the size is 15Mb): http://www.mytempdir.com/625081

Thanks to check that it works in your SAP.

Fabrice

kwag 04-27-2006 12:47 AM

Thanks Fabrice :D
I'm downloading it right now.
I'll burn it tomorrow and report how it plays on my DVD players :cool:

-kwag

hank315 04-29-2006 04:13 PM

Just released HC018:

Changelog:
- updated encoding engine
- added pulldown 23.976 --> 29.97
- added adaptive matrix
- GUI bug fixes

Get HCenc at www.bitburners.com

rds_correia 04-29-2006 04:31 PM

Uauh!!!
Thanks Hank :D.
I'll give it a try this weekend.
Thanks for sharing it with us ;).
Cheers


All times are GMT -5. The time now is 02:30 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.