Light block glitching, then Vertigo, which blends each frame with a zoomed and rotated copy of earlier ones (a swirling video-feedback tunnel), then Nervous, which randomly reorders recent frames so the swirl twitches.

frei0r: if ffmpeg reports "Could not find module", point it at the plugin folder. Homebrew on Apple Silicon installs them where ffmpeg doesn't look by default: export FREI0R_PATH=/opt/homebrew/lib/frei0r-1

The command

ffmpeg -i input.mp4 \
  -vf "frei0r=glitch0r:0.01|0.1|0.4|0.1,frei0r=vertigo,frei0r=nervous" \
  -r 29.97 \
  -c:v libx264 -pix_fmt yuv420p \
  output.mp4

What each part does

frei0r=glitch0r:0.01|0.1|0.4|0.1
                       rare, small block shifts
frei0r=vertigo         EffecTV: alpha blending with zoomed and rotated
                       images (parameters: phase increment, zoom rate)
frei0r=nervous         random frame reordering
-r 29.97 -c:v libx264 -pix_fmt yuv420p

When to use it

Useful when you want a hypnotic, unstable look: a swirling feedback tunnel that twitches as frames get shuffled, with only occasional block glitches on top. It suits music visuals, loops and title backgrounds. Skip it when motion needs to read clearly or lip sync matters, because Nervous scrambles the order of recent frames. For a gentler stutter, try shuffleframes-stutter.sh. For edge-based glitching, see frei0r-glitch-sobel-baltan.sh. The header explains each filter.

Variations:

  • Change -r 29.97 to match your source's frame rate.
  • Pass Vertigo's two parameters, phase increment and zoom rate, to change how fast the tunnel spins and zooms.
  • Swap in frei0r-glitch0r-prores.sh if you only want the block glitching.

If ffmpeg reports "Could not find module", set FREI0R_PATH as the header shows. If the glitches seem to be missing, that's expected: the glitch0r values are deliberately rare and small.

Notes

Source
ffmpeg-utilities/notes/commands2.txt
Changed
-vcodec → -c:v; removed the spaces after commas in the chain