Is there a way to interpolate frames with ffmpeg? and not just copy them. I tried slowmovideo and boy it is slow. I used Twixtor in vegas and hated it. I gave megui and could not get it properly set up(thank you windows)

So is there a way to interpolate with ffmpeg??

  • 1
    The framerate filter does some simple interpolation, but probably not what you're looking for. – llogan Nov 25 '15 at 18:46
  • Yes a bit more advanced feature would be nice – Levan Nov 25 '15 at 21:33
  • 2
    FFmpeg recently got its own minterpolate filter. – Gyan Sep 19 '16 at 14:47

Yes, there is a way. Since November 2016, the libavfilter library has a video filter called minterpolate, which performs motion interpolation.

Example usage:

ffmpeg -i input.lowfps.hevc -filter "minterpolate='fps=120'" output.120fps.hevc

  • 2
    How is that video filter used? – bertieb Mar 5 '17 at 16:02
  • 2
    Just like any other ffmpeg video filter, e.g. ffmpeg -i input.hevc -filter "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1'" output.hevc. The filter's documentation contains the description of the available parameters and their values. – Peter Bašista Mar 5 '17 at 19:58
  • 2
    That should be in your answer as well :) – bertieb Mar 5 '17 at 20:11
  • 4
    Granted, but then 'yes' would technically be a valid answer- I would humbly suggest that including a brief usage/example might make it more complete/informative. Ultimately it's your choice :) – bertieb Mar 6 '17 at 0:17
  • 4
    This command didn't work for me until I specified -filter:v instead of just -filter – colton7909 Mar 10 '19 at 17:05

Have a look at this AI project with impressive results: http://jianghz.me/projects/superslomo/

It has a Python implementation which can accelerate using CUDA. https://github.com/avinashpaliwal/Super-SloMo

There's also an easy tutorial for that Python impl, with honest examples. https://www.youtube.com/watch?v=mXwXtIiOjRA


You can use Butterflow as it uses ffmpeg https://github.com/dthpham/butterflow

It's a command-line tool that can:

Increase a video's frame rate by rendering new frames based on motion (pixel-warping + blending). Make smooth motion videos (simple blending between frames). Leverage new frames/increase in frame rates to make fluid slow motion videos.

  • 1
    Please read How do I recommend software for some tips as to how you should go about recommending software. You should provide at least a link, some additional information about the software itself, and how it can be used to solve the problem in the question. – DavidPostill Sep 19 '16 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.