Video scene cut/shot detection program and Python library.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for scenedetect-0.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df72648ea9307defbbdb60fc70e720cb683de215c1167558e961ba63b3b6a621 |
|
MD5 | 92377a49c1a5bded214496c4af68fab6 |
|
BLAKE2b-256 | 651c503722d8d771896dc6a71ee630e6bb858089ff0a1045c5c9478a4f4dc900 |