1

(455 replies, posted in Using SVP)

bluetail wrote:

Can you please add RIFE on SVP for Linux? I think the packages are there, right?
I am already a paying customer.
SVP works great on archlinux. No issues whatsoever.
But the claim is that RIFE makes it better. Does it really?

I got 5800x3D and AMD 7900XTX.


bluetail wrote:

Yes Chainik please update linux repos.
I have some futile attempts in getting RIFE working.

Before you inspect the logs, I did symlink all the .so files of `vapoursynth-plugin-vsrife-git` and even touched the name to match up SVP's expectation.
Because it is `librife.so` from the libs and NOT `libRIFE.so`
Maybe look at the most recent parts of my log posted.

models       libfmtconv.so       librife.so      libsvpflow2.so
libbm3d.so   libframeblender.so  libRIFE.so
libffms2.so  libmvtools.so       libsvpflow1.so

models

rife-anime

/opt/svp/rife/models/rife-anime
% ls
contextnet.bin    flownet.bin    fusionnet.bin
contextnet.param  flownet.param  fusionnet.param

https://0x0.st/XE_O.txt

I was excited enough to see that I could get some RIFE models show up but unfortunately not yet working.


seal wrote:

Chainik, any news on getting RIFE working for linux or am I just wasting my time asking?

Hi, guys.
I've managed to run rife on linux, and it's kinda complicated.

Archlinux + rx7900xtx

There are some steps and problems should be solved:
1. Install ncnn of latest version. In Archlinux it is old now in repos (sic!) (20241226-8 and newest is 20250503). You have to rebuild it manually. It is needed for RX7XXX because of https://github.com/styler00dollar/Vapou … /issues/67
2. Install vapoursynth vapoursynth-plugin-rife-ncnn-vulkan
3. create symlink ln -s /usr/lib/vapoursynth/ /opt/svp/rife
4. Linux version of scripts are different from windows. There is no RIFE in them. You will need to extract script dir from windows version and copy into linux /opt/svp/script/ . This will fix rife_model = undefined
5. But after this, generated script will look for svpflow libraries with wrong names. You can do one of the:
  a) install aur/vapoursynth-plugin-svpflow , which extract libraries to the vapoursynth autoimport dir;
  b) create symlinks in /opt/svp/plugins/
ln -s libsvpflow1.so libsvpflow1_vs64.so
ln -s libsvpflow2.so libsvpflow2_vs64.so
  c) edit generate.js for libraries names
6. Linux version of the library svpflow2 function SmoothFps_RIFE is different.
So you should replace in /opt/svp/script/base.py
core.svp2.SmoothFps_RIFE(input_m,smoothfps_params,rife_out=smooth,vec_src=vec_src,vdata=vdata,src=input_um,fps=src_fps)
with
core.svp2.SmoothFps_RIFE(smooth,smoothfps_params,src=input_um,multi=rife_num/rife_den,fps=src_fps)

Optionally, if you get into main rife function ( core.rife.RIFE  https://github.com/styler00dollar/Vapou … cnn-Vulkan ), you can enable some options, but I swear you NOT TO ENABLE
skip: Skip interpolating static frames. Requires VMAF plugin.
Because of broken VMAF https://github.com/styler00dollar/Vapou … /issues/10  . It costs me some hours and nerves trying to find why rewind and fast forward not working.

...Someday, I'll publish complete guide for this....