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. |
17th July 2019, 12:34 | #6921 | Link | |
Registered User
Join Date: Oct 2016
Posts: 111
|
New commit with new aq-mode
Quote:
|
|
17th July 2019, 12:45 | #6922 | Link | |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 574
|
Quote:
Even hex,hex,hex is still 10% slower, so not sure what the use case is when it's that slow. |
|
17th July 2019, 16:04 | #6923 | Link | |
Registered User
Join Date: Jul 2007
Posts: 63
|
Quote:
The other point is better coherency of motion field at high resolutions. |
|
17th July 2019, 17:21 | #6924 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
Any reason why --HME uses hex, umh, umh as its default motion searches, but generally x265 uses --me star in its presets?
(would Star be better than UMH in HME, and generally outside of HME?) Last edited by mandarinka; 17th July 2019 at 17:23. |
17th July 2019, 19:03 | #6926 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
So basically the option has no practical use in encodes of sub-4K resolutions?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
18th July 2019, 11:49 | #6928 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,783
|
x265 3.1+8-21db162c8622 (MSYS2, MinGW32 / MinGW64 + GCC 9.1.0)
Code:
--[no-]hme Enable Hierarchical Motion Estimation. Default disabled --hme-search <string> Motion search-method for HME L0,L1 and L2. Default(L0,L1,L2) is 1,2,2 --aq-mode <integer> Mode for Adaptive Quantization - 0:none 1:uniform AQ 2:auto variance 3:auto variance with bias to dark scenes 4:auto variance with edge information. Default 2 --[no-]aq-motion Block level QP adaptation based on the relative motion between the block and the frame. Default disabled |
18th July 2019, 20:23 | #6929 | Link |
Registered User
Join Date: Jul 2012
Posts: 208
|
@LigH
As silent reader I want to say thank you for the fresh, updated Encoders. Please never stop. Even when the board seems to fall asleep sometimes, we appreciate all the work. A Thank Button would be nice here. Every contribute is important I hope Zathor is fine...? |
19th July 2019, 12:00 | #6930 | Link |
Registered User
Join Date: Dec 2014
Posts: 240
|
what exctly that aq-mode 4 is doing? is it that "HEVC" aq? or? that HEVC aq was not so good... currently i am using aq-mode 2.
__________________
AMD Ryzen 9 5950X, 32GB DDR4-3200 CL16, RTX 3060, 2TB NVMe PCIE4.0, NAS with 8x16TB HDD |
19th July 2019, 17:17 | #6931 | Link | ||
Registered User
Join Date: Jul 2015
Posts: 708
|
Quote:
p->rc.aqMode = X265_AQ_EDGE; p->bAQMotion = 1; p->bEnableHME = 1; p->hmeSearchMethod[1] = p->hmeSearchMethod[2] = X265_STAR_SEARCH; Quote:
Last edited by Jamaika; 21st July 2019 at 12:16. |
||
20th July 2019, 17:18 | #6933 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Code:
--aq-mode <integer> Mode for Adaptive Quantization - 0:none 1:uniform AQ 2:auto variance 3:auto variance with bias to dark scenes 4:auto variance with edge information. Default 2 --[no-]hevc-aq Mode for HEVC Adaptive Quantization. Default disabled --aq-strength <float> Reduces blocking and blurring in flat and textured areas (0 to 3.0). Default 1.00 --qp-adaptation-range <float> Delta QP range by QP adaptation based on a psycho-visual model (1.0 to 6.0). Default 1.00 --[no-]aq-motion Block level QP adaptation based on the relative motion between the block and the frame. Default disabled -> hevc-aq is still there, so aq-mode 4 should be something different |
20th July 2019, 21:15 | #6934 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
From the description, it looks both aqmode 3 and aqmode 4 are modifications of aqmode 2. Based on the descriptions, the first adds bias for darker scenes/parts and the second (#4) adds bias for detected(?) edges (to improve them?).
|
21st July 2019, 10:31 | #6935 | Link |
Registered User
Join Date: Dec 2014
Posts: 240
|
But how... quality and speed impact??? I've done test on the whole 4K HDR movie. Same settings, one with AQ2, one with AQ4.
AQ2: Code:
x265 [info]: HEVC encoder version 3.1+8-21db162c8622 x265 [info]: build info [Windows][GCC 9.1.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 x265 [info]: Main 10 profile, Level-5.1 (High tier) x265 [info]: Thread pool created using 28 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 4 / wpp(25 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3 x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 48 / 8 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 4 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 8 / 1 x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 160000 / 160000 / 0.900 x265 [info]: tools: rect amp limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: signhide tmvp lslices=4 x265 [info]: frame I: 1572, Avg QP:19.24 kb/s: 36306.92 x265 [info]: frame P: 31790, Avg QP:20.31 kb/s: 29999.39 x265 [info]: frame B: 120253, Avg QP:23.15 kb/s: 17831.23 x265 [info]: Weighted P-Frames: Y:9.7% UV:1.7% x265 [info]: consecutive B-frames: 17.9% 9.6% 8.6% 19.1% 7.5% 10.0% 6.4% 9.3% 11.7% encoded 153615 frames in 81511.10s (1.88 fps), 20538.46 kb/s, Avg QP:22.53 Code:
x265 [info]: HEVC encoder version 3.1+8-21db162c8622 x265 [info]: build info [Windows][GCC 9.1.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 x265 [info]: Main 10 profile, Level-5.1 (High tier) x265 [info]: Thread pool created using 28 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 4 / wpp(25 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3 x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 48 / 8 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 4 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 4 / 1.0 / 8 / 1 x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 160000 / 160000 / 0.900 x265 [info]: tools: rect amp limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: signhide tmvp lslices=4 x265 [info]: frame I: 1571, Avg QP:19.38 kb/s: 35277.33 x265 [info]: frame P: 31792, Avg QP:20.46 kb/s: 29185.39 x265 [info]: frame B: 120252, Avg QP:23.29 kb/s: 17402.88 x265 [info]: Weighted P-Frames: Y:9.6% UV:1.7% x265 [info]: consecutive B-frames: 17.9% 9.6% 8.7% 19.1% 7.6% 10.0% 6.3% 9.3% 11.7% encoded 153615 frames in 83129.38s (1.85 fps), 20024.18 kb/s, Avg QP:22.66
__________________
AMD Ryzen 9 5950X, 32GB DDR4-3200 CL16, RTX 3060, 2TB NVMe PCIE4.0, NAS with 8x16TB HDD |
21st July 2019, 21:11 | #6938 | Link | ||
Registered User
Join Date: Jul 2015
Posts: 708
|
x265&svt-3.1+8
I don't know why no one adds x265 & svt. Is this a temporary fusion? I will risk something to write. https://www.sendspace.com/file/mt3kue Information about color space is also interesting. For SVT, this is currently the High Dymanic Range. For 8bit is Low Dynamic Range. Quote:
Quote:
svt.h --> #define INPUT_SIZE_8K_TH 0xB71B00 // 12 Million param.cpp --> svtHevcParam->vbvMaxrate = 0; param.cpp --> svtHevcParam->vbvBufsize = 0; param.cpp --> svtHevcParam->vbvBufInit = 90; param.cpp --> svtHevcParam->hrdFlag = 0; Last edited by Jamaika; 22nd July 2019 at 18:39. |
||
22nd July 2019, 09:36 | #6940 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Quote:
http://homepages.inf.ed.ac.uk/rbf/CV...stimation.html |
|
|
|