Skip to content

Instantly share code, notes, and snippets.

@ericgitonga
Last active July 1, 2021 14:53
Show Gist options
  • Save ericgitonga/9e146fc667264a9d481dba8136961d88 to your computer and use it in GitHub Desktop.
Save ericgitonga/9e146fc667264a9d481dba8136961d88 to your computer and use it in GitHub Desktop.
import moviepy.video.fx
from moviepy.editor import vfx
clip1 = clip.fx(vfx.mirror_x)
clip2 = clip.fx(vfx.mirror_y)
clip3 = clip.fx(vfx.rotate, 180)
clip4 = clip.fx(vfx.blackwhite)
final_clip = mpy.clips_array([[clip1, clip2],
[clip3, clip4]])
final_clip.write_videofile("video/effects_array.mp4")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment