From e6eb565e30b53c5fac5db18a40088909773fce35 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Thu, 4 Jun 2026 18:18:41 +0000 Subject: [PATCH] fix(growing): switch to NVENC H.264 High Intra Using libx264 confirmed raw2bmx works with AVC-Intra parameters at 59.94. Switching back to hardware-accelerated h264_nvenc with matching parameters (High profile, all-intra GOP 1, yuv422p, aud) to keep CPU load low during 8-port burn tests. --- services/capture/src/capture-manager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/capture/src/capture-manager.js b/services/capture/src/capture-manager.js index 98d5929..e46627a 100644 --- a/services/capture/src/capture-manager.js +++ b/services/capture/src/capture-manager.js @@ -363,7 +363,7 @@ const GROWING_VIDEO_ELEMENTARY_ARGS = [ '-c:v', 'h264_nvenc', '-profile:v', 'high', '-preset', 'p1', '-tune', 'll', '-rc', 'constqp', '-qp', '21', - '-pix_fmt', 'yuv420p', + '-pix_fmt', 'yuv422p', '-g', '1', '-aud', '1', // Access Unit Delimiters required for raw2bmx --avc_high wrapper ]; @@ -438,9 +438,9 @@ function deriveGrowingRaster(resolution, framerate, scanHint = null) { let rawFlag; if (height >= 1080) { - rawFlag = '--avc_high'; + rawFlag = '--avci100_1080p'; } else if (height >= 720) { - rawFlag = '--avc_high'; + rawFlag = '--avci100_720p'; if (fpsNum == null) { r.ff = '60000/1001'; r.raw = '60000/1001'; } } else { rawFlag = '--mpeg2lg_422p_ml_576i';