Video editing with Python
make the code PEP8 compatible
George Pantelis7841de0fc5c7
diff --git a/moviepy/video/io/ffmpeg_tools.py b/moviepy/video/io/ffmpeg_tools.pyindex 710eeb5a..6a843f3a 100644--- a/moviepy/video/io/ffmpeg_tools.py+++ b/moviepy/video/io/ffmpeg_tools.py@@ -119,29 +119,30 @@ def ffmpeg_resize(video, output, size):]subprocess_call(cmd)--def ffmpeg_stabilaze_video(filename,output = None):++def ffmpeg_stabilize_video(filename, output = None):"""- Makes a new video file , from the given one+ Makes a new video file, from the given onewhich is more stable- Parameters+ Parameters------------ filename- The name of the shaky video+ filename+ The name of the shaky video- output- The name of new stabilazed video- """+ output+ The name of new stabilazed video+ """- name,ext = os.path.splitext(filename)+ name, ext = os.path.splitext(filename)if not output:- output = "%s_stabilazed%s"%(name,ext)+ output = "%s_stabilazed%s"%(name, ext)- cmd = [get_setting("FFMPEG_BINARY"),"-i",- filename,"-vf",- "deshake",output]+ cmd = [get_setting("FFMPEG_BINARY"), "-i",+ filename, "-vf",+ "deshake", output]subprocess_call(cmd)+