
    i                     @   d Z ddlZddlZddlZ ej                  d      3ej
                  dk  r$ej                  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"c m#c m$Z% ddl&m'c m#c m$Z( ddl)m"c m*c m+Z, ddl-m"c m.Z/ ddl0m"c m1c m2Z2 ddl3m4Z4 ddl.m5Z5 	 ddl6m7Z7 dD ]"  Z9 e:de9jw                  d      d   de9       $ dD ]"  Z9 e:de9jw                  d      d   de9       $ e4e_4        e4e_4        	 ddl<m=Z=m>Z> e>e_>        e=e_=        	 ddl?m>Z> e>e_>        y# e8$ r Y w xY w# e8$ r	 d Z>d Z=Y 5w xY w# e8$ r d Z>Y e>e_>        yw xY w)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..z = )r   r   zafx.audio_loopr   r   z
AudioClip.)showpreviewc                     t        d      )z7NOT AVAILABLE : clip.preview requires Pygame installed.&clip.preview requires Pygame installedImportErrorselfargskwargss      L/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/moviepy/editor.pyr!   r!   p       BCC    c                     t        d      )z4NOT AVAILABLE : clip.show requires Pygame installed.z#clip.show requires Pygame installedr$   r&   s      r*   r    r    t   s    ?@@r,   )r!   c                     t        d      )z8 NOT AVAILABLE : clip.preview requires Pygame installed.r#   r$   r&   s      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.preview r,   r*   <module>r[      s  & 
 
  299_%
& '') ,/

' ( 2 9 1 F F Q N R R 1 # " " " 7 7 ) ( 4 4 0 	) ?F( 	S 1! 4f	=>)?. ?F 	S 1! 4f	=>? ,	 +	 	A6 	 	D0 	 M  		d  ADAA  DD 	 Ds6   'E/ 
E: !F /E76E7:FFFF