Converting movies to 60 fps on linux ( with wine )

You may have heard of SVP project , if not visit their website http://www.svp-team.com/ .

SVP in a first pass calculates the motion vectors for the frame ( the direction and velocity that every object in the video has moved with ), and then on the second pass it generates intermediate frames.
With that technique it can generate the intermediate frames between each frame of the original video, like when going from 24fps to 60fps.

As you have seen SVP is only for windows and there’s not any guide to easily use it under Linux, but it can be used under linux too and it’s not much difficult.

!!!IMPORTANT : The method shown here does not work with ubuntu because of some unknown wine build bug 

First of all, download the archive here https://tizbac.ovh/owncloud/index.php/s/RS28NIrJVIR4zfo , install wine and ffmpeg.

Unpack the archive in your home directory , i.e you should have at the end /home/yourusername/60fps

then do

wine wineboot
ln -sf $HOME/60fps $HOME/.wine/drive_c/60fps
wine AviSynth.exe

Follow the instructions of the installer( just click next ,next… finish)

Then edit script.avs and change FFMpegSource2 filename to your source movie if you want to specify a path outside drive_c , /a/b/c becomes Z:abc and save it.

Now you can launch x264:

If you need to , adjust bitrate and preset to suit your needs.

Now it should start interpolating and reeencoding the video, it will take a lot of time if you don’t have an highend machine, but x264 is heavy, nothing can be done about it.

After that command you should end up with the interpolated video without sound, to re-add sound you can use ffmpeg

ffmpeg -i x264output.mp4 -itsoffset 0.4 -i originalfile.mp4 -c:v copy -c:a aac -strict -2 -map 0:v:0 -map 1:a:0 outputfilewithsound.mp4

There too, if needed, adjust itoffset ( audio delay offset , interpolation seems to add a delay , still have to figure out why ).

After that you should have the movie with audio and 60 fps, have fun!