h264_nvenc AVOptions: -preset <int> E..V... Set the encoding preset (from 0 to 11) (default medium) default E..V... slow E..V... hq 2 passes medium E..V... hq 1 pass fast E..V... hp 1 pass hp E..V... hq E..V... bd E..V... ll E..V... low la...
-c:v h264_nvenc -preset slow -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -map 0:v:0? ... Only when using default quality options likeHigh, the script works correctly: ... -c:v h264_nvenc -preset slow -q:v 2500K -pix_fmt yuv420p -vf "scale=trunc(iw/...
(NVENCContext, x) #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { { "preset", "Set the encoding preset", OFFSET(preset), AV_OPT_TYPE_INT, { .i64 = PRESET_HQ }, PRESET_DEFAULT, PRESET_LOSSLESS_HP, VE, "preset" }...
(NvencContext, x) #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { { "preset", "Set the encoding preset", OFFSET(preset), AV_OPT_TYPE_INT, { .i64 = PRESET_MEDIUM }, PRESET_DEFAULT, PRESET_LOSSLESS_HP, VE, "prese...