I’m trying to build this
http://mo-de.net/d/comp3.png and I can’t seem to get the order and code correct.
I want to, import a video, overlay it, attach a mask to it and move it.
Code:
h_mask=imagesource("C:\projects\Shawn_Hennesy_Project\comps\hmaskwhite.png", end=20, pixel_type = "RGB32").ConvertToRGB32 ()
the_interview=v1
orange_square=imagesource("C:\projects\Shawn_Hennesy_Project\comps\orange_h.png", pixel_type = "RGB32")
title_shawn_henessy=imagesource("C:\projects\Shawn_Hennesy_Project\comps\title.png", end=200, pixel_type = "RGB32")
logo = imagesource("C:\projects\Shawn_Hennesy_Project\comps\firebg.png", end=200, pixel_type = "RGB32").ConvertToRGB32 ().assumefps(v1)
\.overlay (title_shawn_henessy, mode="blend", mask=title_shawn_henessy.ShowAlpha(pixel_type="RGB32"), x=0, y=0)
\.overlay (orange_square, mode="blend", mask=orange_square.ShowAlpha(pixel_type="RGB32"), x=0, y=0)
\.overlay( the_interview,x=447, y=242, mode="blend", mask=h_mask)#.BilinearResize(820,460)
video_audio=the_interview.killvideo()
mainbg = AudioDub(logo, video_audio)
return mainbg