VideoWriter.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:mugen 作者: scherroman 项目源码 文件源码
def write_video_clips_to_directory(self, video_clips: List[VideoClip], directory: str, *,
                                       file_extension: str = VIDEO_EXTENSION, audio: Union[str, bool] = True,
                                       **kwargs):
        """
        Writes a list of video segments to files in the specified directory
        """
        for index, segment in enumerate(tqdm(video_clips)):
            output_path = os.path.join(directory, str(index) + file_extension)
            self.write_video_clip_to_file(segment, output_path, audio=audio, verbose=False, progress_bar=False,
                                          **kwargs)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号