This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] NVEnc h.265 - adaptive quantization scheint nicht zu funktionieren
#3
Was mir auf die schnelle in report files auch noch aufgefallen ist, und mit der Hybrid Oberfläche zu tun haben sollte:

multiref(L1) is lowered 6 -> 2 due to HEVC spec.

Hier scheint Hybrid einen Werte einstellen zu lassen, die nicht mit den specs konform sind. Lässt sich wohl am leichtesten fixen, vorausgesetzt man findet/kennt die specs dazu...

Was ich zweitens auch noch auf die schnelle als äußern kann:
Bin neuerdings dazu übergegangen
--tf-level 4
--lookahead-level 2
zu nutzen, da ich den Eindruck habe, dass es ordentlich was bei der bitrate bei passablem Geschwindigkeitseinbruch bringt.
Vorausgesetzt ich passe auch
--lookahead 24
an. Etwas weniger oder gar Standard 16 oder ein Erhöhen auf 32 führen zu krassen Geschwindigkeitseinbrüchen.
--lookahead-level und --lookahead scheinen so stark voneinander abzuhängen, dass man fast --lookahead-level 2 und --lookahead 24 als Standard empfehlen könnte,...
Macht kaum einen Unterschied zum Standard
--lookahead-level 0 
--lookahead 16
komprimiert aber deutlich besser. Und das selbst auf meiner in die Jahre gekommenen RTX A2000... Es sei denn, das geht alles darauf zurück, dass AQ nur beim lookahead-level 2 nicht funktioniert. Aber dass durch Nichtnutzung von AQ die Dateigröße bei identischer vbr-quality schrumpft?!? Hört sich erstmal komisch an.

--tf-level 4 und --lookahead-level 2 habe ich jedenfalls in der Vergangenheit ignoriert, und da habe ich es schon so in Erinnerung, dass schrauben an AQ Parametern deutlich das Ergebnis/die Dateigröße beeinflusst hat.

NVEncC --check-features NVEncC (x64) 9.10 (r3505) by rigaya, Jan 15 2026 11:50:03 (VC 1944/Win)   [NVENC API v13.0, CUDA 11.8] reader: raw, y4m, avi, avs, vpy, avsw, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4, AV1] others   nvml      : yes   nvrtc      : yes   nvvfx      : yes   ngx        : yes   nvof fruc  : yes   libass    : yes   libdovi    : yes   d3d11      : yes   libplacebo : yes   vmaf      : yes Environment Info OS : Windows 10 x64 (19043) [UTF-8] CPU: AMD FX(tm)-8350 Eight-Core Processor [4.53GHz] (4C/8T) RAM: Used 8590 MB, Total 32660 MB #0: NVIDIA RTX A2000 (3328 cores, 1200 MHz)[PCIe2x16][596.59] NVEnc features Codec: H.264/AVC Encoder Engines          1 Max Bframes              4 B Ref Mode                3 (each + only middle) RC Modes                  3 (CQP, CBR, VBR) Field Encoding            0 (no) MonoChrome                no Alpha Channel            no FMO                      no Quater-Pel MV            yes B Direct Mode            yes CABAC                    yes Adaptive Transform        yes Max Temporal Layers      4 Hierarchial P Frames      yes Hierarchial B Frames      yes Max Level                62 (6.2) Min Level                10 (1) 4:4:4                    yes 4:2:2                    no Min Width                145 Max Width                4096 Min Height                49 Max Height                4096 Multiple Refs            yes Max LTR Frames            8 Dynamic Resolution Change yes Dynamic Bitrate Change    yes Forced constant QP        yes Dynamic RC Mode Change    no Subframe Readback        yes Constrained Encoding      yes Intra Refresh            yes Custom VBV Bufsize        yes Dynamic Slice Mode        yes Ref Pic Invalidiation    yes PreProcess                no Async Encoding            yes Max MBs                  65536 Lossless                  yes SAO                      no Me Only Mode              1 (I,P frames) Lookahead                yes AQ (temporal)            yes Weighted Prediction      yes Temporal Filter          yes Lookahead Level          no Undirectional B          no Temporal SVC              yes MV-HEVC                  no 10bit depth              no Codec: H.265/HEVC Encoder Engines          1 Max Bframes              5 B Ref Mode                3 (each + only middle) RC Modes                  3 (CQP, CBR, VBR) Field Encoding            0 (no) MonoChrome                no Alpha Channel            yes Quater-Pel MV            yes B Direct Mode            no Max Temporal Layers      4 Hierarchial P Frames      no Hierarchial B Frames      no Max Level                186 (6.2) Min Level                30 (1) 4:4:4                    yes 4:2:2                    no Min Width                129 Max Width                8192 Min Height                33 Max Height                8192 Multiple Refs            yes Max LTR Frames            7 Dynamic Resolution Change yes Dynamic Bitrate Change    yes Forced constant QP        yes Dynamic RC Mode Change    no Subframe Readback        yes Constrained Encoding      yes Intra Refresh            yes Custom VBV Bufsize        yes Dynamic Slice Mode        yes Ref Pic Invalidiation    yes PreProcess                no Async Encoding            yes Max MBs                  262144 Lossless                  yes SAO                      yes Me Only Mode              1 (I,P frames) Lookahead                yes AQ (temporal)            yes Weighted Prediction      yes Temporal Filter          yes Lookahead Level          yes Undirectional B          yes Temporal SVC              yes MV-HEVC                  yes 10bit depth              yes NVDec features   H.264/AVC:  nv12, yv12   H.265/HEVC: nv12, yv12, yv12(10bit), yv12(12bit), yuv444, yuv444(10bit), yuv444(12bit)   MPEG1:      nv12, yv12   MPEG2:      nv12, yv12   MPEG4:      nv12, yv12   VP8:        nv12, yv12   VP9:        nv12, yv12, yv12(10bit), yv12(12bit)   VC-1:      nv12, yv12   AV1:        nv12, yv12, yv12(10bit)

Ich muss übrigens in Hybrid mindestens 5 bframes einstellen, um
--tf-level 4
nutzen zu können, obwohl die Doku sagt, dass man nur >= 4 bframes braucht.
Meine Karte unterstützt wohl ohnehin nur 4, aber die Funktion scheint ihren Dienst zu verrichten und Bitrate zu sparen.
Also bitte nicht beim auswerten von NVEncC --check-features mir im nächsten Schritt diese Funktion zerschiessen, weil ich auf einmal nur noch 4 bframes einstellen kann  Big Grin
Reply


Messages In This Thread
RE: NVEnc h.265 - adaptive quantization scheint nicht zu funktionieren - by mogobime - Yesterday, 06:39

Forum Jump:


Users browsing this thread: 1 Guest(s)