Commit f4ea7192 by xiaoqi

脚本

parent e2d22008
Showing with 1 additions and 1 deletions
......@@ -387,7 +387,7 @@ def get_total_size(input_webp_path_str):
# 原始webp文件的路径对象
webp_path = Path(input_webp_path_str)
# 最终合并视频的输出路径保持不变,仍然位于原始webp文件所在目录
output_merge_video_path = webp_path.parent / f"{webp_path.stem}.mp4"
output_merge_video_path = f"{webp_path.parent}/{webp_path.stem}.mp4"
if Path(output_merge_video_path).exists():
# 如果mp4文件已经生成,则获取其大小并累加到总大小中
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment