Skip to content

Video editing with Python

Align with PEP-257

George Pantelis4832a144c721
diff --git a/moviepy/video/io/ffmpeg_tools.py b/moviepy/video/io/ffmpeg_tools.py
index 6a843f3a..ce6d8639 100644
--- a/moviepy/video/io/ffmpeg_tools.py
+++ b/moviepy/video/io/ffmpeg_tools.py
@@ -121,8 +121,7 @@ def ffmpeg_resize(video, output, size):
subprocess_call(cmd)
def ffmpeg_stabilize_video(filename, output = None):
- """
-
+ """
Makes a new video file, from the given one
which is more stable
@@ -131,14 +130,12 @@ def ffmpeg_stabilize_video(filename, output = None):
filename
The name of the shaky video
-
output
The name of new stabilazed video
"""
-
name, ext = os.path.splitext(filename)
if not output:
- output = "%s_stabilazed%s"%(name, ext)
+ output = "%s_stabilized%s"%(name, ext)
cmd = [get_setting("FFMPEG_BINARY"), "-i",
filename, "-vf",