Skip to main content

Black

NameTypeDescription
enabledbooleanEnables this analysis type.
is_optionalbooleanIf set to true, the analyzer will not fail if this media type does not exist in the source.
duration_secnumberBlack video must exceed this duration for triggering detection.
maximum: 3600
default: 10
black_levelnumberThe video signal level must be above this value for being detected as non-black.
maximum: 1
default: 0.1
black_pixel_rationumberRatio of black vs.non black pixels so that a picture is classified as black. 1.0: all pixels must be black, 0.0: no pixels must be black.
maximum: 1
default: 0.98
ire_range_modeenum                          
auto
full
limited
Determines if the analyzer shall use the assumed IRE ranges from the file (auto), full (0..255 for 8 bit) or limited (16..235 for 8 bit).
default: auto

Example black

{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"general_properties": {
"enabled": true
},
"deep_properties": {
"video": {
"black": {
"enabled": true,
"black_level": 0.03,
"duration_sec": 1
}
}
}
}
}