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
filenameand write the result tooutput.- 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
outputfilealready exists inoutput_dir, then overwriteoutputfileDefaults to True.