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.
This commit is contained in:
parent
4bbbc9f4dc
commit
e6eb565e30
1 changed files with 3 additions and 3 deletions
|
|
@ -363,7 +363,7 @@ const GROWING_VIDEO_ELEMENTARY_ARGS = [
|
||||||
'-c:v', 'h264_nvenc', '-profile:v', 'high',
|
'-c:v', 'h264_nvenc', '-profile:v', 'high',
|
||||||
'-preset', 'p1', '-tune', 'll',
|
'-preset', 'p1', '-tune', 'll',
|
||||||
'-rc', 'constqp', '-qp', '21',
|
'-rc', 'constqp', '-qp', '21',
|
||||||
'-pix_fmt', 'yuv420p',
|
'-pix_fmt', 'yuv422p',
|
||||||
'-g', '1',
|
'-g', '1',
|
||||||
'-aud', '1', // Access Unit Delimiters required for raw2bmx --avc_high wrapper
|
'-aud', '1', // Access Unit Delimiters required for raw2bmx --avc_high wrapper
|
||||||
];
|
];
|
||||||
|
|
@ -438,9 +438,9 @@ function deriveGrowingRaster(resolution, framerate, scanHint = null) {
|
||||||
|
|
||||||
let rawFlag;
|
let rawFlag;
|
||||||
if (height >= 1080) {
|
if (height >= 1080) {
|
||||||
rawFlag = '--avc_high';
|
rawFlag = '--avci100_1080p';
|
||||||
} else if (height >= 720) {
|
} else if (height >= 720) {
|
||||||
rawFlag = '--avc_high';
|
rawFlag = '--avci100_720p';
|
||||||
if (fpsNum == null) { r.ff = '60000/1001'; r.raw = '60000/1001'; }
|
if (fpsNum == null) { r.ff = '60000/1001'; r.raw = '60000/1001'; }
|
||||||
} else {
|
} else {
|
||||||
rawFlag = '--mpeg2lg_422p_ml_576i';
|
rawFlag = '--mpeg2lg_422p_ml_576i';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue