Skip to main content

Video scene cut/shot detection program and Python library.

Project description

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

Website: https://www.scenedetect.com/

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

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


PySceneDetect is a command-line tool and Python library which analyzes a video, looking for scene changes or cuts. PySceneDetect integrates with external tools (e.g. ffmpeg, mkvmerge) to automatically split the video into individual clips when using the split-video command and has several other features.

Install: pip install --upgrade scenedetect[opencv]

Split video via CLI: scenedetect -i video.mp4 split-video

Split video using Python API:

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-2023 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.2.tar.gz (596.9 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.2-py3-none-any.whl (117.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scenedetect-0.6.2.tar.gz
Algorithm Hash digest
SHA256 74851831392e094e9e371ec4b14098b5960f9e151898c278e68659118b3851c9
MD5 c975ed3272a05aaf0bb43e45150e90a8
BLAKE2b-256 d7b82c0e0fda9d181ed9a9650d6f3b4464d0212a57b9c15b6a0aa5247be823f1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for scenedetect-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef052de459676de8f403f78987f4c4844bca79544100e69d4dbd34425d72a42e
MD5 74601fa6b78c6978d260ccc9adb3bdb4
BLAKE2b-256 f15f4e7ed7ca64d9f8f7330c7c1fc107340f2d712e199d71e62ce123f3d8668a

See more details on using hashes here.

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