Skip to content

Commit

Permalink
PEP 8 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
gpantelis authored Jun 5, 2017
1 parent 3bd0075 commit 2dbdf1d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions moviepy/video/io/ffmpeg_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def ffmpeg_resize(video,output,size):

subprocess_call(cmd)

def ffmpeg_stabilized_video(filename, output = None):
"""
def ffmpeg_stabilized_video(filename, output=None):
"""
Makes a new video file, from the given one
which is more stable
Expand All @@ -82,11 +82,11 @@ def ffmpeg_stabilized_video(filename, output = None):
"""
name, ext = os.path.splitext(filename)
if not output:
output = "%s_stabilized%s"%(name, ext)
output = output = "{0}_stabilized{1}".format(name, ext)

cmd = [get_setting("FFMPEG_BINARY"), "-i",
filename, "-vf",
"deshake", output]

filename, "-vf",
"deshake", output]
subprocess_call(cmd)


0 comments on commit 2dbdf1d

Please sign in to comment.