FFMPEG - Interpolate frames or add motion blur
Solution 1
You can try
ffmpeg -i source.mp4 -filter:v tblend -r 120 result.mp4
or this from https://superuser.com/users/114058/mulvya
ffmpeg -i source.mp4 -filter:v minterpolate -r 120 result.mp4
There are filter for motion blur
Solution 2
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.
Solution 3
ffmpeg -i input.mp4 -filter:v "minterpolate=mi_mode=2" output.mp4
is for simple dynamic fast frame interpolation using a little bit of motion blur and calculations.
Solution 4
you can try with Slowmovideo. look the demo: https://www.youtube.com/watch?v=YAVRnEg0Vps
Related videos on Youtube
![Programster](https://i.stack.imgur.com/b0KdV.png?s=256&g=1)
Programster
Updated on September 18, 2022Comments
-
Programster almost 2 years
I just watched the trailer for the hobbit, and a trailer for the avengers which both feature an increased framerate. A lot of the comments state that this isn't "true" 60fps since it was not shot at 60fps, but actually a lower frame-rate that has been interpolated.
If this is the case, is there any way that I can convert some of my existing media in Linux with ffmpeg or avconv in the same way in order to create this "illusion"?
I can understand if higher framerates are not to other's tastes, but not the point of this post.
-
Programster almost 8 yearsI wrote a script that ubuntu 16.04 users can use to install the tool: blog.programster.org/ubuntu-16-04-install-butterflow It takes a lot of grunt and I found I had to use it on videos no larger than 640 x 480 if I wanted to get a result in a reasonable amount of time. Obviously hardware dependent.
-
i336_ about 7 yearsNote! The Linux version (64-bit only) appears to be freeware, but this plugin is not open source. The Windows and macOS versions are $10. The plugin does seem extremely compelling though, I generally prefer open source stuff but this is on my to-try list.
-
fachexot about 4 years
minterpolate
works really well! -
Amessihel over 3 yearsthe link leads to a user page.
-
Todd Lehman about 3 yearsHi... Could you explain how
minterpolate=mi_mode=2
differs from just plainminterpolate
? I'm curious to learn the difference. -
Programster almost 3 yearsI'm changing this to the correct answer (from butterflow) as this answer is just about using ffmpeg which is closer to the asked question. Also, installing Butterflow on Ubuntu 18.04 or later has proved impossible for me, and I've tested minterpolate and it does indeed work extremely well. I use this command:
ffmpeg -i input.mp4 -vf "minterpolate=fps=60:mi_mode=mci:mc_mode=aobmc:me_mode=bidir:vsbmc=1" output.mp4
-
damian101 over 2 yearsThat doesn't look useful to me for interpolation though, should only add lots of motion blur. To me this looks only useful for framerate reduction, to get smoother, less stuttery video.