修复渲染的bug

This commit is contained in:
lmk
2026-06-23 17:52:45 +08:00
parent 632aa00a3e
commit ecde6c9fdc
3 changed files with 11 additions and 5 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ def detect_scenes(video_path: str, threshold: float) -> list[dict]:
scenes = []
for start, end in scene_list:
scenes.append({
"start_time": start.seconds,
"end_time": end.seconds,
"start_time": start.get_seconds(),
"end_time": end.get_seconds(),
})
return scenes