Rife 4.14 seems to be better overall for fast movement.
What video you use for fast movement tests?
For slow panning movement i found first seconds of this video very useful:
https://drive.usercontent.google.com/uc … t=download
You are not logged in. Please login or register.
SmoothVideo Project → Posts by flowreen91
Rife 4.14 seems to be better overall for fast movement.
What video you use for fast movement tests?
For slow panning movement i found first seconds of this video very useful:
https://drive.usercontent.google.com/uc … t=download
Now I have a serious delay when using MPV and there is this red aftertone.
I managed to reproduce the delay + red aftertone in the tonemap if i remove
"vo=gpu-next" line from my mpv configuration file found here ""C:\Program Files (x86)\SVP 4\mpv64\mpv.conf"
https://gyazo.com/29d94c063890f675d0b01b4f91126c50
Try to add it back if it's missing, restart SVP and please check if issue persists.
Thanks!
How did you figure that one out?
You started asking Blackfyre on the MVP settings topic. That made me curious to test his settings which mentioned tone mapping. Saw the issue instantly when i tried running it with 0 settings.
Does changing the code in the way I mentioned do this?
https://gyazo.com/c71046909c565742a9c8b94a6929f11f
For values integers higher than 2 it will play the video track at 2x 4x 8x the speed while sound track would still be played at 1x.
For values lower than 2 it will crash with error 'fractional multi requires plugin akarin (https://github.com/AkarinVS/vapoursynth-plugin/releases) version v0.96g or later.'
Try to play the video with MPC-HC if you want to see big error logs on your screen when you test with different values.
after a few seconds the screen goes blank
that's what happens when you run out of video track
follow aloola's suggestion and just select your FPS from the top right
but they did not allow me to play content in 4k without lag.
You know that you can tell SVP to downscale the video a bit until it stops lagging, right?
Try to change the resize setting to something smaller than -38402160 like -19201080 :
https://gyazo.com/0fd2d567424b1f5f75b346fee8ba2b0e
https://www.svp-team.com/wiki/Manual:All_settings
Would love to use MPV but I can't find the way to enable fps counter.
Try Shift + I or hold I to enable fps counter.
MPV seems faster than MPC-HC. It gives more stable fps.
I hope someone can guide me in getting Soap Opera effect using RIFE in SVP.
Try this and say if you get stuck or instructions are unclear :
https://www.svp-team.com/forum/viewtopi … 352#p83352
What happen when someone upload already generated engine cache lock files for RTX 4070 users? Will it work without resolution optimization pass?
The actual generated files are all binary so you cannot understand what exactly they contain, but all we know it makes SVP interpolation faster which is good:
https://gyazo.com/7099f92f846ce0c57dab6ec3258ff4c5
And since a new one gets generated for every specific rife version + resolution + graphics card it would be safe to assume that it's always best to let it generate a fresh version for your specific configuration and never try to use already uploaded generated engine cache lock files for compatibility purposes.
If i just rename the engine cache files to use it on wrong configuration, MPC-HC mentions errors that it fails to start.
Wrong rife engine resolution error:
https://gyazo.com/6430b2a951b77dbc643ed9430f0be445
Wrong rife v2 engine found instead of v1 error:
https://gyazo.com/32117e51558d87e37f8c2451dd6fc7c3
But it seems to work if you run a v4.13 with a v4.10 engine file.
My suggestion would be to delete cache folder from here:
"C:\Users\username\AppData\Roaming\SVP4\cache"
every time you update rife models and let them generate fresh.
They have pattern match and random zigzag artefacts, where too many same lines onscreen or objects, interpolated by error too, regardless of the overall frame!
A v2 jaggedness/zigzag bug was fixed on 3 November: https://github.com/AmusementClub/vs-mlrt/issues/66
And the Rife devs re-uploaded the versions here: https://github.com/AmusementClub/vs-mlr … nal-models
Maybe try to redownload and check again if issue persists?
Chainik wrote:sounds like a bad advice that others will follow blindly and get a worse results (as usual when you're following some advices w/o understanding them)
In my case it's improvement.
Is there any simple way to test the difference between any two configurations?
How can we confirm if any change is improvement or not?
Can you give us a basic example on a test that you do where we can see consistent results of numbers/data going up/down on multiple attempts?
Thanks!
Here's an easy trick to make RIFE run smoothly at a constant 240 frames per second on low-end graphics cards:
You can adjust the "resize" setting by following the instructions at https://www.svp-team.com/wiki/Manual:All_settings
This setting allows you to specify the frame size resolution for all the videos you watch.
Try setting it to values like:
-1 (your current screen size)
-19201080 (1920x1080 pixels)
-12800720 (1280x720 pixels)
-10240576 (1024x576 pixels)
-06400480 (640x480 pixels)
By doing this, RIFE will play your 4K video in the resolution that your low-end graphics card can handle, ensuring smooth playback without any frame drops.
Check out this example: https://gyazo.com/2926178b497605f8a71cd3780d514bf0
in my case, I disabled the scene change threshold and picked the RIFE version that has fewer artifacts.
Scene change threshold - check if two adjacent frames are in different scenes or not, i.e. the frames are the same (but slightly moved) or completely different. If yes then there's no interpolation between these frames. Higher values gives more interpolation artifacts when scene change was not detected. Lower values give more "stuttering" (i.e. repeated frames instead of interpolated) when there was a false detection.
Noob here. I see that setting it 0% it just outputs the source movie (no interpolation at all so of course no artifacts cause it literally only plays the original video).
So if we want max smoothness + max RIFE artifacts to "disable the scene change threshold" you recommend we should set it from 15% to 100% (rife_sc setting in Application Settings) ?
Which old RIFE version that has fewer artifacts you picked for now ?
P.S. OMG setting "Scene change threshold" to 100% makes the video look amazing just like the old "Uniform (max fluidity)" setting from https://www.svp-team.com/wiki/Manual:FRC
Why did nobody mention this before? Will only use this from now on. Many thanks!
How do I update to the latest version of RIFE for live conversion?
A simple list of instructions would be wonderful, thank you
First you update SVP to latest version by right clicking it from task bar --> Utilities --> Additional programs and features... --> Update components --> Next >
https://gyazo.com/1702ec66e0a1210c4f4d25fdfbe34aeb
If you're equipped with an Nvidia Graphics GPU, amplify your interpolation speed by installing TensorRT. Check out the SVP default guide for a smooth installation process:
https://www.svp-team.com/wiki/RIFE_AI_interpolation
Dive deeper into the videos enhancement journey. If the latest stable version doesn't quite satisfy your expectations, explore the cutting-edge experimental versions with the latest improvements. You can always revert to older models if needed.
Download latest RIFE from the bottom of the page here:
https://github.com/AmusementClub/vs-mlr … nal-models
But the fastest model seems to be rife_v4.6.onnx from rife_v2 folder of rife_v2_v4.7z :
https://github.com/AmusementClub/vs-mlr … e_v2_v4.7z
The current RIFE model version number recommended by it's developer is mentioned here:
https://github.com/hzwer/Practical-RIFE … erpolation
Then copy the contents of the rife folder from the archive into this SVP folder ("C:\Program Files (x86)\SVP 4\rife\models\rife")
and copy the contents of the rife_v2 folder from the archive into this SVP folder ("C:\Program Files (x86)\SVP 4\rife\models\rife_v2"):
https://gyazo.com/b2de1180de4f68b82d333c9eee5e60f2
How the files should look if copied correctly:
https://gyazo.com/e6c8e536288ea4af68a3cc438d1e1083
Restart SVP to see the newly added models.
How to upgrade TensorRT:
Go to https://github.com/AmusementClub/vs-mlrt/releases/ and download latest vsmlrt-windows-x64-tensorrt archive.
There may be fixes and enhancements in the latest releases. If you're willing to help test, i would try unzipping
vstrt.dll
and the folder
vsmlrt-cuda
into
C:\Program Files (x86)\SVP 4\rife
Now, with a seamlessly upgraded RIFE AI model, enjoy the next level of videos interpolation.
Happy watching!
List of SVP4 SETTINGS you can change to improve RIFE FPS for a smooth experience even on low end PC:
Use SVP's MPV video player instead of MPC-HC video player by installing it from SVP icon tray right click --> Utilities --> Additional programs and features... --> Add or remove components
Turn off Hardware Accelerated GPU Scheduling:
https://www.howtogeek.com/756935/how-to … indows-11/
Turn off GPU decoder in player:
If you're using SVP's MPC-HC you go to View->Options->Internal Filters->Video decoder->Hardware Acceleration->None
https://gyazo.com/93b27111fe9a43f1f6e0a49f46435e14
Also go to Options->Playback->Output->MPC Video Renderer Settings and uncheck "Adjust the frame presentation time" so your frame rate can go above 160 fps:
https://gyazo.com/ebfa6f747d2e0fc3d3f03c64bb3c9468
if you're using SVP's MPV then go to C:\Program Files (x86)\SVP 4\mpv64 and edit the file mpv.conf and edit this line:
hwdec=auto-copy change to #hwdec=auto-copy. Just remove the "#" if you want to use it again.
Go to Windows Power & Battery settings and change Power mode from Balanced to Best Performance:
https://gyazo.com/7666c5fbe11d421020f7a38ed04fe425
Enable Performance Boost for Nvidia TensorRT so the video starts faster:
https://gyazo.com/ab75720ef3674dc2c0ad390e5087221e
Also make sure you set GPU Threads to 2 for a stable FPS!!!
Setting it to 1 GPU Thread will give it too less memory to work with. Setting it to 3+ will make it drop frames more, without any noticeable improvements.
Duplicate frames removal setting we want it on "Do not remove".
For the Soap Opera effect increase Scene change threshold to 100% (rife_sc in SVP Application settings) so it will always interpolate the source frames and never repeat them:
Example: https://gyazo.com/f969dd0efaf116e91713f8d2ecdfbb45
Add resize SVP Application parameter with a small resolution for SVP to downscale the video before interpolating without overwhelming your GPU if you want to play 4K resolution videos:
Possible values:
-1 (your current screen size)
-25601440 (2560x1440 pixels for 2K)
-19201080 (1920x1080 pixels for 1080p)
-12800720 (1280x720 pixels for 720p)
-10240576 (1024x576 pixels for 576p)
-08540480 (854x480 pixels for 480p)
Example: https://gyazo.com/cdd546a9c5e2efafaf9dd6d671fe00a8 and enable "Stretch to Window" in MPC-HC so you can see the resized video on whole screen https://gyazo.com/4e8b2532e2bd1cd9868f9d03e74dc2b6
To accurately measure your current frames per second (FPS), you should install NVIDIA App from here:
https://www.nvidia.com/en-us/software/nvidia-app/
And enable Statistics in the NVIDIA Overlay:
https://gyazo.com/a17a74b5b071a3d8c137c17a67ad00d4
BONUS:
In my experiments, I found that while MPC-HC struggles, MPV seamlessly drops frames and continues.
Additionally, aloola's analysis suggests that newer models demand more from your system, yet they offer substantial enhancements in interpolation. MPV supports the addition of shaders which can significantly improve image quality and sharpness. A clever workaround involves resizing a 4K image to 1080p for swift interpolation with RIFE on newer models, and then applying shaders to emulate the appearance of the original 4K quality.
Although the result won't exactly match the original source, it ensures a smooth viewing experience. Moreover, your GPU will handle it effortlessly, as upscaling is far less resource-intensive than interpolating a 4K HDR10 image.
Feel free to experiment with these techniques yourself:
MPV upscaling config: https://drive.google.com/drive/folders/ … MSSZq0jJGj
If you have an HDR monitor, enable RTX HDR in your media player for all videos you watch with:
https://www.nexusmods.com/site/mods/781
SmoothVideo Project → Posts by flowreen91
Powered by PunBB, supported by Informer Technologies, Inc.