SceneFileWriter

SceneFileWriter

class manimlib.scene.scene_file_writer.SceneFileWriter(scene, **kwargs)

将场景写入文件

add_sound(sound_file, time=None, gain=None, **kwargs)

添加声音

add_sound_to_video()

将声音合并入视频

close_movie_pipe()

关闭视频管道

combine_movie_files()

拼接视频

open_file()

写入完成后打开文件

open_movie_pipe(file_path)

开启视频管道

save_final_image(image)

保存视频最后一帧画面

write_frame(camera)

写入视频帧