Rename AV1NVDEC to AV1CUVID
This commit is contained in:
parent
8f3c60a1a7
commit
44657181a0
@ -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);
|
||||
|
||||
@ -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;
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user