moviepy.video.io.ffmpeg_tools.ffmpeg_resize#

moviepy.video.io.ffmpeg_tools.ffmpeg_resize(inputfile, outputfile, size, logger='bar')[source]#

Resizes a file to new size and write the result in another.

Parameters:
  • inputfile (str) -- Path to the file to be resized.

  • outputfile (str) -- Path to the output file.

  • size (list or tuple) -- New size in format [width, height] for the output file.