Skip to main content

Scaler

NameTypeDescription
kindenum                          
default
zscale
The type of scaling to be applied.
default: default
algorithmenum                          
bilinear
bicubic
nearest_neighbor
lanczos
bicubic_spline
spline16
spline36
sinc
The algorithm to be used for scaling operations. This will apply to both up-scale and down-scale. These may be set separately using the upscale_algorithm and downscale_algorithm parameters.
upscale_algorithmenum                          
bilinear
bicubic
nearest_neighbor
lanczos
bicubic_spline
spline16
spline36
sinc
The algorithm to be used for up-scaling operations.
downscale_algorithmenum                          
bilinear
bicubic
nearest_neighbor
lanczos
bicubic_spline
spline16
spline36
sinc
The algorithm to be used for down-scaling operations.
config_stringstringThe configuration string to be used with the specified scaling function.
apply_alwaysbooleanAlways use the specified scaling function.

Example scaler

{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"general_properties": {
"enabled": true
},
"compare_asset": {
"kind": "asset_url",
"payload": {
"storage_provider": "s3",
"url": "{{input_path}}/{{input_file}}"
}
},
"deep_properties": {
"video": {
"settings": {
"comparative": {
"size_selector": "reference_asset",
"scaler": {
"algorithm": "bicubic"
}
}
},
"vmaf": {
"enabled": true,
"results_file": {
"file_pattern": "{source_basename}_VMAF_bicubic_results_analysis.json",
"location": {
"storage_provider": "s3",
"path": "{{output_path}}"
}
}
}
}
}
}
}