frei0r's nervous filter randomly swaps each frame with a recent one, making motion twitch and stutter. Interpolating that jittery footage to 4× slow motion makes minterpolate morph between out-of-order frames, which turns the twitching into smeared, warping movement.

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=nervous,minterpolate=fps=120,setpts=N/(29.97*TB)" \
  -r 29.97 \
  -an \
  -c:v prores -profile:v 2 -vendor apl0 -pix_fmt yuv422p10le \
  output.mov

What each part does

frei0r=nervous         randomly reorder frames within a short buffer
                       (needs an ffmpeg built with frei0r, e.g. the
                       ffmpeg-full Homebrew formula)
minterpolate=fps=120   synthesize frames to 120 fps
setpts=N/(29.97*TB)    play at 29.97 fps (≈ 4× slower)
-r 29.97 -an
-c:v prores -profile:v 2 -vendor apl0 -pix_fmt yuv422p10le
                       ProRes 422, 10-bit 4:2:2

When to use it

This is used when you want twitchy, out-of-order motion turned into slow, smeared warping, and you plan to keep editing or grading the result. ProRes 422 10-bit holds up better through further processing than a delivery codec. For a smaller file to share directly, use the H.264 counterpart, frei0r-nervous-slowmo-h264.sh. For clean slow motion without the jitter, see ../timing/minterpolate-slowmo-prores.sh. The header explains each flag.

To change the slowdown, edit the minterpolate rate. fps=60 gives roughly 2× slow motion instead of 4×. If you change the playback rate, change it in both setpts and -r so they stay matched. The script drops audio, so add any sound in your editor.

If the output looks wrong or the command fails:

  • "Could not find module": set FREI0R_PATH as the header shows.
  • frei0r isn't recognised at all: your ffmpeg was built without it.
  • Rendering is slow: expect this, because minterpolate is slow.
  • The file is large: expect this from ProRes.

Notes

Source
ffmpeg-utilities/stretch-nerv-prores.sh (the first command)
Changed
minterpolate='fps=120' → minterpolate=fps=120