Video scene cut/shot detection program and Python library.
Project description
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-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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96180e93c1f72ee29e53c1c52ec78f3500c7260ab88588c34159cd3c0881779 |
|
MD5 | 64651544996a79555ff24a32ca3c0d62 |
|
BLAKE2b-256 | 9bd96c4000c3edb5e2d4f48556cac68bf8939e215d7e0ee316ecaa57dcc6252b |