命令¶ 函数 capture(command, cwd=None, command_input=None)[source]¶ get_dir_layout(dirpath)[source]¶ 获取目录及其子目录中所有文件相对于目录路径的路径列表。 Parameters: dirpath (路径) Return type: 生成器[str, None, None] get_video_metadata(path_to_video)[来源]¶ Parameters: path_to_video (str | PathLike) Return type: 字典[str]