Commit Graph

139 Commits

Author SHA1 Message Date
flavioy
1ab2eb96cf 美化控制台输出:时间戳、颜色标签、线程安全优化
- PlainTextEdit 替换为 TextEdit 支持 HTML 富文本
- 每条日志添加 [HH:MM:SS] 时间戳
- 根据消息类型自动着色(错误红/成功绿/警告橙/信息蓝)
- 修复字幕检测模型无 ONNX providers 时输出空括号的问题
- HTML 特殊字符转义防止注入
- 清理 gui.py closeEvent 中多余的注释代码

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 23:29:16 +08:00
flavioy
6c61ddc6b0 性能优化:帧采样、FFmpeg编码、帧预读取、消除冗余拷贝
- 字幕检测:每3帧采样一次OCR,中间帧插值填充,检测速度提升约3倍
- 视频编码:cv2.VideoWriter(mp4v) 替换为 FFmpeg libx264 管道编码,画质更好、体积更小
- 帧预读取:后台线程预解码视频帧,I/O 与模型推理重叠
- 消除 deepcopy:numpy 数组改用 .copy() 替代 copy.deepcopy,降低内存开销
- 清理冗余颜色空间转换中的 np.array() 包装

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 22:58:52 +08:00
flavioy
70e669e9d4 升级 PaddleOCR 至 3.4.0,移除 PP-OCRv4 模型
- PaddleOCR 2.10.0 升级至 3.4.0,使用新的 TextDetection API 替代旧版 TextDetector
- V5 模型替换为 PaddleX 格式(inference.pdiparams + inference.yml)
- 移除 PP-OCRv4 模型(backend/models/V4),仅保留 PP-OCRv5
- 字幕检测选项重命名为"快速"和"精准"
- 清理 requirements.txt,移除 11 个未使用的依赖,补充缺失的依赖
- 更新设计素材

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 22:34:36 +08:00
flavioy
d023ca775c Merge eritpchy/dev: update Docker instructions to v1.4.0
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 4s
Docker Build and Push / build-and-push (cpu, latest) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CPU / build (push) Has been cancelled
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
Resolve README.md conflict by adopting dev branch's updated
Docker commands (v1.4.0 with python backend/main.py args).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 22:18:27 +08:00
天涯古巷
a577efd3e1 Update README.md
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 10s
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
2025-12-03 08:40:41 +08:00
方耀
2bb2d54314 ganxie lyons
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 23s
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
2025-06-26 14:43:41 +08:00
Jason
7025d3234b 升级版本号至1.4.0 2025-05-22 19:52:37 +08:00
Jason
21b0c31638 CPU版本硬件加速给予友好提示 2025-05-22 19:52:37 +08:00
Jason
50c89c1217 同时支持PP-OCRv4 PP-OCRv5模型 2025-05-22 19:52:36 +08:00
Jason
afcc93b9cc 支持设置视频保存路径 2025-05-22 19:50:24 +08:00
Jason
70488eb290 选区部分全部采用浮点值, 以便更好的适配不同尺寸不同分辨率 2025-05-22 16:33:56 +08:00
Jason
9edeb437fb 支持不同任务使用不同选区 2025-05-22 15:09:59 +08:00
Jason
65888f4274 强制命令行使用英语 2025-05-22 15:09:59 +08:00
Jason
40ff7664e0 升级版本号至1.3.0 2025-05-22 15:09:59 +08:00
Jason
e26e23ad6a 支持设置时间选区
支持方向键快进快退(ctrl + -> or shirft + -> or ->)
2025-05-22 15:09:59 +08:00
Jason
7cf4e882cd 初步支持 macOS (Apple Silicon)
升级至PP-OCRv5
Tested with Python 3.13
感谢用户 "期望" 提供的macOS设备用于开发测试
2025-05-22 13:02:28 +08:00
Jason
c673b5ccd1 支持多字幕区域 2025-05-22 08:42:00 +08:00
Jason
f78e985e1c 使用PySide6-Fluent-Widgets重构整套UI
添加任务列表组件并优化视频加载逻辑
支持可视化显示字幕区域
整理所有模型, 分别为STTN智能擦除, STTN字幕检测, LAMA, ProPainter, OpenCV
提高处理性能
新增CPU运行模式并优化多语言支持
修复Propainter模式部分视频报错

本次提交新增了CPU运行模式,适用于无GPU加速的场景。同时,优化了多语言支持,新增了日语、韩语、越南语等语言配置文件,并更新了README文档以反映新的运行模式和多语言支持。此外,修复了部分代码逻辑,提升了系统的稳定性和兼容性。
2025-05-22 08:41:59 +08:00
天涯古巷
7049a24883 Update README.md
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 12s
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
2025-05-13 10:35:27 +08:00
天涯古巷
7e0ed62b9e Merge pull request #151 from eritpchy/patch-2
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 5s
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
2025年5月积累更新
2025-05-13 09:49:04 +08:00
Jason
7a5384ad95 更新README 2025-05-06 22:10:11 +08:00
Jason
b40ab7d921 发布docker镜像 2025-05-06 21:18:32 +08:00
Jason
7304905a84 支持CI自动发布 2025-04-25 13:01:51 +08:00
Jason
150923b409 Update requirements.txt 2025-04-25 13:01:40 +08:00
Jason
746db4bced DirectML版本支持运行STTN模型(Windows) 2025-04-25 13:01:31 +08:00
Jason
30e7913981 修复结束时inpaint_area报错 2025-04-25 13:01:26 +08:00
Jason
6fc6d35584 主界面显示版本号, 方便定位问题 2025-04-25 13:01:09 +08:00
Jason
87d8d9d3d7 适配torch 2.8.0 nightly build 2025-04-25 13:00:58 +08:00
Jason
3770ccdcfd 改用PaddleOCR, 跟随主线更新 2025-04-25 13:00:30 +08:00
Jason
29873c33ea 由于PySimpleGUI作者故意移除免费的旧版本,改用PySimpleGUI-4-foss 2025-04-25 13:00:19 +08:00
天涯古巷
196a1a8e7b Merge pull request #150 from YaoFANGUK/revert-130-main
Revert "由于PySimpleGUI作者故意移除免费的旧版本,改用PySimpleGUI-4-foss"
2025-04-25 11:03:29 +08:00
天涯古巷
53baf28326 Revert "由于PySimpleGUI作者故意移除免费的旧版本,改用PySimpleGUI-4-foss" 2025-04-25 11:03:16 +08:00
天涯古巷
991294c00f Merge pull request #130 from eritpchy/main
由于PySimpleGUI作者故意移除免费的旧版本,改用PySimpleGUI-4-foss
1.1.1
2025-04-25 07:36:30 +08:00
Jason
ea7e01e3aa 发布docker镜像 2025-04-24 23:45:54 +08:00
Jason
acdb150aa2 支持CI自动发布 2025-04-24 16:22:01 +08:00
Jason
285bfbafa7 Update requirements.txt 2025-04-24 16:14:43 +08:00
Jason
97b4159d38 DirectML版本支持运行STTN模型(Windows) 2025-04-24 15:56:13 +08:00
Jason
bb80445cf4 修复结束时inpaint_area报错 2025-04-24 15:53:28 +08:00
Jason
7e8d0b818b 主界面显示版本号, 方便定位问题 2025-04-24 15:51:21 +08:00
Jason
77758d258b 适配torch 2.8.0 nightly build 2025-04-24 15:47:23 +08:00
Jason
c60234f4ec 改用PaddleOCR, 跟随主线更新 2025-04-24 15:46:38 +08:00
Jason
38ff91fad7 由于PySimpleGUI作者故意移除免费的旧版本,改用PySimpleGUI-4-foss 2025-02-28 15:35:59 +08:00
天涯古巷
9f9cded1ff Update README.md 2025-02-19 09:34:37 +08:00
天涯古巷
54027ceeb0 Add files via upload 2025-02-19 09:33:02 +08:00
天涯古巷
1dc9036dee Update README.md 2025-02-19 09:24:46 +08:00
天涯古巷
09dbfa47f2 Update README.md 2025-01-03 10:29:42 +08:00
天涯古巷
aa83db0f98 Update README.md 2024-12-24 11:37:19 +08:00
天涯古巷
f86c8c9fe8 Update README.md 2024-12-15 17:26:49 +08:00
天涯古巷
3dc8f3bfe0 Update main.py 2024-10-23 16:41:01 +08:00
天涯古巷
b0ca454473 感谢张音乐赞助 2024-10-13 14:22:40 +08:00