mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 23:48:15 -07:00
Add Check Node Hardware Encoder, add av1 encoding
This commit is contained in:
parent
a83cde83d3
commit
2ab614f900
6 changed files with 305 additions and 5 deletions
|
|
@ -64,6 +64,7 @@ var details = function () { return ({
|
|||
// 'vp9',
|
||||
'h264',
|
||||
// 'vp8',
|
||||
'av1',
|
||||
],
|
||||
},
|
||||
tooltip: 'Specify codec of the output file',
|
||||
|
|
@ -185,7 +186,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
|
|||
else {
|
||||
stream.outputArgs.push('-crf', ffmpegQuality);
|
||||
}
|
||||
if (ffmpegPreset) {
|
||||
if (targetCodec !== 'av1' && ffmpegPreset) {
|
||||
stream.outputArgs.push('-preset', ffmpegPreset);
|
||||
}
|
||||
if (hardwareDecoding) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue