Get this effect
Switch to Code in your Claude Desktop App
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/skillsAsk for the effect
Make a picture in picture from main.mp4 and inset.mp4 Inset width as a share of the main frame: 0.32 White frame around the inset, in pixels: 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.
Add a picture in picture to @clip1.mp4, put a sale badge on @clip2.mp4, give @clip3.mp4 a VHS look, then join all three with crossfades.
Settings you can change
Ask Claude to change any of these, or edit them at the top of the command.
| Setting | Default | What it does |
|---|---|---|
SIZE | 0.32 | Inset width as a share of the main frame. |
BORDER | 6 | White frame around the inset, in pixels. 0 removes it. |
MARGIN | 0.04 | Gap from the edges, as a share of the frame width. |
In other editors
From each editor’s own help pages, in our words. We haven’t run these ourselves.
Built in: overlay track · desktop
- Put the main video on the timeline and place the second video above it.
- Select the second video and reduce its scale (page's example is 75%).
- In the Mask feature, choose Circle or Rectangle for the small window's shape.
- Drag the small video to adjust its position.
Source: How to Do Picture in Picture on YouTube: A Step-by-Step Guide (CapCut), checked October 22, 2026.
Closest built-in: an overlay on the upper track · desktop and mobile
- Keep your main clip on the main track of the timeline.
- Drag the second clip up into an upper track so it layers on top.
- Resize or position the upper-track clip as needed.
- Press Play to preview; upper-track clips overlap and play together.
Layers a resized clip over the main track, but the page never mentions corner placement or a white frame.
Source: Create and edit videos (Canva), checked October 22, 2026.
Built in: Picture in Picture · web
- Upload your images and videos at once, or pick stock video.
- Drag the overlay's edges on the Timeline until it is the size you want.
- Place the overlay anywhere on top of the other image or video.
- Export your picture-in-picture video.
The page's steps overlay a photo on a video; layering a second video is only implied.
Source: Picture in Picture Video Editor (VEED), 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
Put inset.mp4 as a picture-in-picture over main.mp4: scale it to 32% of main's width, give it a 6-pixel white border, and place it in the top-right corner with a gap of 4% of main's width from the top and right edges. Keep main's audio. Use ffmpeg and save it as output.mp4.Run it without Claude
This is the exact command we tested. Save it as picture-in-picture.sh and run:
sh picture-in-picture.sh main.mp4 inset.mp4 output.mp4Show the command
#!/bin/sh
# Picture in picture: the second clip plays small in the top-right corner, framed in white.
# Usage: sh picture-in-picture.sh main.mp4 inset.mp4 output.mp4
set -e
MAIN="$1"; INSET="$2"; OUT="$3"
SIZE=0.32 # inset width as a share of the main frame's width
BORDER=6 # white frame around the inset, in pixels
MARGIN=0.04 # gap from the edges, as a share of the main frame's width
W=$(ffprobe -v error -select_streams v:0 -show_entries stream=width -of csv=p=0 "$MAIN")
ffmpeg -y -i "$MAIN" -i "$INSET" -filter_complex "\
[1:v]scale=trunc($W*$SIZE/2)*2:-2,pad=iw+2*$BORDER:ih+2*$BORDER:$BORDER:$BORDER:white[pip];\
[0:v][pip]overlay=x=W-w-W*$MARGIN:y=W*$MARGIN:shortest=1,format=yuv420p[v]" \
-map "[v]" -map "0:a?" -c:v libx264 -crf 18 -c:a copy "$OUT"





