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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scenedetect-0.6.7.1-py3-none-any.whl (130.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scenedetect-0.6.7.1.tar.gz
  • Upload date:
  • Size: 164.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scenedetect-0.6.7.1.tar.gz
Algorithm Hash digest
SHA256 07833b0cb83a0106786a88136462580e9865e097f411f01501a688714c483a4e
MD5 7771c099254aee3d4b4a25da779e4b8c
BLAKE2b-256 f0b4e77e1812ae89bc4864ff54efb6a8232eabebd471e372096cb711f03cca52

See more details on using hashes here.

Provenance

The following attestation bundles were made for scenedetect-0.6.7.1.tar.gz:

Publisher: publish-pypi.yml on Breakthrough/PySceneDetect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: scenedetect-0.6.7.1-py3-none-any.whl
  • Upload date:
  • Size: 130.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scenedetect-0.6.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3808ef4436ab0fc6fee8a155e95759b42e2446c925c45746a82ff119be4eb3e1
MD5 9894391b8043a71721271449b092e437
BLAKE2b-256 b15b2294ea44b3b2264a50b82a55a3822837a04cb779c873fc168844f36f5b46

See more details on using hashes here.

Provenance

The following attestation bundles were made for scenedetect-0.6.7.1-py3-none-any.whl:

Publisher: publish-pypi.yml on Breakthrough/PySceneDetect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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