diff --git a/scenedetect/scene_manager.py b/scenedetect/scene_manager.py index 581a172f..34fee38f 100644 --- a/scenedetect/scene_manager.py +++ b/scenedetect/scene_manager.py @@ -92,6 +92,7 @@ def get_scenes_from_cuts(cut_list, base_timecode, num_frames, start_frame=0): # Scene list, where scenes are tuples of (Start FrameTimecode, End FrameTimecode). scene_list = [] if not cut_list: + scene_list.append((base_timecode + start_frame, base_timecode + num_frames)) return scene_list # Initialize last_cut to the first frame we processed,as it will be # the start timecode for the first scene in the list.