from gc import freeze | |
from moviepy.editor import VideoFileClip as vfc | |
from moviepy.editor import concatenate_videoclips, vfx, videotools,CompositeVideoClip\ | |
,TextClip, ImageSequenceClip, transfx | |
#from contoutfinder import original,original2 | |
clip1=vfc("project.mp4").fx(vfx.fadeout,.5) | |
#clip1to2=vfc(original).fx(vfx.fadeout,.5).fx(vfx.freeze,'end',3) | |
clip2=vfc("next_vid.mp4").fx(transfx.crossfadein,2).fx(vfx.fadeout, .5) | |
clip3=vfc("text_vid.mp4", True).fx(vfx.fadein,.5).fx(vfx.blink, 5, 10) | |
combined=concatenate_videoclips([clip1,clip2, clip3]) | |
combined.write_videofile("combined.mp4") | |