Is it possible to use a video/image sequence as a mask?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
alberto.linkvids
Posts: 5
Joined: Tue Aug 11, 2026 10:55 pm

Is it possible to use a video/image sequence as a mask?

Post by alberto.linkvids »

Hi!
I've been trying to paint some brush strokes on top of a video with alpha and i want them to remain confined to the shapes of the video, i mean, not going into the background. I have been trying to use the video as a mask, both as a .mov and as image sequences (png and tga) but the mask doesn't update as the frames of the video change.

Does anyone know if theres a way to do this?
Thanks in advance!
User avatar
slowtiger
Posts: 6392
Joined: Thu Feb 16, 2006 9:53 am
Location: Berlin, Germany
Contact:

Re: Is it possible to use a video/image sequence as a mask?

Post by slowtiger »

This should definitely work, I've just tested again.

1. Take care to really have an alpha channel - you have to prepare that in the video. (Greenscreen/Colour key in Moho might work, I've never tested.)
2. Save in a format which preserves alpha (Video: PNG codec wth millions+ colours).
3. Create the correct masking setup (mask video and masked layer within the same folder).
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini M2 Pro OS 13.7.6
alberto.linkvids
Posts: 5
Joined: Tue Aug 11, 2026 10:55 pm

Re: Is it possible to use a video/image sequence as a mask?

Post by alberto.linkvids »

Thank you for the answer! Yes, I have followed these steps. The mask works but it looks as if it only catches the first frame, as the video moves, the mask remains the same and doesn't synchronize with the video as it plays.
User avatar
slowtiger
Posts: 6392
Joined: Thu Feb 16, 2006 9:53 am
Location: Berlin, Germany
Contact:

Re: Is it possible to use a video/image sequence as a mask?

Post by slowtiger »

That's strange, it works here. You have checked if the video plays elsewhere, I suppose.

We're talking about a rendered video from Moho, not the Project Window View, right?
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini M2 Pro OS 13.7.6
alberto.linkvids
Posts: 5
Joined: Tue Aug 11, 2026 10:55 pm

Re: Is it possible to use a video/image sequence as a mask?

Post by alberto.linkvids »

Thank you! Thats was the issue, I thought I could watch it on the project preview windows on real time, I have rendered it now and it works perfectly!
User avatar
slowtiger
Posts: 6392
Joined: Thu Feb 16, 2006 9:53 am
Location: Berlin, Germany
Contact:

Re: Is it possible to use a video/image sequence as a mask?

Post by slowtiger »

Glad it works now!
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15
Moho 14.1 Mac Mini M2 Pro OS 13.7.6
User avatar
SimplSam
Posts: 1316
Joined: Thu Mar 13, 2014 9:09 am
Location: London, UK
Contact:

Re: Is it possible to use a video/image sequence as a mask?

Post by SimplSam »

You can alternatively import the PNG sequence as an FBF sequence (Scripts > Image > Import Image Sequence), and use that as the mask layer - and it will update in the Edit view on every frame.
Moho 14.4 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.4 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Post Reply