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.6.tar.gz (165.8 kB view details)

Uploaded Source

Built Distribution

scenedetect-0.6.6-py3-none-any.whl (131.6 kB view details)

Uploaded Python 3

File details

Details for the file scenedetect-0.6.6.tar.gz.

File metadata

  • Download URL: scenedetect-0.6.6.tar.gz
  • Upload date:
  • Size: 165.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for scenedetect-0.6.6.tar.gz
Algorithm Hash digest
SHA256 4b50946abca886bd623e7a304e30da197f0e7e69cd65d80115d551538261c35b
MD5 c9264567186cc87700a5a6f2f8c04b03
BLAKE2b-256 59361e29ac958e2d2b5e4365fb7de03f94a98b9949c46267e682bcfe22460812

See more details on using hashes here.

File details

Details for the file scenedetect-0.6.6-py3-none-any.whl.

File metadata

  • Download URL: scenedetect-0.6.6-py3-none-any.whl
  • Upload date:
  • Size: 131.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for scenedetect-0.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cbd47e4aff1d3ba6f4ee00e54ff9af26378aa2b48f501003dddf5f96e37d3eb0
MD5 e1f257806ba50c3969d97691e3073ff2
BLAKE2b-256 b15bc090fe55521265eb1816c303267e985125000a4e32237e95562ed462608f

See more details on using hashes here.

Supported by

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