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
|
|
@ -32,6 +32,7 @@ const details = (): IpluginDetails => ({
|
|||
// 'vp9',
|
||||
'h264',
|
||||
// 'vp8',
|
||||
'av1',
|
||||
],
|
||||
},
|
||||
tooltip: 'Specify codec of the output file',
|
||||
|
|
@ -153,7 +154,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|||
stream.outputArgs.push('-crf', ffmpegQuality);
|
||||
}
|
||||
|
||||
if (ffmpegPreset) {
|
||||
if (targetCodec !== 'av1' && ffmpegPreset) {
|
||||
stream.outputArgs.push('-preset', ffmpegPreset);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue