Rename AV1NVDEC to AV1CUVID

This commit is contained in:
Ingo Oppermann 2024-03-27 21:00:52 +01:00
parent 8f3c60a1a7
commit 44657181a0
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E
3 changed files with 5 additions and 6 deletions

View File

@ -16,7 +16,7 @@ import * as VideoDefault from './video/Default';
import * as VideoToolbox from './video/VideoToolbox';
import * as VP8CUVID from './video/VP8CUVID';
import * as VP9CUVID from './video/VP9CUVID';
import * as AV1NVDEC from './video/AV1NVDEC';
import * as AV1CUVID from './video/AV1CUVID';
class Registry {
constructor(type) {
@ -113,7 +113,7 @@ const videoRegistry = new Registry('video');
videoRegistry.Register(VideoDefault);
videoRegistry.Register(VideoToolbox);
videoRegistry.Register(AV1NVDEC);
videoRegistry.Register(AV1CUVID);
videoRegistry.Register(NVDEC);
videoRegistry.Register(H264MMAL);
videoRegistry.Register(H264CUVID);

View File

@ -17,7 +17,6 @@ function createMapping(settings, stream, skills) {
const mapping = {
global: [],
local: ['-hwaccel', 'cuda', '-c:v', 'av1_cuvid'],
// local: ['-hwaccel', 'cuda', '-hwaccel_output_format', 'cuda', '-c:v', 'av1_cuvid'],
};
return mapping;
@ -55,8 +54,8 @@ Coder.defaultProps = {
// -hwaccel nvdec
const coder = 'av1';
const name = 'AV1 NVDEC (CUDA)';
const coder = 'av1_cuvid';
const name = 'AV1 (CUVID)';
const codecs = ['av1'];
const type = 'video';
const hwaccel = true;

View File

@ -53,7 +53,7 @@ Coder.defaultProps = {
};
const coder = 'videotoolbox';
const name = 'H264 (VideoToolbox)';
const name = 'H.264 (VideoToolbox)';
const codecs = ['h264'];
const type = 'video';
const hwaccel = true;