settings for size target and frame picking

This commit is contained in:
Jakub Jezek 2023-11-22 12:24:33 +01:00
parent 24abe0e0f3
commit a9ecc8f4b3
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 68 additions and 0 deletions

View file

@ -70,6 +70,13 @@
},
"ExtractThumbnail": {
"enabled": true,
"integrate_thumbnail": false,
"duration_split": 0.5,
"target_size": {
"type": "resize",
"width": 1920,
"height": 1080
},
"ffmpeg_args": {
"input": [
"-apply_trc gamma22"

View file

@ -202,6 +202,67 @@
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "integrate_thumbnail",
"label": "Integrate Thumbnail as representation"
},
{
"type": "dict-conditional",
"use_label_wrap": false,
"collapsible": false,
"key": "target_size",
"label": "Target size",
"enum_key": "type",
"enum_label": "Type",
"enum_children": [
{
"key": "source",
"label": "Image source",
"children": [
{
"type": "label",
"label": "Image size will be inherited from source image."
}
]
},
{
"key": "resize",
"label": "Resize",
"children": [
{
"type": "label",
"label": "Image will be resized to specified size."
},
{
"type": "number",
"key": "width",
"label": "Width",
"decimal": 0,
"minimum": 0,
"maximum": 99999
},
{
"type": "number",
"key": "height",
"label": "Height",
"decimal": 0,
"minimum": 0,
"maximum": 99999
}
]
}
]
},
{
"key": "duration_split",
"label": "Duration split ratio",
"type": "number",
"decimal": 1,
"default": 0.5,
"minimum": 0,
"maximum": 1
},
{
"type": "dict",
"key": "ffmpeg_args",