Skip to main content

Video scene cut/shot detection program and Python library.

Project description

https://img.shields.io/pypi/status/scenedetect.svg https://img.shields.io/github/release/Breakthrough/PySceneDetect.svg https://img.shields.io/pypi/l/scenedetect.svg https://img.shields.io/github/stars/Breakthrough/PySceneDetect.svg?style=social&label=View%20on%20Github

Documentation: https://www.scenedetect.com/docs

Github Repo: https://github.com/Breakthrough/PySceneDetect/

Install: pip install --upgrade scenedetect[opencv]


PySceneDetect is a tool for detecting shot changes in videos, and can automatically split videos into separate clips. PySceneDetect is free and open-source software, and has several detection methods to find fast-cuts and threshold-based fades.

For example, to split a video: scenedetect -i video.mp4 split-video

You can also use the Python API (docs) to do the same:

from scenedetect import detect, AdaptiveDetector, split_video_ffmpeg
scene_list = detect('my_video.mp4', AdaptiveDetector())
split_video_ffmpeg('my_video.mp4', scene_list)

Licensed under BSD 3-Clause (see the LICENSE file for details).

Copyright (C) 2014-2024 Brandon Castellano. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scenedetect-0.6.4.tar.gz (151.8 kB view hashes)

Uploaded Source

Built Distribution

scenedetect-0.6.4-py3-none-any.whl (122.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page