Viewing File: /home/ubuntu/combine_ai/combine/lib/python3.10/site-packages/moviepy/video/fx/mirror_x.py


def mirror_x(clip, apply_to= "mask"):
    """ flips the clip horizontally (and its mask too, by default) """
    return clip.fl_image(lambda f: f[:,::-1], apply_to = apply_to)
Back to Directory File Manager