Skip to content

Video editing with Python

oops change VideoClip, and renamed vfx.time_symMetrize

Zulko359e8466ea03
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.py
index aa3f69a4..5930ccae 100644
--- a/moviepy/video/VideoClip.py
+++ b/moviepy/video/VideoClip.py
@@ -141,8 +141,7 @@ class VideoClip(Clip):
@requires_duration
- def write_videofile(self, filename=None,
- fps=24, codec='libx264',
+ def write_videofile(self, filename, fps=24, codec='libx264',
bitrate=None, audio=True, audio_fps=44100,
preset="medium",
audio_nbytes = 4, audio_codec= 'libmp3lame',
@@ -157,8 +156,7 @@ class VideoClip(Clip):
-----------
filename
- Name of the video file to write in. Can be None if a 'filebuffer'
- parameter is provided (see below)
+ Name of the video file to write in.
The extension must correspond to the "codec" used (see below),
or simply be '.avi' (which will work with any codec).
diff --git a/moviepy/video/fx/time_symetrize.py b/moviepy/video/fx/time_symmetrize.py
similarity index 95%
rename from moviepy/video/fx/time_symetrize.py
rename to moviepy/video/fx/time_symmetrize.py
index 0cbea186..a6ba7ec0 100644
--- a/moviepy/video/fx/time_symetrize.py
+++ b/moviepy/video/fx/time_symmetrize.py
@@ -5,7 +5,7 @@ from .time_mirror import time_mirror
@requires_duration
@apply_to_mask
-def time_symetrize(clip):
+def time_symmetrize(clip):
"""
Returns a clip that plays the current clip once forwards and
then once backwards. This is very practival to make video that