o
    Y+i                     @   sD  d Z ddlZddlZddlZeddu r ejdk r ejj  dej	d< ddl
mZ dd	lmZ dd
lmZ ddlmZmZmZmZ ddlmZmZ ddlmZmZ ddlmZmZmZ ddlm Z  ddl!m"  m#  m$Z% ddl&m'  m#  m$Z( ddl)m"  m*  m+Z, ddl-m"  m.Z/ ddl0m"  m1  m2Z2 ddl3m4Z4 ddl.m5Z5 zddl6m7Z7 W n	 e8y   Y nw dD ]Z9e:de9;dd e9f  qdD ]Z9e:de9;dd e9f  qe4e_4e4e_4z
ddl<m=Z=m>Z> W n e8y   dd Z>dd Z=Y nw e>e_>e=e_=zddl?m>Z> W n e8y   dd Z>Y nw e>e_>dS )a  
This file is meant to make it easy to load the main features of
MoviePy by simply typing:

>>> from moviepy.editor import *

In particular it will load many effects from the video.fx and audio.fx
folders and turn them into VideoClip methods, so that instead of
>>> clip.fx( vfx.resize, 2 ) # or equivalently vfx.resize(clip, 2)
we can write
>>> clip.resize(2)

It also starts a PyGame session (if PyGame is installed) and enables
clip.preview().
    NFFMPEG_BINARY)      1PYGAME_HIDE_SUPPORT_PROMPT   )VideoFileClip)ImageSequenceClip)download_webfile)	VideoClip	ImageClip	ColorClipTextClip)CompositeVideoClipclips_array)concatenate_videoclipsconcatenate)	AudioClipCompositeAudioClipconcatenate_audioclips)AudioFileClip)ipython_display)cvsecs)sliders)afx.audio_fadeinafx.audio_fadeoutafx.audio_normalizeafx.volumexztransfx.crossfadeinztransfx.crossfadeoutzvfx.cropz
vfx.fadeinzvfx.fadeoutzvfx.invert_colorszvfx.loopz
vfx.marginzvfx.mask_andzvfx.mask_orz
vfx.resizez
vfx.rotatez
vfx.speedxzVideoClip.%s = %s.)r   r   zafx.audio_loopr   r   zAudioClip.%s = %s)showpreviewc                 O      t d)z7NOT AVAILABLE : clip.preview requires Pygame installed.&clip.preview requires Pygame installedImportErrorselfargskwargs r)   A/var/www/html/venv/lib/python3.10/site-packages/moviepy/editor.pyr    p      r    c                 O   r!   )z4NOT AVAILABLE : clip.show requires Pygame installed.z#clip.show requires Pygame installedr#   r%   r)   r)   r*   r   t   r+   r   )r    c                 O   r!   )z8 NOT AVAILABLE : clip.preview requires Pygame installed.r"   r#   r%   r)   r)   r*   r       r+   )@__doc__ossysimageiogetenvversion_infopluginsffmpegdownloadenvironvideo.io.VideoFileClipr   video.io.ImageSequenceClipr	   video.io.downloaderr
   video.VideoClipr   r   r   r   $video.compositing.CompositeVideoClipr   r   video.compositing.concatenater   r   audio.AudioClipr   r   r   audio.io.AudioFileClipr   moviepy.video.fx.allvideofxallvfxmoviepy.audio.fx.allaudioafx%moviepy.video.compositing.transitionscompositingtransitionstransfxmoviepy.video.toolstools
videotoolsmoviepy.video.io.ffmpeg_toolsioffmpeg_toolsvideo.io.html_toolsr   r   video.io.slidersr   r$   methodexecsplitmoviepy.video.io.previewr   r    moviepy.audio.io.previewr)   r)   r)   r*   <module>   s`    



