moviepy.video.io.ffmpeg_tools.ffmpeg_stabilize_video#

moviepy.video.io.ffmpeg_tools.ffmpeg_stabilize_video(inputfile, outputfile=None, output_dir='', overwrite_file=True, logger='bar')[source]#

Stabilizes filename and write the result to output.

Parameters:
  • inputfile (str) -- The name of the shaky video.

  • outputfile (str, optional) -- The name of new stabilized video. Defaults to appending '_stabilized' to the input file name.

  • output_dir (str, optional) -- The directory to place the output video in. Defaults to the current working directory.

  • overwrite_file (bool, optional) -- If outputfile already exists in output_dir, then overwrite outputfile Defaults to True.