How to add a wipe transition with Claude

A hard vertical edge sweeps across the frame from right to left, leaving clip B behind it.

Get this effect

  1. Switch to Code in your Claude Desktop App

  2. Install the skill (once)

    Show the prompt
    Install the Recharm video effects skill: download https://recharm-growth-staging.s3.us-east-2.amazonaws.com/website/downloads/recharm-video-effects.zip and unzip it into ~/.claude/skills
  3. Ask for the effect

    Join clipA.mp4 and clipB.mp4 with a wipe transition
    Length of the transition in seconds: 0.6

Several videos, several effects, one ask

Put your clips in the folder, mention them with @, and ask for everything at once. Claude runs one tested script after another on each clip, then joins them.

Put a sale badge on @clip1.mp4, give @clip2.mp4 a VHS look, then join them with a wipe transition.

Settings you can change

Ask Claude to change any of these, or edit them at the top of the command.

SettingDefaultWhat it does
D0.6Length of the transition in seconds.

In other editors

From each editor’s own help pages, in our words. We haven’t run these ourselves.

Built in: Wipe transitions · desktop

  1. Import clips and drag them onto the timeline.
  2. Open the Transitions tab on the left and search for a wipe.
  3. Drag it between the two clips where the change should happen.
  4. Adjust the duration with the slider or by typing a time.

Source: Use Wipe Transitions to Create Engaging Visual Effects in Films (CapCut), checked October 22, 2026.

Without the skill

Don’t want to install the skill? Paste this prompt into Claude Code and Claude writes the command itself.

Show the prompt
Join clipA.mp4 and clipB.mp4 with a 0.6 second wipe transition: a straight vertical edge moves from the right side to the left side, revealing B behind it (ffmpeg xfade wipeleft). Crossfade the audio over the same 0.6 seconds. Match B's size and frame rate to A. Use ffmpeg and save it as output.mp4.

Run it without Claude

This is the exact command we tested. Save it as wipe-transition.sh and run:

sh wipe-transition.sh clipA.mp4 clipB.mp4 output.mp4
Show the command
#!/bin/sh
# Wipe transition: a hard vertical edge sweeps right to left, swapping clip A for clip B, over 0.6s. The sound crossfades underneath.
# Usage: sh wipe-transition.sh clipA.mp4 clipB.mp4 output.mp4  (both clips need an audio track)
set -e
A="$1"; B="$2"; OUT="$3"
D=0.6   # transition length in seconds

LEN=$(ffprobe -v error -show_entries format=duration -of csv=p=0 "$A")
OFFSET=$(echo "$LEN - $D" | bc)
SIZE=$(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "$A")
FPS=$(ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate -of csv=p=0 "$A")
W=${SIZE%x*}; H=${SIZE#*x}
# xfade needs both clips at the same size and frame rate, so B is fitted to A first
ffmpeg -y -i "$A" -i "$B" -filter_complex "\
[0:v]fps=$FPS,format=yuv420p,setsar=1[a];\
[1:v]scale=$W:$H:force_original_aspect_ratio=increase,crop=$W:$H,fps=$FPS,format=yuv420p,setsar=1[b];\
[a][b]xfade=transition=wipeleft:duration=$D:offset=$OFFSET[v];\
[0:a][1:a]acrossfade=d=$D[au]" \
  -map "[v]" -map "[au]" -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a aac "$OUT"

Find 3x winning ads

Recharm cuts your ad footage into tagged, searchable clips: hooks, testimonials, product shots. Find the shots that win, add the effect with Claude, and ship 3x more ad edits.

Start 14-day free trial