Skip to content

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 格式输出。

report: a shot at the end of a minute prints 1:00.0, not 0:60.0

xdAsaah58731006742b
diff --git a/rea_video/report.py b/rea_video/report.py
index 108d4e0..3947260 100644
--- a/rea_video/report.py
+++ b/rea_video/report.py
@@ -982,7 +982,8 @@ def _grouped_assets(b: dict, items, with_where: bool) -> list[str]:
def _clock(t: float) -> str:
"""0:07.9 — a shot list needs tenths, not milliseconds."""
- return f"{int(t // 60)}:{t % 60:04.1f}"
+ m, s = divmod(round(max(0.0, t), 1), 60) # round to tenths first, so 59.96 is 1:00.0, not 0:60.0
+ return f"{int(m)}:{s:04.1f}"
def _shotlist_md(b: dict) -> list[str]: