The shareable version of frei0r-nervous-slowmo-prores.sh: same jitter + interpolation effect, with scene-change detection off so cuts blend, audio slowed to match, and a 640×480 frame encoded to H.264.

Variants in the source: 1920×1080 frames (fealin, stranger-cut) and 60 fps with one atempo=0.5 for a 2× slowdown.

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

Also in notes/commands2.txt: the same nervous + minterpolate=fps=120 chain at -crf 18 with no audio slowdown (and no scd=none).

The command

ffmpeg -i input.mp4 \
  -vf "frei0r=nervous,minterpolate=fps=120:scd=none,setpts=N/(29.97*TB),scale=640:480:force_original_aspect_ratio=increase,crop=640:480" \
  -af "atempo=0.5,atempo=0.5" \
  -r 29.97 \
  -c:a aac -b:a 128k \
  -c:v libx264 -crf 21 -preset veryfast -pix_fmt yuv420p \
  output.mp4

What each part does

frei0r=nervous         random frame reordering (needs frei0r)
minterpolate=fps=120:scd=none
                       interpolate to 120 fps, also across cuts
setpts=N/(29.97*TB)    play at 29.97 fps (≈ 4× slower)
scale=640:480:force_original_aspect_ratio=increase,crop=640:480
                       fill a 4:3 frame
-af "atempo=0.5,atempo=0.5"
                       audio at 0.25× to match the video
-r 29.97
-c:a aac -b:a 128k -c:v libx264 -crf 21 -preset veryfast -pix_fmt yuv420p

When to use it

This is useful when you want the jittery, dreamlike "nervous" slow motion as a file you can post or send straight away. It keeps the sound, slowed to match, and encodes a 640×480 H.264 file that most players handle. If you plan to keep editing or grading the result, use frei0r-nervous-slowmo-prores.sh instead. For plain slow motion without the jitter, see ../timing/minterpolate-slowmo-with-audio.sh. The header explains each flag.

Variations from the source:

  • Change both 640:480 pairs to 1920:1080 for a widescreen frame.
  • For a 2× slowdown, interpolate to 60 fps and use a single atempo=0.5.

If ffmpeg reports "Could not find module", set FREI0R_PATH as the header shows. If sound and picture drift apart, check that the number of atempo=0.5 stages matches the slowdown. Expect a slow render and an output about four times longer than the input. Blended cuts are intentional. Missing picture at the edges comes from the fill crop.

Notes

Source
ffmpeg-utilities/videogrep.sh (the grand-out command)
Changed
-filter_complex → -vf; -filter:a → -af