moviepy.video.fx.all.mask_and

moviepy.video.fx.all.mask_and(clip, other_clip)[source]

Returns the logical ‘and’ (min) between two masks. other_clip can be a mask clip or a picture (np.array). The result has the duration of ‘clip’ (if it has any)