PySceneDetect

PySceneDetect is a command line program with a video scene cutting and transition detection library based on Python and OpenCV. Using content-based, adaptive, and threshold-based algorithms, it detects the start and end times of scenes in videos. By working integrated with FFmpeg or mkvmerge tools, it can split videos by scene and record frames from each scene.

PY

Breakthrough · Video & Media Production

STARS5.3K
FORKS546
COMMITS0
CONTRIBUTORS0
VERSIONv0.7.1
UPDATED4 days ago
PythonVideo ProcessingOpenCVScene DetectionBSD-3-Clause

Common commercial products in this category: Adobe Premiere Pro, Vimeo, Final Cut Pro

What can it do?
  • Using the command line tool, you can split a video into separate files from fast cut points.
  • With the Python API and ContentDetector class, you can list the start and end times of scenes in a video.
  • Thanks to FFmpeg integration, you can save certain frames as image files from the scenes detected.
User reviews
  • • NeutralHacker News

    PySceneDetect – A tool for detecting scenes in movies

    “Funny you should mention that - initially home videos were what I was doing this with, as I was unable to find any existing programs that could handle them reliably (or had various shortcomings, or weren't hackable/extensible, etc...). Then I realized that what I came up with…”

  • ↑ PositiveHacker News

    PySceneDetect – A tool for detecting scenes in movies

    “Author of PySceneDetect here: Thank you all for the thought-provoking discussions, and the attention you've given my side project. There are some specific cases where PySceneDetect achieves great accuracy (like fast cuts or fades), and some where it's currently not so good at…”

My note

Alternative pages

More in: Video & Media Production