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. |
31st March 2008, 02:24 | #1 | Link |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
VAQ 2.0 Alpha Testing
VAQ 1 is official, so as I promised, I am releasing VAQ 2.0 for initial alpha testing. Thanks to Alex W for the basic concept behind VAQ 2.0!
How to use (change from normal VAQ): --aq-metric presents four options for the AQ metric to use. Each is progressively slower than the last; option 0 is equivalent to VAQ1. Since the VAQ committed to official x264 has 1.0 strength as default (equivalent to 0.5 with unofficial AQ, since all values were doubled for simplicity's sake), 1.0 is default here also. Try playing with the different AQ metrics and strengths and testing the results. Download patched build (based on r777). |
31st March 2008, 03:44 | #2 | Link |
Registered User
Join Date: Apr 2004
Posts: 1,315
|
--aq-mode?
Should it be by default fot this time of testing? Is r777 with VAQ 2.0 multhitreaded? It uses only one core of my e2160 while r798.modified (VAQ 0.48) use 2 cores. Code:
x264_AQ2.exe --threads 3 --pass 3 --progress --stats "x264_stat.log" --qcomp 0.75 --bframes 3 --no-b-adapt --bime --weightb --subme 7 --keyint 300 --ref 8 --trellis 2 --mixed-refs --8x8dct --partitions all --b-rdo --direct auto --b-pyramid --bitrate 2500 --no-fast-pskip --me umh --merange 16 --aq-metric 3 --deblock -1:-1 -o 2xVAQ2_3_Balance2_777.h264 1.avs Last edited by IgorC; 31st March 2008 at 04:08. |
31st March 2008, 04:33 | #3 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Code:
--aq-mode <integer> How AQ distributes bits - 0: Disabled - 1: Avoid moving bits between frames - 2: Move bits between frame
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 31st March 2008 at 04:35. |
31st March 2008, 04:54 | #5 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Well, unless I have missed something, "--aq-mode 1" (aka "aq-sensitivity 0") is not recommended and "--aq-mode 0" will turn off all AQ.
So I'd go with "--aq-mode 2" unless there is a good to do otherwise...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
31st March 2008, 07:05 | #8 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
diff |
|
31st March 2008, 08:04 | #9 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
two side questions:
1. What in the value range allowed for --aq-strength? 2. Does --aq-strength 0.0 also disable adaptive quantization? Cu Selur Ps.: there's a 'new-line' missing before '--nr' (after metric options) when calling --long-help |
31st March 2008, 08:07 | #10 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
AQ strength = 0 = disabled. Exactly the same as the AQ in the official x264. |
|
31st March 2008, 18:27 | #13 | Link |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
Warning: ALPHA BUILD, ONLY USE FOR TESTING VAQ2!
x264.808.vaq2.modified.exe (gcc 3.4.6 fprofiled) General thread: http://forum.doom9.org/showthread.php?t=130364 x264_vaq2_alpha.01.r808.diff http://forum.doom9.org/showthread.ph...23#post1120023 x264.gaussian.cplxblur.01.diff Dark Shikari: - gaussian cplxblur: gives a tiny improvement in 2pass ratecontrol x264_me-prepass_DeathTheSheep.01.diff http://forum.doom9.org/showthread.php?p=1093523 x264_2pass_vbv.6.diff http://thread.gmane.org/gmane.comp.v...093/focus=3550 x264_hrd_pulldown.04_interlace.diff - HRD and pulldown for HD compatibility, updated patch for interlacing http://forum.doom9.org/showthread.ph...19#post1047919 Link to x264 patches collected: http://files.x264.nl/x264_patches/ Warning: ALPHA BUILD, ONLY USE FOR TESTING VAQ2! |
31st March 2008, 19:03 | #14 | Link |
Cost Effective
Join Date: Nov 2007
Posts: 64
|
Here is a collection of tests I did on a couple of 4 second football clips. They are slightly worthless for comparison purposes because they are mostly different framesizes and different bitrates and CQ / 2pass / 3pass whatever.
The only thing they have in common is they all use VAQ2 (using patched build based on r777)! Unless specified. So if you want a collection of slightly useless (for comparative purposes) encodes of football on a rainy imperfect pitch you can get them here. Better comparisons in here Last edited by Umamio; 2nd April 2008 at 00:00. |
31st March 2008, 22:31 | #15 | Link |
<The VFW Sheep of Death>
Join Date: Dec 2004
Location: Deathly pasture of VFW
Posts: 1,149
|
Excellent job, MasterNobody. Thou art truly the master o'er bugs, o BugMaster.
I will certainly give this a test soon. How is the speed on BugMaster's mod? Does it do the same thing as the original on 777?
__________________
Recommended all-in-one stop for x264/GCC needs on Windows: Komisar x264 builds! |
1st April 2008, 04:07 | #16 | Link |
<The VFW Sheep of Death>
Join Date: Dec 2004
Location: Deathly pasture of VFW
Posts: 1,149
|
The answer appears to be yes on both fronts.
I made a test on my quintessential anime clip. 0.46 yields 0.9741681 SSIM 4537KB 2.0a yields 0.9710652 SSIM 4557KB (--aq-strength 2 --aq-metric 3) 2.0a yields 0.9724646 SSIM 4546KB (--aq-strength .3 --aq-metric 3) Baseline profile, defaults, no fast pskip.
__________________
Recommended all-in-one stop for x264/GCC needs on Windows: Komisar x264 builds! Last edited by DeathTheSheep; 1st April 2008 at 04:25. |
1st April 2008, 04:26 | #18 | Link |
<The VFW Sheep of Death>
Join Date: Dec 2004
Location: Deathly pasture of VFW
Posts: 1,149
|
Updated post.
Settings with 0.46 were strength 1.1, sens 24.5. Of course with better settings and keyframe tweaks (since DS found problems near keyframes in my past 46vs47 tests), SSIM can go up to .9752XXX easily with 0.46. With qcomp active for anime, even more still. [edit] But by goodness that's not to say 0.46 is better than 2.0!! Just that for this clip, for these settings, at this bitrate, for this material, SSIM is higher.
__________________
Recommended all-in-one stop for x264/GCC needs on Windows: Komisar x264 builds! Last edited by DeathTheSheep; 1st April 2008 at 04:42. |
1st April 2008, 04:50 | #19 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
1) Do not include no-AQ numbers. 2) Only include values for one metric, and with two wildly varying strengths with nothing sane in between. P.S. SSIM is not that useful. SSIM tells me that AQ mode 1 is better than 2, which it isn't. |
|
1st April 2008, 05:18 | #20 | Link |
Cyberspace Citizen
Join Date: Nov 2005
Posts: 457
|
@DS:
1.- Is there any minimum birates required for VAQ2 to be efficient? 2.- How can we compare different settings if SSIM is irrelevant? 3.- What is the --aq mode/metric/strength default in VAQ2? Thanks a lot DS for your great job! - Dan |
Thread Tools | Search this Thread |
Display Modes | |
|
|