Add encoder settings

Add encoder cancel button
This commit is contained in:
René Preuß
2023-08-06 17:22:05 +02:00
parent 4ba1f1fb5f
commit 5f96ca82ea
10 changed files with 392 additions and 79 deletions

18
shared/schema.d.ts vendored
View File

@@ -31,8 +31,22 @@ export interface Credentials {
*/
export interface Settings {
version?: string // version of the settings schema (diff will force a reset)
credentials?: Credentials | null,
endpoint?: string | null,
credentials?: Credentials | null
endpoint?: string | null
deleteOnComplete?: boolean
output?: {
video: {
encoder: 'libx264' | 'nvenc_h264'
bitrate: number
}
audio: {
encoder: 'aac'
bitrate: number
}
preset: 'default' | 'fast' | 'medium' | 'slow'
profile: 'high' | 'main' | 'baseline'
crf: number
}
}
export interface VerifiedGame {