Added Flags shown top LHS,
Here last bad frame of range, and the following half bad frame where only two of detector metrics satified.
(Border metric fails detect but chroma metric still detecting)
[In such case might just be able to use chroma from following frame].
Might be best to do a prescan, to establish scene cuts, and process each separately after establishing some average chroma metric
for the scene (how do we do that, considering some of scene may be bad ???).
Script updated.
Code:
A=trim(33,-1)
B=trim(34,-1)
StackVertical(A,B)
Spline36Resize(640,960)
Frame after half bad frame, ie 2 frames after last bad detect.
Code:
X=trim(35,-1)
return X.Spline36Resize(640,480)