Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
8738423
feat(srt_driven_edit): add SRT-driven edit pipeline
xiaogang-sudo May 19, 2026
c9800e3
feat(recommend_edit_plan): suggest edit_plan.json from script + trans…
xiaogang-sudo May 19, 2026
87439d1
docs: add CLAUDE.md and AGENTS.md project guidance for AI assistants
xiaogang-sudo May 19, 2026
b7dbd6e
feat(run_episodes): discover-and-run episode batches by directory layout
xiaogang-sudo May 19, 2026
e0be38f
feat(batch): enrich failure records with index, paths, and stderr tail
xiaogang-sudo May 19, 2026
7059f34
feat: add main.py — project-root entry point with input/output defaults
xiaogang-sudo May 19, 2026
f88b58d
feat: add srt_video_editor.py — minimal viable, no-ffmpeg edition
xiaogang-sudo May 19, 2026
09783f5
feat(srt_video_editor): cut clips per cue into temp/ with ffmpeg
xiaogang-sudo May 19, 2026
2ffe067
feat(srt_video_editor): concat temp clips into output/final.mp4
xiaogang-sudo May 20, 2026
55f623c
fix(batch): catch non-SystemExit errors so --continue-on-error is real
xiaogang-sudo May 20, 2026
0bc07c5
docs(srt_video_editor): mark as learning-grade, redirect to main.py
xiaogang-sudo May 20, 2026
7094eb8
feat(recommend): monotonic-source guard + source-time discontinuity w…
xiaogang-sudo May 20, 2026
a6e686d
feat(srt_video_editor): cut to SRT duration, validate, clean stale clips
xiaogang-sudo May 20, 2026
fd107e2
feat: --mode extract stops the pipeline after segment extraction
xiaogang-sudo May 20, 2026
6f583cc
fix(srt_video_editor): friendly errors for bad JSON and bad SRT duration
xiaogang-sudo May 20, 2026
5d36126
feat(srt_video_editor): ffprobe each clip after cut, print actual vs …
xiaogang-sudo May 21, 2026
923ad09
feat(transcribe): replace ElevenLabs Scribe with DashScope Paraformer-v2
xiaogang-sudo May 21, 2026
16f99a2
fix(transcribe): pin DashScope to Mainland China endpoints
xiaogang-sudo May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Agent Review Instructions

You are reviewing a Python + ffmpeg video editing tool.

Main goal:
Build a reliable SRT-driven video editor for Chinese drama recap videos.

Please focus on:
- code structure
- ffmpeg stability
- SRT parsing correctness
- JSON validation
- Windows path compatibility
- Chinese subtitle rendering
- error handling
- extensibility

Do not rewrite the entire project unless necessary.
Prefer small, safe patches.
Classify suggestions into:
1. Must fix
2. Should improve
3. Later
33 changes: 33 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# srt_video_editor 项目说明

本项目是电视剧解说自动剪辑工具。

核心目标:
根据 script.srt 和 edit_plan.json,从 source.mp4 中截取画面,拼接、加配音、烧字幕,输出 final.mp4。

当前阶段:
只做 SRT 驱动剪辑,不做 AI 自动理解剧情。

技术要求:
- Python 3.10+
- ffmpeg
- Windows 优先
- 路径尽量使用英文
- 不使用 moviepy,优先直接调用 ffmpeg
- 输出日志要清楚
- 不要引入复杂前端

核心输入:
- input/source.mp4
- input/script.srt
- input/edit_plan.json
- input/voice.wav

核心输出:
- output/final.mp4

禁止事项:
- 不要破解剪映
- 不要调用未授权接口
- 不要一次性做复杂 AI 自动分析
- 不要改动 input 原始文件
Loading