Skip to content
Back to skills

27 Video Editor

ASecurity

Local video editing using FFmpeg, yt-dlp, Whisper, and PySceneDetect — download videos, cut clips, resize for social platforms, auto-caption, merge B-roll, and run full social-clip workflows without cloud video editors.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 14, 2026
toolspythonshellbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add trevorotts1/openclaw-onboarding --skill 27-video-editor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 27 Video Editor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 27 Video Editor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trevorotts1-27-video-editor/badge)](https://www.skillsdirectory.com/skills/trevorotts1-27-video-editor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: video-editor
description: Local video editing using FFmpeg, yt-dlp, Whisper, and PySceneDetect — download videos, cut clips, resize for social platforms, auto-caption, merge B-roll, and run full social-clip workflows without cloud video editors.
---

# Video Editor (Local Opus Clip Alternative)

Edit existing videos locally using simple, predictable scripts.

This skill is built around a small set of shell scripts (FFmpeg, yt-dlp, Whisper, PySceneDetect) plus a couple Python helpers for B-roll merging and text overlays.

## What you can do

- Download a video from a URL (YouTube and many other sites)
- Cut a clip by timestamp
- Resize/reframe for TikTok, Reels, Shorts, Instagram square, YouTube, LinkedIn
- Auto-generate captions with Whisper and burn them into the video
- Run a full "social clip" workflow (cut + resize + caption)
- Analyze a video for scene changes and suggested B-roll insertion points
- Merge B-roll into a talking-head video while keeping the original audio continuous

## Requirements

- FFmpeg installed (`ffmpeg` command)
- Python 3 (for Whisper + scenedetect + the B-roll merge helper)
- Tools installed via pip:
  - `yt-dlp`
  - `scenedetect`
  - `openai-whisper`
  - `moviepy` (used by the B-roll merge helper)

See `INSTALL.md` for step-by-step setup.

## File structure

```
27-video-editor/
├── SKILL.md
├── INSTALL.md
├── INSTRUCTIONS.md
├── EXAMPLES.md
├── CORE_UPDATES.md
├── BROLL-WORKFLOW.md
├── scripts/
│   ├── download.sh           # Download a video via yt-dlp
│   ├── cut.sh                # Cut a clip by start time + duration
│   ├── resize.sh             # Resize/reframe for social platforms
│   ├── caption.sh            # Whisper captions + burn-in
│   ├── social-clip.sh        # cut + resize + caption in one command
│   ├── analyze-video.sh      # Scene detection + suggested B-roll points
│   ├── extract-audio.sh      # Extract audio (aac, mp3, or wav)
│   ├── merge-broll.sh        # Merge B-roll into main video (calls Python helper)
│   ├── broll-workflow.sh     # Guided end-to-end B-roll workflow
│   ├── broll_merge.py        # Python helper used by merge-broll.sh
│   └── text-overlay.py       # Optional: add a basic text overlay
└── references/
    ├── platform-specs.md
    ├── ffmpeg-vs-moviepy.md
    └── kie-ai-models.md      # dated snapshot, NOT authoritative (model policy: Skill 67; live catalog: Skill 74)
```

## Quick start (most common workflow)

1. Download a video.

```bash
./scripts/download.sh \
  --url "https://www.youtube.com/watch?v=VIDEO_ID" \
  --output input.mp4
```

2. Turn it into a TikTok/Reels/Shorts clip (cut + resize + captions).

```bash
./scripts/social-clip.sh \
  --input input.mp4 \
  --start 00:00:30 \
  --duration 30 \
  --platform tiktok \
  --output clip-captioned-vertical.mp4
```

3. (Optional) Skip captions if you want a clean clip.

```bash
./scripts/social-clip.sh \
  --input input.mp4 \
  --start 00:00:30 \
  --duration 30 \
  --platform tiktok \
  --output clip-vertical.mp4 \
  --skip-caption
```

## B-roll workflow (talking head to professional B-roll cut)

- Read `BROLL-WORKFLOW.md` for the full, detailed SOP.
- Use `./scripts/broll-workflow.sh` to stage a project folder, analyze the video, extract audio, and print suggested insertion points.
- B-roll clips are generated through **Skill 67 (`67-kie-video`)**, which owns model choice, dispatch and QC. This skill ships no KIE client and no model or price list. Prices: `python3 74-kie-live-adapter/scripts/kie_live_adapter.py price --model <id>` (Skill 74). KIE rules (endpoints, rate limit, credit preflight, saving results, client's own key): `07-kie-setup/references/kie-common-rules.md`. Sora is prohibited by the Video department.

### Merge inputs are probed before anything renders

`merge-broll.sh` validates every input before it does any work: each of `--main`
and every `--broll` clip must be a non-empty file that `ffprobe` reports a video
stream for, and every `--insert-at` value must be a non-negative number inside the
main video's duration. A failure exits non-zero with a named error
(`AF-MERGE-INPUT-MISSING`, `AF-MERGE-INPUT-EMPTY`, `AF-MERGE-INPUT-NOT-VIDEO`,
`AF-MERGE-TIMESTAMP-RANGE`, `AF-MERGE-ARITY`, `AF-MERGE-PREREQ-MISSING`) and
renders nothing.

`broll-workflow.sh` declares the expected B-roll paths in a
`broll-manifest.json` rather than creating empty files at them, so a clip you have
not generated yet is genuinely absent instead of being a zero-byte `.mp4` the merge
would read.

Rehearse before you render:

```bash
./scripts/merge-broll.sh --main talking-head.mp4 --broll "b1.mp4,b2.mp4" \
  --insert-at "12,38" --output final.mp4 --dry-run
```

`--dry-run` runs every probe and every timestamp check, prints the merge plan and
exits without rendering.

## Notes about analysis output

`analyze-video.sh` relies on PySceneDetect.

- The number of scenes and suggested insertion points can vary depending on:
  - the content
  - the detection method you choose
  - the PySceneDetect version
- Treat the JSON output as helpful suggestions, not a guaranteed structure for downstream automation.

Files in this skill

  • BROLL-WORKFLOW.md14 KB
  • CHANGELOG.md2.1 KB
  • CORE_UPDATES.md1 KB
  • EXAMPLES.md3 KB
  • INSTALL.md4.4 KB
  • INSTRUCTIONS.md3.8 KB
  • PREREQS.json738 B
  • QC.md15.1 KB
  • SKILL.md5.2 KB
  • qc-video-editor.sh1.4 KB
  • references/ffmpeg-vs-moviepy.md1.1 KB
  • references/kie-ai-models.md6 KB
  • references/platform-specs.md1.2 KB
  • scripts/analyze-video.sh3.5 KB
  • scripts/broll-workflow.sh5.7 KB
  • scripts/broll_merge.py3.9 KB
  • scripts/caption.sh1 KB
  • scripts/cut.sh787 B
  • scripts/download.sh590 B
  • scripts/extract-audio.sh1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.