We are going to use frame interpolation method to increase a video framerate using ffmpeg,
- With NVIDIA GPU Card
ffmpeg -hwaccel cuda -i input.mp4 -c:a copy -c:v libx264 -vf "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1'" -c:v h264_nvenc -preset slow -r 60 -vb 20M output.mp4
- Without NVIDIA Card
ffmpeg -i input.mp4 -c:a copy -c:v libx264 -vf "minterpolate=mi_mode=mci:mc_mode=aobmc:vsbmc=1" -preset slow -r 60 -b:v 20M output.mp4
-
Explanation:
input.mp4is your input video that you want to convert-presetthe slower it is the better-r 60is the framerate that you want to convert intooutput.mp4is the output file -
Downsides:
- It’s a time consuming process but gets the job done.
- If the video has too much motion, things became hazy.
Biggest pluspoint is it works, without using fake websites or any subscription based online tools or AI, your file without leaving your computer.