Skip to main content

Duplicate_frames

NameTypeDescription
enabledbooleanEnables this analysis type.
maxintegerSet the maximum number of consecutive duplicate frames which can be detected (if positive), or the minimum interval between detected frames (if negative). If the value is 0, the frame is detected disregarding the number of previous sequentially detected duplicate frames.
hiintegerHigh detection threshold
default: 768
lointegerLow detection threshold
default: 320
fracnumberSet the fraction of the frame size which is used for the detection.
default: 0.33
is_optionalbooleanIf set to true, the analyzer will not fail if this media type does not exist in the source.
results_fileobjectThe location for the output duplicate frames data.

Example duplicate_frames

{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"general_properties": {
"enabled": true
},
"deep_properties": {
"video": [
{
"duplicate_frames": {
"results_file": {
"location": {
"storage_provider": "s3",
"path": "{{destination_location}}"
},
"file_pattern": "duplicate_frames.txt"
},
"enabled": true,
"max": 0,
"hi": 768,
"lo": 320,
"frac": 0.33
}
}
]
}
}
}