Reverse-engineer any video, shot by shot: filmed, AI-generated or coded, and how to remake it. Breakdowns in the open VIDEO.md format. 逆向一切视频,逐个镜头看是拍的、AI 生成的还是代码做的,再告诉你怎么复刻;拆解结果按 VIDEO.md 格式输出。
Python agent-skillsai-videoaigc-detectionclaude-codecodexffmpegprompt-engineeringremotionreverse-engineeringshort-videoshot-detectionsubtitlesvideo-analysisvideo-breakdownvideo-editingvideo-generationvideomdvlm
clean-paths: report an unreadable package instead of aborting the scan
ege-arhan2d6b3fd32ab0
diff --git a/rea_video/clean_paths.py b/rea_video/clean_paths.pyindex 0c4473b..6b4de36 100644--- a/rea_video/clean_paths.py+++ b/rea_video/clean_paths.py@@ -123,5 +123,14 @@ def clean_package(root: Path, home: str, apply: bool = False) -> dict:def clean_paths(start: Path, apply: bool = False, home: str | None = None) -> list[dict]:home = home or str(Path.home())- return [clean_package(f.parent, home, apply) for f in sorted(Path(start).expanduser().resolve().rglob(BREAKDOWN))+ return [_guarded(f.parent, home, apply) for f in sorted(Path(start).expanduser().resolve().rglob(BREAKDOWN))if (f.parent / "VIDEO.md").is_file()]+++def _guarded(root: Path, home: str, apply: bool) -> dict:+ """One unreadable or half-written package is reported like the other per-file failures, so the rest of the+ directory still gets cleaned instead of the whole run dying on it."""+ try:+ return clean_package(root, home, apply)+ except (OSError, ValueError) as exc:+ return {"package": str(root), "cleaned": [], "kept": [], "error": f"could not read {BREAKDOWN}: {exc}"}