Conversation
添加依赖检查模块(dependency_checker.py),改进requirements.txt文档,增强主程序(main.py)和音频处理器(audio_processor.py)的错误处理机制 - 新增dependency_checker.py实现自动依赖检查功能 - 重构requirements.txt提供更清晰的安装指南 - 改进main.py添加友好的错误提示和解决方案 - 增强audio_processor.py的FFmpeg查找和错误处理逻辑 - 优化用户界面,提供更详细的进度和状态信息
新增字幕处理核心模块,包括: 1. subtitle_models.py - 统一字幕数据模型 2. subtitle_translator.py - 支持多后端的翻译模块 3. subtitle_editor.py - 提供撤销/重做功能的字幕编辑器 4. subtitle_exporter.py - 支持SRT/ASS/VTT多格式导出 5. subtitle_embedder.py - 基于FFmpeg的字幕硬嵌入功能 6. video_subtitle_enhanced.py - 增强版主模块整合所有功能 同时添加测试模块test_modules.py验证各功能
添加了歌曲SeeYouAgain的字幕文件,包含完整歌词和时间轴 同时在main.py中更新了类型注解,添加了Tuple类型
fix(embedder): 修复FFmpeg路径转义和错误解析问题 docs: 更新README添加v2.0功能说明和常见问题解答 test: 添加修复验证测试脚本
实现基于FastAPI的全栈Web应用,包含以下功能: - 文件上传与处理任务管理 - WebSocket实时进度推送 - 在线字幕编辑器 - 多格式导出功能 - 批量处理支持 新增核心模块: - 任务管理模块 - WebSocket连接管理 - 配置管理系统 - 处理器集成 - 静态资源与模板
重构前端样式使用本地tailwind CSS文件替代CDN引入,优化任务管理模块和WebSocket通信逻辑 - 将tailwind CSS从CDN改为本地文件引入 - 重构任务管理模块,简化状态管理和错误处理 - 优化WebSocket消息格式和连接管理 - 更新前端样式和交互逻辑 - 调整配置文件结构和路径处理
refactor(本地翻译): 重构本地翻译模型加载与缓存机制 test(功能验证): 添加核心功能测试脚本
增加 SubtitleDocument 的 to_json 方法用于序列化 优化双语字幕处理逻辑,当翻译不可用时显示原文 添加任务处理时长计算功能 重构测试脚本以验证核心功能
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: 改进双语字幕处理逻辑和任务时长计算
增加 SubtitleDocument 的 to_json 方法用于序列化
优化双语字幕处理逻辑,当翻译不可用时显示原文
添加任务处理时长计算功能
重构测试脚本以验证核心功能