View Single Post
Old 3rd May 2019, 03:50   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
I don't know about vsutils' Overlay , but havsfunc's Overlay works like this (basically the same as avisynth's Overlay):

Overlay using transparency requires you to specify the alpha channel mask

But in vapoursynth for RGBA , the [0] is for the RGB channels , [1] is for the alpha (different than avisynth)

Overlay order is the base layer first , then the overlay on top ie. overlay(base, top) .

Code:
.
.
.
import havsfunc as haf
.
.
.

final = haf.Overlay( logo, vfx[0], mask=vfx[1])

final.set_output()

Last edited by poisondeathray; 3rd May 2019 at 03:58.
poisondeathray is offline   Reply With Quote