mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-07 19:59:07 +00:00
feat(server): tone-mapping (#3512)
* added tonemapping * check for hdr in transcode policy * merged video thumbnail and transcoding logic * updated tests * removed log * added dashboard option, updated api * `out_color_matrix` for sdr video thumbs, cleanup * updated tests & styling * refactored tonemapping setting * fixed tests * formatting * added tests * updated api * set target npl higher for mobius and reinhard * convert to nv12 before nvenc * fix test --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@@ -6627,6 +6627,9 @@
|
||||
"threads": {
|
||||
"type": "integer"
|
||||
},
|
||||
"tonemap": {
|
||||
"$ref": "#/components/schemas/ToneMapping"
|
||||
},
|
||||
"transcode": {
|
||||
"$ref": "#/components/schemas/TranscodePolicy"
|
||||
},
|
||||
@@ -6641,6 +6644,7 @@
|
||||
"targetAudioCodec",
|
||||
"transcode",
|
||||
"accel",
|
||||
"tonemap",
|
||||
"preset",
|
||||
"targetResolution",
|
||||
"maxBitrate",
|
||||
@@ -6884,6 +6888,15 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ToneMapping": {
|
||||
"enum": [
|
||||
"hable",
|
||||
"mobius",
|
||||
"reinhard",
|
||||
"disabled"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"TranscodeHWAccel": {
|
||||
"enum": [
|
||||
"nvenc",
|
||||
|
||||
Reference in New Issue
Block a user