mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
settings for size target and frame picking
This commit is contained in:
parent
24abe0e0f3
commit
a9ecc8f4b3
2 changed files with 68 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue