~~~

cmd_frames = f"ffmpeg -i {video_path} -filter:v fps=1/{space} {output_img_path} -loglevel quiet"

my_print(f"执行的ffmpeg命令:{cmd_frames}")

ffmpeg_code = subprocess.call(cmd_frames, shell=True)

~~~