added a configuration option to select the dri node in transcoding (#6376)

* added a configuration option to select the dri node in transcoding

* chore: open api

* refactor: get hawrdware device

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
t4keda 2024-01-30 02:40:02 +01:00 committed by GitHub
parent 68f8525eb1
commit 76f8d030ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 140 additions and 4 deletions

View file

@ -78,6 +78,9 @@ export class SystemConfigFFmpegDto {
@IsBoolean()
twoPass!: boolean;
@IsString()
preferredHwDevice!: string;
@IsEnum(TranscodePolicy)
@ApiProperty({ enumName: 'TranscodePolicy', enum: TranscodePolicy })
transcode!: TranscodePolicy;