scenedetect
Video scene cut/shot detection program and Python library (bundles the opencv-python OpenCV variant and the scenedetect CLI).
Decision gist · record as of 2026-08-14
Yes. Active maintenance, low install friction, no known vulnerabilities, permissive license, and a clear use case for video analysis. The CLI is immediately usable and the Python API is straightforward. Choose the standard package for desktop use, scenedetect-headless for servers, or scenedetect-core if you need to manage your own OpenCV variant.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires ffmpeg on the system PATH for split_video_ffmpeg; opencv-python needs a display server on headless systems (use scenedetect-headless variant instead).
- Low friction install with a pure-Python wheel.
- Active maintenance: last commit 2026-08-10, release 23 days old.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-22 (23 days) · last repo commit 2026-08-10 · 5,100 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,117,991 downloads/mo, #4,346 on PyPI
Alternatives
Verify before relying
pip install scenedetect
from scenedetect import detect, AdaptiveDetector, split_video_ffmpeg
scene_list = detect('video.mp4', AdaptiveDetector())
split_video_ffmpeg('video.mp4', scene_list)- Whether AdaptiveDetector is the only detection method available or if others exist.
- Exact performance characteristics (speed, accuracy) on different video codecs and resolutions.
- Whether the Python API supports real-time streaming or only file-based input.
What it is and what it does
PySceneDetect is a video analysis tool that identifies shot boundaries and scene cuts in video files. It provides both a command-line interface and a Python library for detecting fast-cuts and threshold-based fades, then automatically splitting videos into separate clips. The tool bundles opencv-python for computer vision and relies on standard dependencies like numpy, click, and tqdm.
You can use it as a standalone CLI tool (e.g., `scenedetect -i video.mp4 split-video`) or import its Python API to integrate scene detection into larger workflows. The package is actively maintained, supports modern Python versions (3.10–3.13), and offers variant distributions: the standard package bundles opencv-python, a headless variant uses opencv-python-headless for servers, and a core-only variant lets you bring your own OpenCV build.
Use it for
- Automatically split long videos into individual scenes or shots for archival or editing workflows.
- Analyze video content to find shot boundaries for automated video summarization or highlight extraction.
- Integrate scene detection into video processing pipelines to trigger downstream tasks at scene cuts.
- Detect and extract fade transitions in videos for quality control or content analysis.
- Build video editing tools that need to identify natural cut points for re-composition.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, low install friction, no known vulnerabilities, permissive license, and a clear use case for video analysis. The CLI is immediately usable and the Python API is straightforward. Choose the standard package for desktop use, scenedetect-headless for servers, or scenedetect-core if you need to manage your own OpenCV variant.
Install
scenedetect on PyPI
Before you install
Low friction install with a pure-Python wheel. Active maintenance: last commit 2026-08-10, release 23 days old. Supports Python 3.10–3.13. Runtime dependencies are common and stable (click, numpy, opencv-python, platformdirs, tqdm).
Requires ffmpeg on the system PATH for split_video_ffmpeg; opencv-python needs a display server on headless systems (use scenedetect-headless variant instead).
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install scenedetect
from scenedetect import detect, AdaptiveDetector, split_video_ffmpeg
scene_list = detect('video.mp4', AdaptiveDetector())
split_video_ffmpeg('video.mp4', scene_list)
Verify before relying
- Whether AdaptiveDetector is the only detection method available or if others exist.
- Exact performance characteristics (speed, accuracy) on different video codecs and resolutions.
- Whether the Python API supports real-time streaming or only file-based input.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesclicknumpyopencv-pythonplatformdirstqdm |
| Maintenance | Actively maintained 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,117,991 / month, #4,346 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Console :: CursesIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Multimedia :: VideoTopic :: Multimedia :: Video :: ConversionTopic :: Multimedia :: Video :: Non-Linear EditorTopic :: Utilities |
Evidence: scenedetect-0.7.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “video scene detection”
- scenedetectDetects scene cuts and shot changes in videos, then splits them into…
- google-cloud-videointelligencePython client library for Google Cloud Video Intelligence API,…
- manimManim is an animation engine that creates precise, programmatic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also dxcam · google-cloud-videointelligence · moviepy · youtube_dl · subliminal · transparent-background · mediapy · pysrt · supervision · OpenTimelineIO