Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
All skills
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

  • Create a videoGenerate a video clip from a text prompt.
  • Animate an imageTurn a still image into a short moving clip.
  • Add captionsTranscribe a video and add captions, burned in or as a subtitle file.

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
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Learn
  • Prompts
  • Templates
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
Cut into shortsTurn a long video into several vertical short clips with captions.
  • Storyboard to videoPlan a multi-shot video, generate each shot, and assemble the cut.
  • Polish a screen recordingTrim dead air, add title cards, and tighten a raw screen capture.