How to use percentage in AnalyzeJobDocument
Here we will describe what the percentage in the "AnalyzeJobDocument" means;
Example;
<AnalyzeJobDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<black>
<threshold>0.1</threshold>
<percentage>95</percentage>
</black>
<freeze>
<time>1.0</time>
<threshold>0.05</threshold>
</freeze>
<bars>
<percentage>10</percentage>
<threshold>0.05</threshold>
</bars>
</AnalyzeJobDocument>
It means that for a particular frame in the video to be marked as blank, 95% of the frame must have a light value less than 0.1 (0: all black, 1: all white).
For bars, it compares all pixels in the frame against a "perfect bar picture", and the number of pixels that differs with more than 0.05 has to be below 10%.