mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(all): ffmpeg quality options improvements (#2161)
* feat: change target scaling to resolution in ffmpeg config * feat(microservices): scale vertical video correctly, only scale if video is larger than target
This commit is contained in:
parent
9076f3e69e
commit
808d6423be
12 changed files with 76 additions and 46 deletions
|
|
@ -17,7 +17,7 @@ export enum SystemConfigKey {
|
|||
FFMPEG_PRESET = 'ffmpeg.preset',
|
||||
FFMPEG_TARGET_VIDEO_CODEC = 'ffmpeg.targetVideoCodec',
|
||||
FFMPEG_TARGET_AUDIO_CODEC = 'ffmpeg.targetAudioCodec',
|
||||
FFMPEG_TARGET_SCALING = 'ffmpeg.targetScaling',
|
||||
FFMPEG_TARGET_RESOLUTION = 'ffmpeg.targetResolution',
|
||||
FFMPEG_TRANSCODE = 'ffmpeg.transcode',
|
||||
OAUTH_ENABLED = 'oauth.enabled',
|
||||
OAUTH_ISSUER_URL = 'oauth.issuerUrl',
|
||||
|
|
@ -45,7 +45,7 @@ export interface SystemConfig {
|
|||
preset: string;
|
||||
targetVideoCodec: string;
|
||||
targetAudioCodec: string;
|
||||
targetScaling: string;
|
||||
targetResolution: string;
|
||||
transcode: TranscodePreset;
|
||||
};
|
||||
oauth: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue