| name | scenedetect |
| description | 视频场景检测 - 自动检测视频场景切换并分割 |
| category | video |
| emoji | 🎬 |
| github_url | https://github.com/Breakthrough/PySceneDetect |
| triggers | ["视频场景","场景检测","视频切分","scenedetect","镜头切换"] |
| inputs | ["mp4","avi","mkv","mov"] |
| outputs | ["csv","json"] |
| use_cases | ["视频场景分割","关键片段提取","视频结构分析"] |
SceneDetect
视频场景检测工具,自动检测视频场景切换并分割。
安装
pip install -r requirements.txt
brew install ffmpeg
使用
CLI
autodata scenedetect input.mp4 -o output/
autodata scenedetect input.mp4 -o output/ --method content
autodata scenedetect input.mp4 -o output/ --method threshold --threshold 30
autodata scenedetect input.mp4 -o output/ --split-video
参数
| 参数 | 说明 | 默认值 |
|---|
--method | 检测方法: content/threshold | content |
--threshold | 阈值 | 30 |
--split-video | 分割视频 | false |