Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

xiaoqi / mp4giftconvert

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit f4ea7192 authored a month ago by xiaoqi's avatar xiaoqi
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

脚本

parent e2d22008 master
Hide whitespace changes
Inline Side-by-side
Showing with 1 additions and 1 deletions
  • convert_webp_2_mp4.py
convert_webp_2_mp4.py
View file @ f4ea7192
......@@ -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文件已经生成,则获取其大小并累加到总大小中
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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