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/Left to Right(Expand vs Slide).pat
# Perform the 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)

# Left->Right -Use MOVE mode for speed
tmask = LineAnim(black, white, x_start=0, w_start=0, x_end=clip1.Width/2, w_end=clip1.Width)

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

slide1 = LineAnim(black, clipx, x_end=clip1.Width+clip1.Width/2)
slide2 = LineAnim(black, clipy, x_start=0, w_start=0, x_end=clip1.Width/2, w_end=clip1.Width)

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