In-Camera Whip Pan Cut — effect skill for cuts & pacing
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.mdto its path. Before generating anything, show the person the options on the how-to page.
End shot A and start shot B with real fast pans in the same direction, and cut inside the motion blur.
- Type: Effect · Cuts & pacing
- Slug:
in-camera-whip-cut - Status: live
- Publisher: HeyGen (community)
- License: Apache-2.0
- Source: https://github.com/heygen-com/hyperframes/tree/main/registry/components/whip-pan-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 Whip Pan Cut by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.
The image streaks sideways into a blur and comes out of the same blur in a new place.
When: Travel, energy reels, time jumps, "meanwhile" moments; shoot both whips at the same speed and direction.
Watch out: Pans in opposite directions or at different speeds break the illusion.
Timing: Cut in the 2–4 blurriest frames; whole whip 6–10 frames at 30 fps
Also called: whip pan cut, swish pan, flash pan, whip transition (shot)
In FFmpeg
Cut on the blurriest frames; add synthetic horizontal blur around the cut to merge the two whips:
ffmpeg -i a.mp4 -i b.mp4 -filter_complex \
"[0:v][1:v]concat=n=2:v=1:a=0,gblur=sigma=30:sigmaV=0:enable='between(t,3.9,4.1)'[v]" -map "[v]" out.mp4
(sigmaV=0 blurs horizontally only; A is 4 s long here.)
In HyperFrames
whip-pan-cut primitive (matched velocity, capped directional motion blur) or the whip-pan shader block.
In Remotion
Hard cut in <Series>; for footage without real whips use remocn whipPan() as a presentation.
In CapCut
Cut both clips at the blurriest frames; add a Blur effect for 2–3 frames over the cut, or use a whip-style transition (see the Whip Swipe card).
Ready-made components
- Whip Pan Cut (hyperframes): npx hyperframes add whip-pan-cut
- Whip Pan (hyperframes): npx hyperframes add whip-pan
- Whip Pan (remocn): npx shadcn@latest add @remocn/whip-pan
Where this comes from
Use when
- Travel, energy reels, time jumps, "meanwhile" moments; shoot both whips at the same speed and direction.
Not for
- Pans in opposite directions or at different speeds break the illusion.
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/2767af908738/take-in-camera-whip-cut.mp4 — whip between two shots, with the timeline strip of the edit. Footage: Coffee Run (2020), 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 · Coffee Run (2020))
More cuts & pacing skills
- SmartCut (capcut-ai-editor): MCP that reads CapCut auto-captions to cut silences and duplicate takes right inside your CapCut project.
- Auto-Editor: CLI that cuts dead space by loudness or motion and exports MP4 or editor timelines; now also an agent skill.
- AutoCut: Edit video in a text editor: Whisper transcribes, you delete lines in Markdown, AutoCut cuts the video.
- Cut Video: Claude Code skill that tightens long recordings with forced-aligned cuts, keeping laughs and comedic pauses.
- Videogrep: Search spoken words across videos and auto-build supercuts of every match.
- PySceneDetect: Find cuts, fades and scene changes in a video, then split it or export scene lists for the edit.
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