Video
Edit a video
Trim, join, speed, crop, or watermark a video with ffmpeg.
Use this skill in a chatOpens a new chat with it attached.
What it asks you for
- Videorequired
- The video to edit.
- Operation
- What to do.
- Details
- Times, factor, target aspect, etc.
What it tells the AI to do
The full instructions, exactly as they run.
Edit {{ video }} — operation: {{ operation }}.
Details: {{ params }}
Work on ONE ephemeral computer, in one coherent pass. The failure mode here is
thrashing a dozen shell one-liners; write a short script that reads from
`/tmp/input/` and writes ONE final file to `/tmp/output/`.
Recipes:
```bash
# Trim (stream copy — instant, no re-encode; use -ss BEFORE -i)
ffmpeg -ss 00:00:12 -to 00:00:41 -i /tmp/input/in.mp4 -c copy /tmp/output/out.mp4
# Join clips with identical codecs (no re-encode)
printf "file '/tmp/input/a.mp4'\nfile '/tmp/input/b.mp4'\n" > /tmp/list.txt
ffmpeg -f concat -safe 0 -i /tmp/list.txt -c copy /tmp/output/joined.mp4
# Speed (video + audio together)
ffmpeg -i /tmp/input/in.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" \
-map "[v]" -map "[a]" /tmp/output/fast.mp4
# Reframe to 9:16 without black bars (blurred scale-pad behind)
ffmpeg -i /tmp/input/in.mp4 -vf \
"split[a][b];[a]scale=1080:1920,boxblur=20[bg];[b]scale=1080:1920:force_original_aspect_ratio=decrease[fg];[bg][fg]overlay=(W-w)/2:(H-h)/2" \
-c:a copy /tmp/output/vertical.mp4
```
If the user marked a span (`<marker>` with `t` and `tEnd`), those are the cut
points — use them literally instead of re-deriving times from prose.
## Delivery
Write the finished artifact into Drive. Never upload a user's content to a
third-party file host (`0x0.st`, `catbox.moe`, `transfer.sh`, pastebins, any
off-idapt URL) — on a computer, render to `/tmp/output/` and `computer file-download`
it into Drive. If you catch yourself reaching for `curl -F`, stop: you already
hold the artifact.- video
- ffmpeg
- edit
More video skills
Run it on your own work
idapt gives this skill your files, 200+ models, and a real computer to work on. Start a chat and it is already attached.
Use Edit a video