change -cq to -crf
This commit is contained in:
12
dist/main.js
vendored
12
dist/main.js
vendored
@ -70,7 +70,7 @@ async function register({
|
|||||||
label: "CQ Value for H264_nvenc",
|
label: "CQ Value for H264_nvenc",
|
||||||
type: "input",
|
type: "input",
|
||||||
descriptionHTML:
|
descriptionHTML:
|
||||||
"Sets the -cq value for h264_nvenc encoder. Valid values are between 0 and 51 (lossess and AIDS, respectively)",
|
"Sets the -crf value for h264_nvenc encoder. Valid values are between 0 and 51 (lossess and AIDS, respectively)",
|
||||||
default: DEFAULT_CQ_H264,
|
default: DEFAULT_CQ_H264,
|
||||||
private: false,
|
private: false,
|
||||||
});
|
});
|
||||||
@ -79,7 +79,7 @@ async function register({
|
|||||||
label: "CQ Value for hevc_nvenc",
|
label: "CQ Value for hevc_nvenc",
|
||||||
type: "input",
|
type: "input",
|
||||||
descriptionHTML:
|
descriptionHTML:
|
||||||
"Sets the -cq value for hevc_nvenc encoder. Valid values are between 0 and 51 (lossess and AIDS, respectively)",
|
"Sets the -crf value for hevc_nvenc encoder. Valid values are between 0 and 51 (lossess and AIDS, respectively)",
|
||||||
default: DEFAULT_CQ_HEVC,
|
default: DEFAULT_CQ_HEVC,
|
||||||
private: false,
|
private: false,
|
||||||
});
|
});
|
||||||
@ -257,7 +257,7 @@ async function vodBuilder(params) {
|
|||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
`-profile:v${streamSuffix} ${pluginSettings.h264Profile}`,
|
`-profile:v${streamSuffix} ${pluginSettings.h264Profile}`,
|
||||||
`-cq ${pluginSettings.cqH264}`,
|
`-crf ${pluginSettings.cqH264}`,
|
||||||
`-bf 4`,
|
`-bf 4`,
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
@ -291,7 +291,7 @@ async function liveBuilder(params) {
|
|||||||
`-tune ${pluginSettings.liveQuality}`,
|
`-tune ${pluginSettings.liveQuality}`,
|
||||||
`-r:v${streamSuffix} ${fps}`,
|
`-r:v${streamSuffix} ${fps}`,
|
||||||
`-profile:v${streamSuffix} ${pluginSettings.h264Profile}`,
|
`-profile:v${streamSuffix} ${pluginSettings.h264Profile}`,
|
||||||
`-cq ${pluginSettings.cqH264}`,
|
`-crf ${pluginSettings.cqH264}`,
|
||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
@ -327,7 +327,7 @@ async function hevcVODBuilder(params) {
|
|||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
`-profile:v${streamSuffix} ${pluginSettings.hevcProfile}`,
|
`-profile:v${streamSuffix} ${pluginSettings.hevcProfile}`,
|
||||||
`-cq ${pluginSettings.cqHEVC}`,
|
`-crf ${pluginSettings.cqHEVC}`,
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -362,7 +362,7 @@ async function hevcLiveBuilder(params) {
|
|||||||
`-profile:v${streamSuffix} ${pluginSettings.hevcProfile}`,
|
`-profile:v${streamSuffix} ${pluginSettings.hevcProfile}`,
|
||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-cq ${pluginSettings.cqHEVC}`,
|
`-crf ${pluginSettings.cqHEVC}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user