mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-01-09 18:55:50 +00:00
feat(server): add transcode presets (#2084)
* feat: add transcode presets * Add migration * chore: generate api * refactor: use enum type instead of string for transcode option * chore: generate api * refactor: enhance readability of runVideoEncode method * refactor: reuse SettingSelect for transcoding presets * refactor: simplify return statement * chore: regenerate api * fix: correct label attribute * Update import * fix test --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -4601,8 +4601,13 @@
|
||||
"targetScaling": {
|
||||
"type": "string"
|
||||
},
|
||||
"transcodeAll": {
|
||||
"type": "boolean"
|
||||
"transcode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"all",
|
||||
"optimal",
|
||||
"required"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4611,7 +4616,7 @@
|
||||
"targetVideoCodec",
|
||||
"targetAudioCodec",
|
||||
"targetScaling",
|
||||
"transcodeAll"
|
||||
"transcode"
|
||||
]
|
||||
},
|
||||
"SystemConfigOAuthDto": {
|
||||
|
||||
Reference in New Issue
Block a user