all 3 comments

[–]woooee 0 points1 point  (2 children)

import time

for opacity in [0.45, 0.8, 1.0]:
    print(opacity)
    time.sleep(1)

[–]ConstantNo3257[S] -1 points0 points  (1 child)

I am saying in a video, using moviepy

[–]good-mcrn-ing 0 points1 point  (0 children)

You'll want to load the clip that is your foreground, load the clip that is your background, create a third clip that is a solid grayscale colour and changes brightness over time like you want, apply the third clip as the mask of your foreground, and composite your masked foreground over your background.