diff --git a/.memory/worklog.json b/.memory/worklog.json index 579df6c..0ae9413 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -2029,6 +2029,13 @@ "type": "session-heartbeat", "message": "Codex 会话活跃 · 最近命令:codex · 3 项未提交变更 · 最近提交:auto-save 2026-05-13 17:45 (~1)", "files_changed": 3 + }, + { + "ts": "2026-05-13T17:51:10+08:00", + "type": "commit", + "message": "auto-save 2026-05-13 17:50 (~4)", + "hash": "f5bdda9", + "files_changed": 4 } ] } diff --git a/api/main.py b/api/main.py index 0f69cf3..42343e2 100644 --- a/api/main.py +++ b/api/main.py @@ -312,7 +312,7 @@ async def pipeline_download(job_id: str) -> None: async def pipeline_analyze(job_id: str, frame_count: int = KEYFRAME_COUNT) -> None: - """阶段 2:拆音轨 + 抽关键帧 + ASR + 翻译。需要 source.mp4 已存在。""" + """阶段 2:拆音轨 + 抽关键帧。ASR/翻译是独立文案轨,不阻塞视觉素材流。""" job = JOBS[job_id] d = job_dir(job_id) try: @@ -384,12 +384,9 @@ async def pipeline_analyze(job_id: str, frame_count: int = KEYFRAME_COUNT) -> No status="frames_extracted", frames=renamed, progress=70, - message=f"已抽取 {len(renamed)} 张关键帧", + message=f"已抽取 {len(renamed)} 张关键帧 · 可继续清洗 / 提取元素 / 分镜编排", ) - # 自动接 ASR + 翻译 - await pipeline_transcribe(job_id) - except Exception as e: update(job, status="failed", error=str(e), message="解析失败")