How do I make a composite mask while also fading in video?

I’m trying to make a composite mask using multiple simple shapes.

The first one is set to overwrite, the second one is set to add. I then add my filters, finishing with Mask Apply.

So far so good, everything looks correct.

But now I’m running into problems when I add a Fade In and Fade Out at the end of the filter chain. (Overlapping two other tracks on the fade ins and outs, to get a nice transition between the previous and next clips)

When I add the Fade In and Fade Out filters to this clip, only the masked parts show up during the fade in and fade out! When the fade in is done, the rest of the video outside of the mask “pops in”, whereas during the fade in it’s invisible. Same on the fade out, as soon as the fade out starts, the entire clip becomes invisible besides the two masked parts!

I tried putting the fade in and out before the masking+effect and after the masking+effect, but it’s a problem either way.

Even weirder, as a test, if I do:
Mask (shape 1)
Mask (shape 2)
Mask Apply
Effect

The effect gets applied to the entire video (as expected) until I reach the fade out, and suddenly both mask shapes show up!

Everything works perfectly if there is just one mask, but something about the composite mask is causing the fade in and out to be bugged.

As a workaround, I tried doing:
Mask Shape
Effect
Mask Apply

Mask Shape
Effect
Mask Apply

But shotcut won’t let me add more than one Mask Apply.

All I want to do here is mask a few regions, apply an effect, apply the mask, call that the “finished clip”, then fade in and out of that “finished clip” with other tracks on the timeline. How do I do that?

Essayez de changer le mode de fusion de la piste sur laquelle est votre clip.
Superposition par défaut, réglez sur Aucune

Try changing the blending mode of the track your clip is on.
Overlay by default, set to none

Mask: Apply does not reset the alpha channel. You should add filter Alpha Channel: Adjust after it. If you choose reset that clears it (transparent), and clicking Invert makes it opaque.

1 Like

Thank you!! I added an Alpha Channel: Adjust after the Mask: Apply but before the fade in and fade out, set the mode to reset and checked the invert box, and now everything works perfectly!!