Type a keyword to search guides, CLI options, detectors, and FAQs.

Latest release v0.7.3 · Nov 8, 2026

Fast, frame-accurate scene cut detection for video.

Detect fast cuts and fades from the command line or Python. Split videos with ffmpeg or mkvmerge, export timeline files for video editors, or save per-frame metrics.

pip install --upgrade scenedetect
from scenedetect import (
    detect, AdaptiveDetector, split_video_ffmpeg,
)

# Find scene cuts and split the video with ffmpeg
scenes = detect("goldeneye.mp4", AdaptiveDetector())
split_video_ffmpeg("goldeneye.mp4", scenes)

Five Detectors

Choose from Adaptive, Content (HSV and edges), Perceptual Hash, Histogram, and Threshold detectors. All five are tested on BBC Planet Earth, AutoShot, and ClipShots.

Modular Video Backends

Decode video with OpenCV by default, or switch to PyAV or MoviePy. Install via pip (standard or headless), the signed Windows installer, or Docker.

Common Use Cases

People use PySceneDetect for many video workflows:

  • Splitting home videos or raw footage into separate scene clips.
  • Finding and removing commercials from recorded TV broadcasts.
  • Reviewing and splitting security camera recordings.
  • Finding clean loops in videos for GIFs and cinemagraphs.
  • Analyzing film and video datasets, such as measuring average shot length.

Download PySceneDetect to try it on your own videos, or review the Features page for a full list of detectors and export formats. The default timecode format (HH:MM:SS.nnn) works directly with tools such as ffmpeg and mkvmerge.