Comparative
| Name | Type | Description |
|---|---|---|
| size_selector | enum main_assetcompare_assetreference_assetconfig | When comparing two files, select which file's size (width x height) will be used as the reference size. Choose config to set custom scaling. |
| width | integer | Sets the custom width that both files will be scaled to prior to comparison. |
| height | integer | Sets the custom height that both files will be scaled to prior to comparison. |
| scaler | object | The type of function to be used in scaling operations. |
| chroma_format_selector | enum main_assetcompare_assetreference_assetconfig | Select which file's chroma format will be used as the reference. Choose config to set custom values. |
| chroma_format | enum yuv411pyuv420pyuv422pyuv420p10leyuv422p10leyuv444p10leyuva444p10leyuv420p12leyuv422p12leyuv444p12leyuva444p12leyuv420p16leyuv422p16leyuv444p16leyuva444p16leyuvj420pyuvj422prgb24rgb48bergba64bergb48lergba64legbrp10legbrp10begbrp12legbrp12be | Available chroma formats. |
| compare_filters | array | Filters to be applied to the reference file prior to the file comparison. See the Transcode section for filter definitions. |
Example comparative
{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"compare_asset": {
"kind": "asset_url",
"payload": {
"storage_provider": "s3",
"url": "s3://my_bucket/my_reference_file.mov"
}
}
},
"general_properties": {
"enabled": true
},
"deep_properties": {
"video": {
"settings": {
"size_selector": "compare_asset",
"compare_filters": [
{
"kind": "image_overlay",
"payload": {
"top": 10,
"bottom": 10
}
}
],
"ssim": {
"enabled": true
}
}
}
}
}