Plays every frame of a high-frame-rate clip at 29.97 fps instead of dropping frames, which is how cameras make "true" slow motion: 120 fps footage becomes 4× slower, 60 fps becomes 2× slower. No frames are invented (compare minterpolate-slowmo-prores.sh). Output is ProRes 422 for editing.
The command
ffmpeg -i input.mp4 \
-vf "setpts=N/(29.97*TB)" \
-r 29.97 \
-an \
-c:v prores_ks -profile:v 2 -vendor apl0 -pix_fmt yuv422p10le \
output.mov What each part does
setpts=N/(29.97*TB) restamp frame N to play at N/29.97 seconds
-r 29.97 output at 29.97 fps
-an drop the audio, which would otherwise stay at
normal speed and end long before the video
-c:v prores_ks -profile:v 2
ProRes 422 (0 Proxy, 1 LT, 2 422, 3 HQ)
-vendor apl0 tag as Apple-encoded, which some NLEs expect
-pix_fmt yuv422p10le 10-bit 4:2:2, ProRes's native format When to use it
Use this when the clip was shot at a high frame rate (60, 120 or 240 fps) and you want smooth slow motion without invented frames. The slowdown is the source rate divided by 29.97, so 240 fps footage becomes roughly 8× slower. The output is an editing intermediate, not a delivery file. The header explains each flag.
Don't use it on 24, 25 or 30 fps footage. There are no extra frames to spread out, so the result plays at about normal speed. For those clips, use minterpolate-slowmo-prores.sh, which synthesizes the in-between frames.
To conform to a different timeline rate, change 29.97 in both setpts and -r. Keep the two values the same. For smaller files, lower -profile:v to 1 (LT) or 0 (Proxy). For more headroom when grading, raise it to 3 (HQ).
If the output isn't slower, check the source's actual frame rate. Some phones label 120 fps clips as 30 fps. The result is silent on purpose; add audio separately in your editor.
Notes
- Source
- ffmpeg-utilities/slow-batch.sh
- Changed
- added -an (the original kept normal-speed audio against slowed video)