Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

video-aroll-auto-editor视频滚动自动编辑器

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

21,907

周安装

922

GitHub Stars

15

下载量

7,671
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-aroll-auto-editor(视频滚动自动编辑器)
来源仓库:https://github.com/gilbertwuu/video-aroll-auto-editor
安装命令:
openclaw skills install video-aroll-auto-editor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install video-aroll-auto-editor

简介

通过检测静音、对片段进行评分、删除重复项以及生成最佳片段剪辑和详细报告,自动进行视频粗略编辑。

SKILL.md

Video Auto Editor v4.7

A rule-based and AI-powered automated video roughing tool. It automatically identifies the best segments from original footage and performs editing and splicing.

Best for: Single-person / talking-to-camera (A'Roll) content — vlogs, tutorials, podcasts, knowledge-sharing monologues. Not suitable for multi-person dialogues, interviews, or music/B-roll heavy content.

Features

  • Scenario A - Single Video: Automatically selects the best segment from one video
  • Scenario B - Batch Processing: Processes multiple videos, performs cross-video deduplication, and concatenates into one final video
  • Smart Scoring: 4-dimension scoring (clear start/end, fluency, natural rhythm) + fluency analysis
  • Content Deduplication: Similarity detection based on transcription text, both within-video and cross-video
  • Auto Reports: Generates detailed Markdown reports for each processing run

Best For / Not Suitable

✅ Best For❌ Not Suitable
Single-person talking to camera (A'Roll)Multi-person dialogues, interviews
Vlogs, tutorials, podcasts, monologuesMusic-heavy, B-roll heavy content
Multiple takes of same content (batch dedup)Content requiring multiple segments kept
Chinese speech (fluency patterns tuned)Non-Chinese (patterns not adapted)
Raw long footage (rough cut)Already tightly edited content

Requirements

  • Python 3.8+
  • FFmpeg (including ffprobe)
  • openai-whisper

Installation

# macOS
brew install ffmpeg
pip install openai-whisper

# Ubuntu / Debian
sudo apt install ffmpeg
pip install openai-whisper

Quick Start

Scenario A: Single Video

Pass a video file path:

python3 video_editor_auto_v4.6.py ./video.MTS ./output

Output:

output/
├── video_粗剪.mp4    # Best segment (clipped)
└── video_报告.md     # Processing report

Scenario B: Batch + Deduplication + Concatenation

Pass a folder path (automatically detected as batch mode):

python3 video_editor_auto_v4.6.py ./Video ./output

Output (only two files, intermediate files are cleaned up):

output/
├── 最终拼接_20260311_1905.mp4  # Deduplicated concatenated video
└── 批量处理报告.md              # Batch report (segment details + dedup decisions)

Command Format

python3 video_editor_auto_v4.6.py <input> [output_dir] [work_dir]
ParameterDescriptionDefault
<input>Video file path (Scenario A) or folder path (Scenario B)Required
[output_dir]Output directory for clips and reports./output
[work_dir]Temporary directory for intermediate files./video_work

Supported formats: .MTS, .mp4, .mov


Processing Pipeline

Scenario A (Single Video)

Input video → Silence detection → Segment identification → 4-dimension scoring
→ Candidate filtering → Whisper transcription → Fluency analysis
→ Within-video dedup → Layered selection → Clip output

Scenario B (Batch)

Input directory → Process each video (Scenario A, no individual reports)
→ Cross-video deduplication → Concatenate by filename order
→ Clean intermediate files → Generate single batch report

Configuration

All parameters are in the CONFIG dict at the top of the script:

CONFIG = {
    # Silence detection
    "silence_noise": -30,           # dB, lower = stricter
    "silence_duration": 0.8,        # seconds, minimum silence length

    # Filtering
    "min_score": 90,                # Minimum base score (max 100)
    "min_duration": 15,             # Minimum segment duration (seconds)

    # Clip buffer
    "buffer_start": 1,              # Buffer before start (seconds)
    "buffer_end": 3,                # Buffer after end (seconds)

    # Encoding
    "crf": 18,                      # Video quality (18=visually lossless, 23=default)
    "preset": "fast",               # Encoding speed
    "audio_bitrate": "192k",        # Audio bitrate

    # Adjusted score weights
    "penalty_repeat": 5,            # Per repeat penalty
    "penalty_stutter": 3,           # Per stutter penalty
    "penalty_interrupt": 10,        # Sudden interruption penalty
    "bonus_natural_end": 5,         # Natural ending bonus
    "bonus_completeness_max": 3,    # Completeness bonus cap

    # Deduplication
    "duplicate_threshold": 0.7,     # Content similarity threshold (0-1)
}

Tuning Tips

ScenarioParameterSuggested Value
Noisy environmentsilence_noise-35
Segments too fragmentedsilence_duration1.0
Want more candidatesmin_score85
Want shorter segmentsmin_duration10
Higher qualitycrf15 (larger files)

Scoring System

Base Score (4 dimensions × 25 points = 100)

DimensionMaxCriteria
Clear start25Sufficient silence before segment
Clear end25Sufficient silence after segment
Mid fluency25Fewer internal interruptions
Natural rhythm25Low pause ratio + no overly long pauses + not too short

Adjusted Score (0-100)

Applied on top of base score based on transcription analysis:

ItemPointsDescription
Repeat penalty-5 each"Re-said" type stutters (normalized per 30s)
Stutter penalty-3 eachFiller words (um, uh, etc.)
Interruption penalty-10Ends with connective words (then, but, etc.)
Natural end bonus+5Complete sentence, question, or summary ending
Completeness bonus+0~3Natural end + duration near 60s

Layered Selection (Choosing Best Segment)

Not simply the highest score; prioritized filtering:

Layer 1: Prefer naturally ending segments
Layer 2: Sort by fluency (tolerance 1.5 per 30s)
Layer 3: Sort by adjusted score
Layer 4: Tie-break → incomplete: pick last; complete: pick longest

Deduplication Rules

Same selection rule for within-video and cross-video dedup:

Natural end > Adjusted score > Index/filename order (later preferred)

FAQ

Q: No silence segments detected?

Background noise may cause misdetection. Try lowering silence_noise from -30 to -35.

Q: Segments cut too finely?

Silence duration threshold may be too short. Increase silence_duration from 0.8 to 1.0 or 1.5.

Q: Why wasn't the highest-scoring segment chosen?

The system uses layered selection, not raw score comparison. Natural end > Fluency > Adjusted score > Duration. A 95-point segment that ends abruptly may rank lower than a 90-point segment with a natural ending.

Q: Whisper transcription inaccurate?

Default uses small model for speed/accuracy balance. To improve:

  • In transcribe_segment, change --model small to --model medium or --model large
  • medium model has ~85% accuracy for Chinese; recommended if resources allow

Q: How does cross-video dedup decide which to keep?

Selection rule: Natural end > Adjusted score > Later filename (usually last take, best state).

Q: Where are the detailed reports?

  • Scenario A: output/<video_name>_报告.md
  • Scenario B: output/批量处理报告.md (includes segment details, transcription summaries, dedup decisions)

- Scenario B does not keep intermediate reports or clips; they are cleaned after concatenation


Project Structure

video_editor_v4.6_release/
├── video_editor_auto_v4.6.py   # Main script
├── README.md                   # This doc
├── CODE_DOCUMENTATION.md       # Technical doc (architecture, modules, API)
├── requirements.txt            # Python dependencies
├── LICENSE                     # GPL v3 license
└── .gitignore                  # Git ignore rules

Technical Documentation

For module implementation details, data structures, algorithms, and extension guides, see CODE_DOCUMENTATION.md.


License

This project is licensed under GPL v3. If you use this software or its derivatives for commercial purposes, you must release your product as open source under the same license (GPL v3 copyleft requirement).

See the LICENSE file for details.


Version: v4.7 | Last Updated: 2026-03-11

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.22%
按下载量换算7,304

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills