I was trying some formula like this, but still not working :
video = ScriptClip(video, "Subtitle(String(YPlaneMinMaxDifference(S, 2) + LumaDifference(video, BlankClip($FFFFFF))) )")
To skip black frame, a White Clip to show max difference to black frames...
-----
Blanc = BlankClip(video, $FFFFFF).ConvertToYV12()
video = ScriptClip(video, "Subtitle(String(LumaDifference(video, Blanc)))")
Keeps crashing... ? why
---------------
This is not crashing :
Blanc = BlankClip(Width=Width(video), Height=Height(video), color=$FFFFFF)
Blanc = Blanc.ConvertToYV12()
S=Blanc
video = ScriptClip(video, "Subtitle(String(LumaDifference(Blanc)))")
I guess ScriptClip cannot evaluate LumaDifference(video, Blanc) but leave clip1 as implicit, it works : i get average lumadiff = 218, to black frames (max would be 255). Well, why Scriptclip can't take LumaDiff with 2 arguments ? And there are many better solutions i guess, i'm just puting junk together