How to add an RGB split glitch with Claude

Once a second the red and blue layers jump apart for a few frames, like a broken signal.

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

    Add an RGB split glitch to input.mp4
    How far red and blue move apart, in pixels each way: 14
    Seconds between glitches: 1

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 an rgb split glitch 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.

SettingDefaultWhat it does
SPLIT14How far red and blue move apart, in pixels each way.
EVERY1Seconds between glitches.
LENGTH0.12How long each glitch lasts.

In other editors

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

Built in: Chromatic aberration · invideo editor (browser-based)

  1. Start a timeline in the editor and upload your clip.
  2. Select the shot and choose the Chromatic aberration video effect.
  3. Adjust its controls, and keyframe any parameter that supports it to vary the effect.
  4. Play the whole shot, then export.

Effects can be animated only where they support keyframes; the pages don't say which Chromatic aberration controls do.

Source: AI Video Editor & Professional Post-Production Studio (InVideo), 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
Add an RGB split glitch to input.mp4: for the first 0.12 seconds of every second, shift the red channel 14 pixels left and the blue channel 14 pixels right, and add flickering noise. Leave the rest of each second untouched. Keep the audio. Use ffmpeg and save it as output.mp4.

Run it without Claude

This is the exact command we tested. Save it as rgb-split-glitch.sh and run:

sh rgb-split-glitch.sh input.mp4 output.mp4
Show the command
#!/bin/sh
# RGB split glitch: for 0.12s every second the red and blue channels jump apart and the picture fizzes.
# Usage: sh rgb-split-glitch.sh input.mp4 output.mp4
set -e
IN="$1"; OUT="$2"
SPLIT=14      # how far red and blue move apart, in pixels each way
EVERY=1       # seconds between glitches
LENGTH=0.12   # how long each glitch lasts

ON="lt(mod(t,$EVERY),$LENGTH)"
ffmpeg -y -i "$IN" -vf "rgbashift=rh=-$SPLIT:bh=$SPLIT:edge=wrap:enable='$ON',noise=alls=30:allf=t:enable='$ON'" \
  -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a copy "$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