yaofanguk
52ace7a23b
添加安装程序使用说明文档
...
- 详细的安装步骤和使用指南
- 系统要求和配置说明
- 卸载程序的方法
- 版本信息和主要特性
- 常见问题解答
- 技术支持联系方式
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 23:07:12 +08:00
yaofanguk
f21154f8d3
成功编译Windows安装程序
...
- 更新Inno Setup脚本支持版本号管理
- 移除自定义语言文件,使用默认语言
- 成功编译VideoSubtitleRemover-Setup-v1.4.0.exe
- 安装程序大小: 732 MB(LZMA压缩)
- 支持桌面快捷方式创建
- 支持开始菜单添加
- 支持完整卸载功能
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 23:06:07 +08:00
yaofanguk
70fbd90e0e
更新管理员权限说明文档
...
- 重命名为管理员权限说明_v2.md
- 更新权限请求机制说明(代码级请求)
- 添加ctypes.windll.shell32.ShellExecuteW实现说明
- 更新技术实现和优势说明
- 添加故障排除章节
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:46:35 +08:00
yaofanguk
a5a19ef2d2
在代码中添加管理员权限请求功能
...
- 在gui.py中添加Windows管理员权限检测和请求代码
- 使用ctypes.windll.shell32.ShellExecuteW实现UAC权限提升
- 移除PyInstaller的uac_admin配置避免启动问题
- 优化spec文件确保interface文件正确复制
- 程序现在会在启动时自动请求管理员权限
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:45:51 +08:00
yaofanguk
0073ec80cb
添加管理员权限功能测试说明
...
- 详细的测试步骤和预期结果
- 技术验证方法
- 编译状态确认
- 常见问题解答
- 后续步骤说明
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:21:09 +08:00
yaofanguk
7a812dbd69
添加管理员权限请求和详细说明文档
...
- 配置PyInstaller使用uac_admin请求管理员权限
- 添加管理员权限使用说明文档
- 解释程序需要管理员权限的原因
- 提供用户使用指南和常见问题解答
- 强制添加.spec文件到版本控制(尽管.gitignore忽略)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:20:45 +08:00
yaofanguk
5a117dc5c4
添加安装程序快速开始指南
...
- 详细的打包和分发流程说明
- 便携版本和安装程序版本对比
- 用户使用指南和常见问题解答
- 文件结构说明和高级配置选项
- 版本管理流程
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:08:31 +08:00
yaofanguk
3ca33fce3c
添加Windows安装程序支持
...
- 创建Inno Setup安装脚本(VideoSubtitleRemover.iss)
- 添加中英文语言支持(ChineseSimplified.isl, English.isl)
- 创建安装程序编译脚本(build_installer.bat)
- 添加详细的编译说明文档
- 支持桌面快捷方式创建
- 支持开始菜单项添加
- 支持完整卸载程序
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:08:01 +08:00
yaofanguk
774940e39b
添加无控制台启动器以隐藏控制台窗口
...
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
- 创建VBScript启动器(隐藏控制台启动.vbs)
- 创建BAT启动器备选方案(启动程序.bat)
- 添加详细使用说明(隐藏控制台窗口说明.txt)
- 保持console=True确保程序稳定运行
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 22:00:25 +08:00
yaofanguk
41da4af03f
恢复控制台窗口,避免程序卡死
...
- 临时禁用无控制台模式(console=True)
- 避免某些库初始化导致程序卡死
- 用户可通过Windows快捷方式隐藏控制台窗口
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 21:59:15 +08:00
yaofanguk
3374228309
更新打包脚本:使用正确的spec文件并移除控制台
...
- 修复build_windows.bat使用VideoSubtitleRemover_vsr.spec
- 配置为无控制台窗口模式(console=False)
- 适合正式发布的静默运行版本
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 21:37:17 +08:00
yaofanguk
c80e7fabc9
添加PyInstaller打包支持和运行时路径修复
...
- 创建PyInstaller规范文件和打包脚本
- 修复开发/打包环境路径兼容性问题
- 添加PaddleOCR运行时依赖(opencv-contrib-python, pypdfium2, pyclipper)
- 支持打包后的多进程启动
- 修复图标路径和翻译文件路径
- 清理重复的模型和FFmpeg文件
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-10 19:23:05 +08:00
yaofanguk
293cd9bbee
去除linux和macos依赖
2026-04-10 16:08:49 +08:00
yaofanguk
bc31d1ff2d
去除propainter
2026-04-10 16:08:17 +08:00
天涯古巷
c189f8368e
Add subtitle extraction feature and documentation link
...
Docker Build and Push / check-secrets (push) Successful in 2s
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
Added a feature to extract original subtitles and link to video-subtitle-extractor.
2026-04-09 23:26:58 +08:00
天涯古巷
3f3b061a53
修复拖动进度条时偶现闪退:video_cap线程安全保护
...
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
修复拖动进度条时偶现闪退:video_cap线程安全保护
1.4.0
2026-04-09 07:20:00 +08:00
flavioy
bdf333c510
修复拖动进度条时偶现闪退:video_cap线程安全保护
...
UI线程slider_changed与后台线程video_cap.release()并发访问
导致FFmpeg上下文use-after-free(SIGSEGV),添加互斥锁保护
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-09 07:18:35 +08:00
flavioy
0bae013097
优化字幕检测算法、添加多语言翻译支持
...
Docker Build and Push / check-secrets (push) Successful in 2s
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
- 自适应采样间隔:根据视频帧率调整(60fps+→4, 30fps+→3, 低帧率→2)
- filter_and_merge_intervals 复杂度从 O(n²) 优化为 O(n log n)
- detect_subtitle 区域过滤:单区域快速路径,多区域匹配即停
- 插值逻辑改用 zip 预计算 max_gap,更高效
- SubtitleDetectMode 枚举值改为英文key,通过翻译系统显示本地化名称
- 7种语言文件添加 SubtitleDetectMode 翻译(中/繁/英/日/韩/越/西)
- 旧配置值自动迁移兼容
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-09 00:17:01 +08:00
flavioy
93d822d067
修复LAMA模式100%卡死:帧区间扩展超出视频总帧数导致FramePrefetcher死锁
...
- 限制字幕区间end不超过frame_count,防止内循环消费哨兵后外层永久阻塞
- LAMA批量推理改为mini-batch(4帧),避免GPU OOM
- 各inpaint模型空inpaint_area时返回原始帧
- FFmpeg子进程添加600s超时保护
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 23:34:53 +08:00
flavioy
99788e875b
图片模式锁定LAMA算法、未选区时全屏处理
...
- 加载图片时自动锁定 inpaint 模式为 LAMA 并禁用下拉框
- 加载视频时恢复用户原始的 inpaint 模式选择
- 未选择字幕区域时自动使用全屏区域,不再报错失败
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 21:54:24 +08:00
flavioy
9a2f3cc743
支持图片文件打开与处理、修复图片加载溢出问题
...
- 文件对话框添加图片格式过滤(jpg/png/bmp/webp/tiff等)
- 修复 cv2.VideoCapture 打开图片时 FRAME_COUNT 返回 INT64_MIN
导致 QSlider.setMaximum 溢出的问题,图片直接走 load_as_picture
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 21:41:08 +08:00
flavioy
e801d58e80
GPU加速和批处理优化、更新README
...
Docker Build and Push / check-secrets (push) Successful in 3s
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
- STTN Auto/Det: 统一 torch.no_grad 包裹,减少重复上下文切换开销
- STTN Auto: 添加 FramePrefetcher 帧预读取,根据 GPU 显存动态调整 batch size
- Lama Inpaint: 新增 _inpaint_batch 批量推理,多帧合并一次 GPU 推理
- ProPainter: copy.deepcopy 替换为浅拷贝,每个区域处理后 gc.collect
- HardwareAccelerator: 新增 get_available_vram_mb 显存查询方法
- README: 添加应用 Logo,同步英文版 README_en.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 00:17:50 +08:00
flavioy
8aac76030d
更新readme
2026-04-07 23:58:57 +08:00
flavioy
1c0e396801
更新demo
2026-04-07 23:54:16 +08:00
flavioy
dbb7911b33
更新演示截图
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-07 23:30:10 +08:00
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
...
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
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
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
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
...
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