Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6
System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
User : User ( 0)
PHP Version : 7.4.6
Disable Function : NONE
Directory :  C:/Program Files (x86)/ImTOO/Video Converter Ultimate/plugins/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : C:/Program Files (x86)/ImTOO/Video Converter Ultimate/plugins/Top to Bottom(Slide vs Shrink).pat
# Perform the desired effect, assume clip1 & clip2 are supplied
black = BlankClip(width=clip1.Width,height=clip1.Height,color=color_black,length=clip1.FrameCount, fps=clip1.FrameRate)
white = BlankClip(width=clip1.Width,height=clip1.Height,color=color_white,length=clip1.FrameCount, fps=clip1.FrameRate)

# Top->Bottom -Use MOVE mode for speed
tmask = LineAnim(black, white, y_start=-clip1.Height/2, y_end=clip1.Height/2)

clipx = clip1.SWScale(colorspace="RGB32")
clipy = clip2.SWScale(colorspace="RGB32")

slide1 = LineAnim(black, clipx, y_end=clip1.Height, h_end=0)
slide2 = LineAnim(black, clipy, y_start=-clip1.Height/2, y_end=clip1.Height/2)

# clip1.FrameCount the 2 slide
trans = Overlay(slide1, slide2, mask=tmask).SWScale(colorspace="YV12")