print scene-detection heads-up line before the silent CPU pass
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user