You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Actually I am creating video clip by stiching multiple image clips with slide effect, for effect I am using Lambda when passing static numbers at x,y position all works fine but when I am passing custom variable with proper int type at x,y cordinates its not working properly, kindly let me what causing this issue.
Code:
slide1 = ImageClip(img.jpg ,duration=3).set_duration(3).set_start(timer * 3 ).set_position(lambda t: ( 50 + (300-25)(t/1) if (50 + (300-20)(t/1) < xPos1) else xPos1,yPos1)).crossfadein(.5).fx(normalize_image)
The text was updated successfully, but these errors were encountered:
Hi,
Actually I am creating video clip by stiching multiple image clips with slide effect, for effect I am using Lambda when passing static numbers at x,y position all works fine but when I am passing custom variable with proper int type at x,y cordinates its not working properly, kindly let me what causing this issue.
Code:
slide1 = ImageClip(img.jpg ,duration=3).set_duration(3).set_start(timer * 3 ).set_position(lambda t: ( 50 + (300-25)(t/1) if (50 + (300-20)(t/1) < xPos1) else xPos1,yPos1)).crossfadein(.5).fx(normalize_image)
The text was updated successfully, but these errors were encountered: