Not working - 2 Blur-mask filters in top-layer, over a bottom-layer

Hi,

Hope someone can help.
I have 2 layers of video-tracks.

In the top-layer tract, I have a small section of track where I have the following filters:

  • Size, Position, & Rotate
  • Mask: Simple Shape [Operation = Overwrite, Shape = Rectangle]
  • Mask: Simple Shape [ [Operation = Overwrite, Shape = Add]
  • Blur: Box
  • Mask: Apply

In the bottom-layer tract, there are only 2 filters:

  • Levels
  • Gain/Volume.

With the above settings, the 2 masked-areas are blurred. But the entire remainder image is Transparent" (Cannot be seen at all).

However, if in bottom-layer tract, I toggle the entire tract visibility “by clicking the eye icon”, this then hides the bottom-layer tract, & properly reveals the top-layer tract image together with the 2 blurred areas.

I have tried changing in top-layer tract, the ‘Operation’ settings (i.e. Overwrite, Max, Min, Add, Subtract) for the 2 'Mask: Simple Shape" filters. But nothing works as I had hoped.

Hoping someone with more Shotcut skills than myself, can advise of the best way to achieve the effect I want.

After the Mask Apply add Alpha Channel: Adjust > Invert

1 Like

Also…
I can’t check right now on Shotcut, but if your Size, Position & Rotate filter is used to reduce the size (and/or position) of the clip on the top track AND the blurred areas, I think you should move it below all the other filters in the list.

Big Thank you to both Dan Dennedy, & MusicalBox for their advice. I had to apply both your advice, to get it to work correctly.

Namely,

  • Mask: Simple Shape [Operation = Overwrite, Shape = Rectangle]
  • Mask: Simple Shape [ [Operation = Overwrite, Shape = Add]
  • Blur: Box
  • Mask: Apply
  • Channel Alpha: Adjust (Invert)
  • Size, Position & Rotate

Then I had to enlarge the size of both the MASK: Simple Shape filters, owing to moving the ‘Size, Position & Rotate’ filter right to the bottom.

It works but seems counter-intuitive to me. But I am glad it works.

To all reading this, when trying to recreate this I also experienced “remainder image is Transparent.”

It was not enough to invert the alpha channel. That would simply give you, well, the opposite of visible layers parts

To make a frame entirely opaque (before other filters that change the alpha) you need to use Mode = Reset in Alpha Channel: Adjust. This clears the alpha channel to make it uniformly 0s or transparent. Then, Invert to make it opaque:

1 Like

@Sabotoz

I this what you were trying to do?

1 Like

Votre vidéo ne fonctionne pas chez moi

Your video is not working for me :worried:

J’ai initialement utilisé le preset Slide Deck (HEVC) car je craignais que le clip dépasse le quota de 8 megs du forum.
Je viens de l’exporter à nouveau avec le preset par défaut, ce qui a produit un clip de tout juste en dessous de 8 meg finalement.
Essayez à nouveau svp @Namna

I initially used the Slide Deck (HEVC) preset because I was worried that the clip would exceed the forum’s 8 meg quota.
I just exported again with the default preset, which produced a clip of just under 8 megs after all.
Please try again @Namna

1 Like

OK, la nouvelle version fonctionne chez moi. Merci @MusicalBox

OK, the new version works for me. Thanks @MusicalBox

1 Like

Thanks. That is exactly what I need to do. Except, that in the bottom-tract, I do not what see see any image at all, because I am only using the bottom-tract for its voice-audio. So after using the “Size, Position, Rotate” filter in top-tract, I want the remainder screen to be shown as a one-color (e.g. gray color).