# Extract Clip

> Extract a video segment using FFmpeg with precise start/end times Use when this capability is needed.

- Skill: `tomevault-io/extract-clip` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/extract-clip`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/extract-clip/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/extract-clip

---


# Extract Clip Skill

Use this skill to cut a segment from a longer video file.

## Usage

```bash
python skills/extract-clip/extract.py <input_video> <start_time> <end_time> [output_path]

# Examples
python skills/extract-clip/extract.py video.mp4 01:48 02:25
python skills/extract-clip/extract.py video.mp4 00:30 01:00 output/my_clip.mp4
```

## Arguments

- `input_video`: Path to source video
- `start_time`: Start timestamp (MM:SS or HH:MM:SS)
- `end_time`: End timestamp (MM:SS or HH:MM:SS)
- `output_path`: (optional) Output file path, defaults to `assets/outputs/clips/<name>_<start>-<end>.mp4`

## Output

Creates an MP4 file with the extracted segment. Uses stream copy when possible for fast extraction.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/nuva-lab) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

