Using an alpha mask to create transparent layers in the video editor

I have a background element of some moving buildings - 240 frames. I have processed these frames in a program called Fotosketch in order to give them a painted look. This program doesn’t have the ability to preserve alpha information - so I did an alpha pass of the same 240 frames.


What I’d like to do, in the Blender video editor, is use the alpha pass frames to “cut out” the white background of the painted colour frames and have a sky background behind them.

This is the video editor setup I have at the moment. As you can see, the solid red layer at the bottom isn’t showing through, despite the buildings seeming to have a transparent alpha background. By inverting the alpha of the alpha pass in the compositor I can get it to show in the space where the buildings are, which is the opposite of what I need, but indicates that what I’m after is possible.

Ultimately what I want is to end up with an image like this, with the foreground train, and two background layers - the train platform and the buildings behind it. I put this together in an image editor.

Hi, is the color strip set to alpha over?

Thanks. It is. I’ve tried about every combination of every blend mode with every strip.

Dose the red show if you delete the Alpha strip?
If you could save just one image from each strip and save as a new file, and share it, i will have a look.

I do have no experience with “other” node based video editor compositing software so maybe you are thinking in that workflow ?

So isn’t this a task for blenders compositor and not the video editor ??

Of course using only that two images and no sequence or video in that example..

(Also maybe “missing” some above 3.6 featues here; because only on my internet computer and didn’t usedsome of that “advanced” video features yet :sweat_smile: )

If I delete the alpha pass frames the colour frames just return to normal.

Animation.blend (83.6 KB)

So this is a different layer, inside the train, but shows the same issue. Really appreciate it.

You didn’t pack the images.

Apologies, I’d forgotten Blender doesn’t do that by default. I attempted to pack external resources but it gave me a “no new files have been packed” error, so I’ve simply included them in this zip with the blend file.

Anim-pack resources.zip (2.8 MB)

I am sorry but didn’t find a quick fix what i think you will have to do is use third party app to make the windows transparent and save with alpha channel.

Well I appreciate the effort all the same. Thanks.

The other option is to do it all in the compositor and render it from there.

That seems like it could work, but I’m fuzzy on how to import both image sequences into the compositor.

I may not completely understood that sentence.. fuzzy.. what (non-native english listener here :wink: ) ?? But in my example i used the image node.. but there is (like tried to imply/suggest) the Image Sequence and the Movie Clip node too.

Start a new file and add the images as image sequence the same way i did in the example. Not complicated at all.

I think I’ve got it yeah. Just combine them into one new file, with alpha transparency and then work with those. Really appreciate all the help, be sure to give you a shout out if this thing is ever finished.

Like this: