8

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.

enter image description here

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.

6

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
  • I 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. – Programster Sep 19 '16 at 18:28
9

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

2
  • 1
    minterpolate works really well! – neu242 May 1 '20 at 14:16
  • 1
    the link leads to a user page. – Amessihel Feb 27 at 8:49
1

you can try with Slowmovideo. look the demo: https://www.youtube.com/watch?v=YAVRnEg0Vps

1
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.

1
  • Hi... Could you explain how minterpolate=mi_mode=2 differs from just plain minterpolate? I'm curious to learn the difference. – Todd Lehman 2 days ago
0

I know that my question asked about converting video to a higher framerate with interpolated frames, so this answer can never be the "true" answer, but I have since found the Smooth Video Project (SVP) which works on Linux, Mac, and Windows (Download Link).

This tool is free and takes any video and interpolates frames on-the-fly like your TV might do, so you don't have to spend ages re-encoding your videos. It takes a bit of grunt though so I don't know how well it will work on laptops, but works brilliantly on my desktop quad core machines.

Ubuntu Linux users can read my post on how to set it up.

1
  • 1
    Note! 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. – i336_ May 24 '17 at 12:30
0

We have a Video Frame Doubler System in the cloud.

This is a solution to convert video from 30fps to 60fps up to 5k (5400x2700) resolution using ffmpeg.

If you wanted to convert a 30-minute file with this resolution, you would need two weeks or so. But we can do it in about a day. (In some cases, it may take even longer). In addition, there is almost no loss of image quality, which is common with video interpolation in deep learning.

Please use it for distributing 5K VR video(s).

https://ec.remaster.ai/index.php?route=product/category&path=85

0

A much better answer:

ffmpeg -i input.mp4 -vf tmix=frames=8:weights="1 1 1 1 1 1 1 1" output.mp4

The more frames you set the more motion effect is applied. The weights must equal the same number of frames.

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.