diff --git a/common/config/private/IPrivateConfig.ts b/common/config/private/IPrivateConfig.ts index e8a6b40c..ff33dc2f 100644 --- a/common/config/private/IPrivateConfig.ts +++ b/common/config/private/IPrivateConfig.ts @@ -77,13 +77,17 @@ export interface TaskConfig { scheduled: TaskScheduleDTO[]; } +export type codecType = 'libvpx-vp9' | 'libx264' | 'libvpx' | 'libx265'; +export type resolutionType = 240 | 360 | 480 | 720 | 1080 | 1440 | 2160 | 4320; +export type formatType = 'mp4' | 'webm'; + export interface VideoConfig { transcoding: { bitRate: number, - resolution: 240 | 360 | 480 | 720 | 1080 | 1440 | 2160 | 4320, + resolution: resolutionType, fps: number, - codec: 'libvpx-vp9' | 'libx264' | 'libvpx', - format: 'mp4' | 'webm' + codec: codecType, + format: formatType }; } diff --git a/frontend/app/ui/settings/_abstract/abstract.settings.component.css b/frontend/app/ui/settings/_abstract/abstract.settings.component.css index 1fdf46fb..891d3705 100644 --- a/frontend/app/ui/settings/_abstract/abstract.settings.component.css +++ b/frontend/app/ui/settings/_abstract/abstract.settings.component.css @@ -6,10 +6,6 @@ margin-left: 10px; } -.form-control { - margin: 5px 0; -} - .switch-wrapper { display: inline-block; diff --git a/frontend/app/ui/settings/indexing/indexing.settings.component.html b/frontend/app/ui/settings/indexing/indexing.settings.component.html index 9137ca02..33307b3b 100644 --- a/frontend/app/ui/settings/indexing/indexing.settings.component.html +++ b/frontend/app/ui/settings/indexing/indexing.settings.component.html @@ -102,8 +102,8 @@