Skip to main content

Comparative

NameTypeDescription
size_selectorenum                          
main_asset
compare_asset
reference_asset
config
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.
widthintegerSets the custom width that both files will be scaled to prior to comparison.
heightintegerSets the custom height that both files will be scaled to prior to comparison.
scalerobjectThe type of function to be used in scaling operations.
chroma_format_selectorenum                          
main_asset
compare_asset
reference_asset
config
Select which file's chroma format will be used as the reference. Choose config to set custom values.
chroma_formatenum                          
yuv411p
yuv420p
yuv422p
yuv420p10le
yuv422p10le
yuv444p10le
yuva444p10le
yuv420p12le
yuv422p12le
yuv444p12le
yuva444p12le
yuv420p16le
yuv422p16le
yuv444p16le
yuva444p16le
yuvj420p
yuvj422p
rgb24
rgb48be
rgba64be
rgb48le
rgba64le
gbrp10le
gbrp10be
gbrp12le
gbrp12be
Available chroma formats.
compare_filtersarrayFilters 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
}
}
}
}
}