frank10
7th December 2005, 12:29
I want to create a script to detect scene transitions in a clip:
Fade in (black to scene), fade out (scene to black), scene1 dissolves to scene2.
Maybe for the fades in-out I could try with conditional filter, looking at AverageLuma to see the black frame, but this could detect also abrupt scene cut with starting frame black or very dark.
For the dissolves between scene1 to scene2 I don't know, maybe a subtract between frames?
Fade in (black to scene), fade out (scene to black), scene1 dissolves to scene2.
Maybe for the fades in-out I could try with conditional filter, looking at AverageLuma to see the black frame, but this could detect also abrupt scene cut with starting frame black or very dark.
For the dissolves between scene1 to scene2 I don't know, maybe a subtract between frames?