-
Build difference matte with expression
I’m trying to build a template (so I can change out background video source easily) that involves a difference matte to key moving objects back above text.
I have a background plate (a locked off empty foreground shot), a text overlay layer then the background plate layered back over the top using a difference matte effect that uses a freeze frame of the first frame of the background plate as the difference layer source.
I would like to build this using expressions / scripts if possible, so I can reuse and just change one BG layer
Pseudo code for top (null or solid?) layer with difference matte applied would be:
Get video from BG layer current frame and display for this layer
Get video from BG layer start frame and use for difference matte sourceThanks for any help, pointers etc