SceneFileWriter¶
SceneFileWriter¶
- class manimlib.scene.scene_file_writer.SceneFileWriter(scene, **kwargs)¶
将场景写入文件
- add_sound(sound_file: str, time: float | None = None, gain: float | None = None, gain_to_background: float | None = None) None ¶
添加声音
- add_sound_to_video() None ¶
将声音合并入视频
- close_movie_pipe() None ¶
关闭视频管道
- combine_movie_files() None ¶
拼接视频
- open_file() None ¶
写入完成后打开文件
- open_movie_pipe(file_path: str) None ¶
开启视频管道
- save_final_image(image: Image) None ¶
保存视频最后一帧画面