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. |
13th May 2014, 05:41 | #1 | Link |
Registered User
Join Date: Apr 2014
Posts: 18
|
How to use aq-mod 3&4?
I use taro's x264 build(Known as tmod), and aq-mod 3&4 are included in it. I've read some threads about the OreAQ and MixAQ(--aq-mod 3 --aq3-mod 1&2 in this case), afaik, OreAQ and MixAQ can improve the quality in dark scene and flat areas, especially great to encode animes. But, as for aq-mod 4, I have no idea what it exactly does since I didn't find any information while googling.
Besides I don't know what exactly aq3-boundary,i/p/bfator <up:down> means, and how to set the proper parameters for anime encoding. Code:
--aq-mode <integer> AQ method [1] - 0: Disabled - 1: Variance AQ (complexity mask) - 2: Auto-variance AQ (experimental) - 3: Auto-variance AQ mod1 - 4: Auto-variance AQ mod2 --aq-strength <float> Reduces blocking and blurring in flat and textured areas. [1.0] --aq-sensitivity <float> "Center" of AQ curve. [10.0] - 5: most QPs are raised - 10: good general-use sensitivity - 15: most QPs are lowered --aq-ifactor <float> AQ strength factor of I-frames [1.00] --aq-pfactor <float> AQ strength factor of P-frames [1.00] --aq-bfactor <float> AQ strength factor of B-frames [1.00] --aq2-strength <float> Use 2nd AQ (Haali's AQ) algorithm for support. [0.0] 0.0: no 2nd AQ 1.1: strong 2nd AQ --aq2-sensitivity <float> "Flatness" threshold to trigger 2nd AQ [15.0] 5: applies to almost all blocks 22: only flat blocks --aq2-ifactor <float> 2nd AQ strength factor of I-frames [1.00] --aq2-pfactor <float> 2nd AQ strength factor of P-frames [1.00] --aq2-bfactor <float> 2nd AQ strength factor of B-frames [1.00] --aq3-mode <integer> 3rd AQ (OreAQ) method [0] - 0: Disabled - 1: OreAQ - 2: MixOre (experimental) --aq3-strength <float> Reduces blocking and blurring in bump and clear-cut areas. [0.5] <Up:Down> or <Up1:Down1:Up2:Down2:Up3:Down3:Up4:OtherStuff> Set QP up/down strength. --aq3-sensitivity <float> "Center" of 3rd AQ curve. [10.0] - 5: most QPs are raised - 10: good general-use sensitivity - 15: most QPs are lowered --aq3-ifactor <Up:Down> 3rd AQ strength factor of I-frames [1.0:1.0] --aq3-pfactor <Up:Down> 3rd AQ strength factor of P-frames [1.0:1.0] --aq3-bfactor <Up:Down> 3rd AQ strength factor of B-frames [1.0:1.0] --aq3-boundary <int:int:int> OreAQ boundary. fullrange=off: [192:64:24] fullrange=on : [205:56:9] #1: Bright-Middle #2: Middle-Dark #3: Dark-M.Dark |
15th May 2014, 08:52 | #2 | Link | |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,308
|
Here what the author tell me in PM when i've asked him the purpose of these new 3&4 modes :
Quote:
|
|
16th May 2014, 21:41 | #4 | Link |
Registered User
Join Date: Mar 2014
Posts: 308
|
aq2 and aq3 are in addition to the normal aq present in unpatched x264 builds.
Normal aq has three modes in vanilla x264, and two additional auto-variance modes (--aq-mode 3/4) in some patched builds. These extra modes do not affect and are not affected by Haali AQ (aq2) or OreAQ (aq3). The command line parsing automatically treats --aq-mod as being short for --aq-mode; consequently, --aq-mod 3 does not set any aq2 or aq3 parameters. Last edited by colours; 16th May 2014 at 21:44. |
19th May 2014, 14:02 | #8 | Link | |
Registered User
Join Date: Apr 2014
Posts: 18
|
Quote:
Normal aq3(aq-mod=3,aq3-mod=0) would use different strength to different frames while aq1 use the same strength to all the frames, and banding caused by low bitrate in light areas are not noticeable, to some extent, aq1 is safe but a little waste of bits. I found these opinions when googling, and I confused. Maybe my tests about aq3 with bitrate at 1200kbps for 1080P are cherry-picked examples. I'm just wondering if aq3 can help to save bits without much visual difference when using crf=17,aq-mod=3,aq3-mod=0,aq-strength=0.8 or are there a better settings for anime encode? |
|
20th May 2014, 07:05 | #10 | Link |
Registered User
Join Date: Aug 2006
Posts: 2,229
|
For the 'extra' options I'm using:
Code:
--aq-mode 3 --fgo 5 --fade-compensate 0.2 --aq3-mode 2 --aq3-strength 0.3 I'm not saying they're the ideal options, but I feel it's balanced without upsetting the bitrate too much. Setting fgo to 5 is a very light film grain optimisation which gives a nice result. Same with fade compensate being 0.2, it's a small amount, beneficial, without costing too much bitrate. The aq3-mode 2 use is a little experimental, I think it does look good! I use a strength of 0.3 for this, which might sound low, but it seems to be effective. Having this much higher seems to make the bitrate use increasingly higher. |
16th September 2015, 10:44 | #11 | Link | |
The cult of personality
Join Date: May 2013
Location: Planet Vegeta
Posts: 155
|
Quote:
Plus, how to use this: Code:
<Up:Down> or <Up1:Down1:Up2:Down2:Up3:Down3:Up4:OtherStuff> I am interested in OreAQ as it is really good as a concept. I like the fact that we can use aq-mode=3, aq-strength=-0.8 which is great for anime. So basically: Normal AQ (aq-mode=3 for example): generally good with all frames, use negative values for anime. aq2-strength: enhance flat areas. OreAQ (aq3-mode=1,...): enhance dark areas and so on (maybe control bright areas too?). ^ is this correct? Also, can we really disable the normal aq-mode and use only aq2 and aq3? thanks!! |
|
Tags |
x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|