If you are happy with just motion-blur, this can be done much more quickly with: ffmpeg \īelow are the results of encoding the original video shown, with the blend and minterpolate filters. This is because if you are trying to do this for something like a movie/anime, it is probably what you want.
#Ffmpeg gif is slow how to
The previous command showed you how to use the minterpolate filter to create the interpolated frames. My strategy is to create a fairly uncompressed smooth video, and then run a 2-pass HEVC encode on the result in order to get the filesize down.įor longer videos, I will break them up into smaller chunks, process those in parallel, and stitch them back together. Unfortunately, this can only run on a single thread, hence I am using a low CRF and not performing two-pass encoding. vf "minterpolate=fps=60:mi_mode=mci:mc_mode=aobmc:me_mode=bidir:vsbmc=1" \ StepsĪfter having installed ffmpeg, I run the following command to create smooth videos at 60fps. Doing this requires a lot of CPU/GPU horsepower whilst playing back the video, whereas a pre-created video can take a lot longer to make, and then be played back on devices such as phones which don't have this software or processing power. Unfortunately, I could only ever get that installed on Ubuntu 16.04 and nothing later.Īlso, it is worth noting that this is very different from something like SVP which is all about creating the smooth playback by performing the interpolation In the past, I have used Butterflow to create smooth videos through frame interpolation. 60fps) by creating interpolated frames between existing frames with the use of FFmpeg. This tutorial will show you how you can create smooth videos (e.g.