Add Check Node Hardware Encoder, add av1 encoding

This commit is contained in:
HaveAGitGat 2023-09-28 17:45:06 +01:00
parent a83cde83d3
commit 2ab614f900
6 changed files with 305 additions and 5 deletions

View file

@ -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);
}