Interpolates video to 4× slow motion and stretches the audio by the same amount so they stay in sync, then fills a 1080×1080 square for social feeds. Scene-change detection is off, so cuts morph into each other instead of jumping, which is the dreamy look these were made for.
Variants in the source: 1920×1080 instead of the square crop, and 60 fps with a single atempo=0.5 for a 2× slowdown.
The command
ffmpeg -i input.mp4 \
-vf "minterpolate=fps=120:scd=none,setpts=N/(29.97*TB),scale=1080:1080:force_original_aspect_ratio=increase,crop=1080:1080" \
-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
minterpolate=fps=120:scd=none
interpolate to 120 fps; scd=none keeps
interpolating across scene cuts
setpts=N/(29.97*TB) play the frames at 29.97 fps (≈ 4× slower)
scale=1080:1080:force_original_aspect_ratio=increase,crop=1080:1080
fill a square frame
-af "atempo=0.5,atempo=0.5"
slow the audio to 0.25×, pitch unchanged (each
atempo stage is limited to 0.5–100, so chain two)
-r 29.97 output at 29.97 fps
-c:a aac -b:a 128k -c:v libx264 -crf 21 -preset veryfast -pix_fmt yuv420p When to use it
Use this when you want a short clip slowed to a dreamy 4× with its sound slowed to match, cropped square for a social feed. Scene-change detection is off, so cuts blend into each other. If you want clean cuts, this is the wrong script. If you need an editing intermediate rather than a finished upload, look at minterpolate-slowmo-prores.sh. The header explains each flag.
Useful variations, both from the source:
- For a 16:9 frame, change the scale and crop sizes from
1080:1080to1920:1080. - For a 2× slowdown, set
fps=60and use a singleatempo=0.5.
If you change the slowdown, keep the audio factor equal to the video factor, or the audio will drift out of sync.
If moving edges warp or smear, that comes from interpolation. minterpolate-mode-comparison.sh helps you compare approaches. If the subject gets cut off, the square crop is trimming the sides, so try the 1920×1080 variant. Expect slow encodes, because minterpolate is the costly step.
Notes
- Source
- ffmpeg-utilities/videogrep.sh (the dsa/time/emotion/noise commands)
- Changed
- added -r 29.97 and -pix_fmt yuv420p (present in some of the source variants, missing in others); -filter:v/-filter:a → -vf/-af