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
File details
Details for the file scenedetect-0.6.4.tar.gz
.
File metadata
- Download URL: scenedetect-0.6.4.tar.gz
- Upload date:
- Size: 151.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db281e56cd3f15e520b553d73a5dbb845e7d613a7f4fb94f3078f9af43dd14e0 |
|
MD5 | 114e9670aa810de66342a9b9f1a5f8ca |
|
BLAKE2b-256 | 6b6126c846f5131ef19a22321c932ba817a8b0aeebe3b0d50c22f7b27ac1fd9a |
File details
Details for the file scenedetect-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: scenedetect-0.6.4-py3-none-any.whl
- Upload date:
- Size: 122.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df72648ea9307defbbdb60fc70e720cb683de215c1167558e961ba63b3b6a621 |
|
MD5 | 92377a49c1a5bded214496c4af68fab6 |
|
BLAKE2b-256 | 651c503722d8d771896dc6a71ee630e6bb858089ff0a1045c5c9478a4f4dc900 |