from scenedetect import detect, ContentDetector, split_video_ffmpeg scene_list = detect('demo.mp4', ContentDetector()) split_video_ffmpeg('demo.mp4', scene_list)