改: NVENC 默认 preset p6 -> p7(业主决定)
GPU ASIC 有余量,同一 cq 下每升一档体积更小;x265 保持 medium(三个 worker 并行时 CPU 是瓶颈)。 两个 preset 都可由控制面用 --x265-preset / --nvenc-preset 覆盖,常量只是手跑时的回落值。
This commit is contained in:
@@ -111,8 +111,11 @@ DECODE_CHECK = True
|
||||
CQ_NVENC = 31 # measured: min SSIM 0.989-0.994 at 43-74% of the source video bitrate
|
||||
CRF_X265 = 26 # measured: min SSIM 0.988-0.993 at 34-67% -- 10-22% smaller than NVENC
|
||||
# at matched SSIM. crf24 = the conservative option (min 0.990-0.994, 43-84%)
|
||||
NVENC_PRESET = "p6"
|
||||
X265_PRESET = "medium"
|
||||
NVENC_PRESET = "p7" # owner default (2026-10-12): the GPU ASIC has spare time, and each step
|
||||
# up this ladder buys size at the same CQ. Overridable per run with --nvenc-preset; the control
|
||||
# plane passes its own setting, so this constant is only the fallback for a hand-run engine.
|
||||
X265_PRESET = "medium" # ... and the CPU is the contended resource here (three workers run side
|
||||
# by side), so the x265 default stays `medium`; --x265-preset / the dashboard can move it.
|
||||
X265_POOLS = 10 # E-cores only (affinity 0x3FF0000)
|
||||
E_CORE_MASK = 0x3FF0000
|
||||
SSIM_TARGET = 0.985 # per-frame floor vs the source window (480x270 comparison)
|
||||
|
||||
Reference in New Issue
Block a user