aad1548348
- Extract all path/API config to config.py (single source of truth) - Add run.py / burn_only.py / run.bat / burn.bat entry points - burn_only: skip transcription/subtitle gen, fast reburn existing SRTs - Fix title_segments: use transcript keyword time for split point - Fix subtitle: each overlapping title shows max title_duration (not full clip) - Fix burn_only font size: default from 90 to 60 - Delete old run_lesson1.bat/py, temp debug scripts - Update README, ARCHITECTURE, CHANGELOG, add USAGE.md
1.7 KiB
1.7 KiB
更新日志
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
docs/USAGE.md- 使用指南(run.bat / burn.bat / 修改知识点流程)config.py- 统一配置文件,所有路径和 API 配置集中管理run.py/burn_only.py- 独立入口脚本--resume-from-burnCLI 参数 - 快速烧录模式,跳过所有转录/字幕生成步骤
Changed
run.bat/burn.bat替代原有的run_lesson1.bat(不再需要改多处配置)ppt_parser.py: 重叠片段的title_segments用 transcript 关键词首次出现时间计算切分点pipeline.py: 新增_recalculate_title_segments_from_transcript(),在转录完成后用实际 transcript 数据修正标题切换时间subtitle.py: 多标题片段中每个标题最多显示title_duration秒(原逻辑会一直显示到片段结束)pipeline.py:step_burn的title_fontsize默认值从 90 改为 60
Fixed
ppt_parser.py: 不重叠的 clip 残留title_segments导致标题显示时长错误subtitle.py: 重叠片段第二个标题显示时长超过title_durationpipeline.py: 快速烧录模式因video_params为空导致字号使用默认值 90 而非 60
Removed
run_lesson1.bat/run_lesson1.py- 旧入口,已由config.py+run.bat/burn.bat替代
[1.0.0] - 2026-05-02
Added
- 初始版本发布
- 片段提取功能
- Whisper 语音转录
- LLM 标题纠错
- 双轨字幕生成
- 字幕烧录功能
- 状态持久化支持
- 暂停/恢复功能