# Velocity Edit — effect skill for transitions

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

Trend: speed curves on every clip (fast-slow-fast) synced to the beat, often with shake and flash on hits.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Transitions](https://varg.ai/how-to/browse/skills/transitions.md)
- **Slug:** `velocity-edit`
- **Status:** live
- **Publisher:** HeyGen (community)
- **License:** Apache-2.0
- **Source:** https://github.com/heygen-com/hyperframes/tree/main/registry/blocks/beat-freeze-cut
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** ffmpeg, HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Beat Freeze Cut](https://github.com/heygen-com/hyperframes/tree/main/registry/blocks/beat-freeze-cut) by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.

Each clip rushes in, drops into slow motion on the beat and rushes out; transitions are hidden in the fast parts.

**When:** Dance, car, sport, gaming and fan edits on TikTok/Reels.

**Watch out:** Footage below 60 fps for the slow parts; curves that ignore the beat.

**Timing:** Fast parts 2–5×, slow parts 0.2–0.5×, slow point exactly on the beat

**Also called:** velocity, velocity transition, speed curve edit, Montage curve, Hero curve, Bullet curve

### In FFmpeg

Per clip: 3× in, 0.4× on the beat, 3× out, then concat clips (pitch kept by atempo; often the music replaces clip audio):
```bash
ffmpeg -i clip.mp4 -filter_complex \
"[0:v]split=3[s1][s2][s3];\
 [s1]trim=0:1.2,setpts=(PTS-STARTPTS)/3[v1];\
 [s2]trim=1.2:1.6,setpts=(PTS-STARTPTS)/0.4,minterpolate=fps=60[v2];\
 [s3]trim=1.6:3,setpts=(PTS-STARTPTS)/3[v3];\
 [v1][v2][v3]concat=n=3:v=1:a=0,fps=30[v]" -map "[v]" -an part.mp4
```

### In HyperFrames

`rate` lane in `data-automation` with points like `{t:0,v:3},{t:0.4,v:0.4},{t:0.8,v:3}`; Studio speed presets include Montage, Hero, Bullet, Jump cut, Flash in, Flash out.

### In Remotion

Per-frame speed function → accumulated `trimBefore` (Remotion speed-ramp snippet), with the slow point at the beat frame; add shake/flash overlays on the beat.

### In CapCut

Speed → Curve → Montage / Hero / Bullet / Jump Cut / Flash In / Flash Out (or Custom), align the slow point to Beats markers, then add Shake/Flash effects on hits.

### Ready-made components

- [Beat Freeze Cut](https://skills.varg.ai/component/hf.beat-freeze-cut/) (hyperframes): npx hyperframes add beat-freeze-cut
- [Beat Accent](https://skills.varg.ai/component/hf.beat-accent/) (hyperframes): npx hyperframes add beat-accent
- [Camera Shake](https://skills.varg.ai/component/hf.camera-shake/) (hyperframes): npx hyperframes add camera-shake
- [Motion Blur](https://skills.varg.ai/component/hf.motion-blur/) (hyperframes): npx hyperframes add motion-blur

### Where this comes from

- [FFmpeg filters: setpts](https://ffmpeg.org/ffmpeg-filters.html#setpts)
- [Remotion: speed ramp snippet](https://www.remotion.dev/docs/miscellaneous/snippets/accelerated-video)
- [HyperFrames: speed ramps](https://hyperframes.heygen.com/reference/speed-ramps)
- [CapCut: speed curve tool](https://www.capcut.com/tools/speed-ramp)

## Use when

- Dance, car, sport, gaming and fan edits on TikTok/Reels.

## Not for

- Footage below 60 fps for the slow parts; curves that ignore the beat.

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/311cc9adf898/take-velocity-edit.mp4 — stutter between two shots, with the timeline strip of the edit. Footage: WING IT! (2023), Blender Studio | studio.blender.org, CC BY 4.0; Coffee Run (2020), Blender Studio | studio.blender.org, CC BY 4.0. (credit: Rendered by varg · WING IT! (2023) + Coffee Run (2020))

## More transitions skills

- [editly](https://varg.ai/how-to/skills/editly.md): Declarative JSON5 video editing CLI/API: clips, titles, transitions, audio mixing, rendered with ffmpeg.
- [Mix (Cross Dissolve)](https://varg.ai/how-to/skills/mix-dissolve.md): The two shots blend through each other. The quietest transition: "time passes" or "this continues".
- [Dip to Black](https://varg.ai/how-to/skills/black-fade.md): A fades to black, then B fades up. Marks the end of a section or a bigger jump in time.
- [White Flash](https://varg.ai/how-to/skills/white-flash.md): The frame blows out to white for a moment and opens on the next shot. Energy, memory or a camera snap.
- [Pull In (Zoom In)](https://varg.ai/how-to/skills/pull-in-zoom.md): The camera rushes into shot A and lands, still moving forward, in shot B. The signature short-form transition.
- [Pull Out (Zoom Out)](https://varg.ai/how-to/skills/pull-out-zoom.md): The camera jerks backwards out of shot A and keeps pulling back as shot B settles in.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
