抖音/视频自动剪辑Skill - 自动识别视频中的废话、沉默片段,生成粗剪版本。
# macOS
brew install ffmpeg
pip install openai-whisper
# Ubuntu / Debian
sudo apt install ffmpeg
pip install openai-whisper
# Windows
# 下载 FFmpeg: https://ffmpeg.org/download.html
# 添加到 PATH
pip install openai-whisper
python3 video_editor_auto.py /path/to/video.mp4 ./output
python3 video_editor_auto.py /path/to/videos_folder ./output
*.mp4 - 剪辑后的视频*_报告.md - 处理报告在脚本顶部的 CONFIG 字典中修改:
| 参数 | 说明 | 默认值 |
|---|---|---|
| ------ | ------ | -------- |
| silence_noise | 静音检测阈值(dB),越低越严格 | -30 |
| silence_duration | 最小静音时长(秒) | 0.8 |
| min_score | 最低评分(0-100) | 90 |
| min_duration | 最短片段时长(秒) | 15 |
| crf | 视频质量(18=无损) | 18 |
拍摄素材 → 归档到文件夹 → 运行脚本 → AI分析+剪辑 → 输 出粗剪 → 剪映精修 → 完成
基于 gilbertwuu/Auto-Cut-video-A-Roll 项目改编
共 1 个版本
暂无安全检测报告