print scene-detection heads-up line before the silent CPU pass

This commit is contained in:
2026-11-01 18:44:47 -05:00
parent 39a8e60242
commit c4b623ec75
+2
View File
@@ -340,6 +340,8 @@ def process_video(video_path, output_dir, args, model, device, draw,
frame_count = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
try:
print(f"{video_name}: detecting scenes "
"(silent for several minutes on CPU decode)...", flush=True)
scene_manager.detect_scenes(video=video)
scene_list = scene_manager.get_scene_list()
scene_starts = {scene[0].get_frames() for scene in scene_list}