Open-Sora/tools/scenedetect
2024-03-17 23:23:29 +08:00
..
README.md update scene detect README 2024-03-17 23:23:29 +08:00
scene_detect.py update docs 2024-03-17 15:47:48 +08:00
utils.py update docs 2024-03-17 15:47:48 +08:00

Scene Detection and Video Split

Raw videos from the Internet may be too long for training. Thus, we detect scenes in raw videos and split them into short clips based on the scenes. First prepare the video processing packages.

pip install scenedetect moviepy opencv-python

Then run scene_detect.py. We provide efficient processing using multiprocessing. Don't forget to specify your own dataset path.