|
|
|
|
@ -219,7 +219,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|
|
|
|
//codec will be checked so it can be transcoded correctly
|
|
|
|
|
if (file.video_resolution === '480p' || file.video_resolution === '576p') {
|
|
|
|
|
cqvinuse = `${inputs.sdCQV}`
|
|
|
|
|
response.preset += `,${map} -dn -c:v hevc_nvenc-rc vbr_hq -b:v 0 -preset ${ffmpeg_preset} -cq ${inputs.sdCQV} -rc-lookahead 32 -bf ${inputs.bframe} -a53cc 0 -c:a copy ${subcli}${maxmux}`
|
|
|
|
|
response.preset += `,${map} -dn -c:v hevc_nvenc -rc vbr_hq -b:v 0 -preset ${ffmpeg_preset} -cq ${inputs.sdCQV} -rc-lookahead 32 -bf ${inputs.bframe} -a53cc 0 -c:a copy ${subcli}${maxmux}`
|
|
|
|
|
transcode = 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -260,4 +260,4 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module.exports.details = details;
|
|
|
|
|
module.exports.plugin = plugin;
|
|
|
|
|
module.exports.plugin = plugin;
|
|
|
|
|
|