EDIT: I downloaded the new pack and reinstalled it. it works again smile

basic, redownload all the files.

Xenocyde wrote:
Chainik wrote:

> Grobalt said 1080p real-time should be ok on RTX 3070 laptop GPU

not sure what you're doing, but it's OK even on a 2060 laptop now big_smile

Well, what should I do? Reinstall SVP + MPV + Rife support and redo the installation for the new TRT stuff?

maybe you follow VSRIFE guide, and not vsmltrt guide

uninstall SVP and follow the guide
https://www.svp-team.com/forum/viewtopi … 483#p81483

mine also 528.02

It seems you run the SVP basic RIFE and not vs-mlrt as introduced here: https://www.svp-team.com/forum/viewtopi … 483#p81483

I follow that instruction. so vs-mlrt
proof I run trt ver. %AppData%\Roaming\SVP4\cache\Program Files (x86)\SVP 4\rife\models\rife
https://cdn.discordapp.com/attachments/290709370600423424/1061794561069940756/image.png


here is benchmark with TRT off, it's way slower
https://cdn.discordapp.com/attachments/290709370600423424/1061795235472093224/image.png





also make sure these files in the right place

2. replace generate.js, base.py in SVP 4\script; restart SVP to be sure

maybe you copy these files to SVP 4\MPV64

grobalt wrote:

Did you rename the profile to the name of the Ride default profile Name ? Generic 4.4 profile is odd as the 4.6 is used in vs-mlrt

like I said before, that model does nothing with TRT mode on.trt model Default is 4.6.

you can try to switch to model 4.4, edit base.py file
https://cdn.discordapp.com/attachments/290709370600423424/1061787859276808233/image.png

grobalt wrote:

80 to 115 is same result for me .. i would be happy to have a discord evening smile even curious with the rtx3070ti results shown above ... and 3 gpu threads as i cannot select odd numbers big_smile

you can edit to 3 threads here
https://cdn.discordapp.com/attachments/290709370600423424/1061784700680679434/image.png
encoder log
https://cdn.discordapp.com/attachments/290709370600423424/1061784958395502632/image.png




@dlr5668 he also has 3070ti, we may need him to test to compare the results.

Chainik wrote:

aloola
> I just want to report that I got 30fps on 4k transcoding

and you're capped by the encoder speed
try h264 instead

it did 10% better smile

https://cdn.discordapp.com/attachments/290709370600423424/1061722152560246834/image.png
https://cdn.discordapp.com/attachments/290709370600423424/1061724906573803663/image.png

https://cdn.discordapp.com/attachments/290709370600423424/1061716094928302231/image.png
I just want to report that I got 30fps on 4k transcoding, so it's not SVP problem I think?
rife_v4.6.onnx.3840x2176_fp16_workspace128_trt-8502_NVIDIA-GeForce-RTX-3070-Ti_3dcbe72f.engine
with GPU threads 3


damn .. too difficult to do something useful in this forum as it seems just one posting per hour is doable or something like this ...

1080P with 4x is possible .. currently creating the files for 4k ... 4k lagging.

transcoding results with TensorRT onnx 4.6 gputhreads=2(and 4-> same results)
1080p -> 117.8 fps
2160p -> 22,4 fps

maybe something is wrong with your setup?
my PC is 5900x + 32GB 3600RAM4 C16 + 3070ti, based on average benchmark 4090 is x2 stronger than 3070ti so it should get better result than mine.

DragonicPrime wrote:

Tested this out with an RTX 4090 and seem to be getting around 115fps on a 1080p video. So much better than the default implementation. Used to only get around 80fps with the default

that's kinda low, Based on the benchmark, 4090 run 1080p should be at ~200fps

https://github.com/AmusementClub/vs-mlr … e-RTX-4090
https://cdn.discordapp.com/attachments/290709370600423424/1061402473782329414/image.png

[vapoursynth] RuntimeError: "C:/Program Files (x86)/SVP 4/rife\models\rife\rife_v4.6.onnx" not found, built-in models can be found at https://github.com/AmusementClub/vs-mlrt/releases

you need put the *.onnx files here C:\Program Files (x86)\SVP 4\rife\models\rife

if there is a black board appear it means you're using TRT ver.

The other model (4.6) wont shop up in SVP for me, even after restarting svp and computer.

those model won't work with RIFE TRT, just ignore them.

https://media.discordapp.net/attachments/290709370600423424/1061384563072454847/image.png?width=512&height=545

RIFE TRT ~83FPS, easy to watch x3 24 1080p in realtime. Compare with vsrife ~60fps

nothing~~~~~

I tested the fix
- the slow motion bug was fixed
but the TRT on transcode speed is still slower than TRT off, and real time mpv with TRT on didn't work at all.
also
flownet_v4.6.pkl_NVIDIA GeForce RTX 3070 Ti_trt-8.5.2.2_1280x768_fp32_workspace-1073741824_scale-1.0_ensemble-False.pt
isn't it should be FP16?

edit: realtime with mpv is working for now. Still, the speed is slower than TRT off.

Andrey wrote:

Please help with this .dll - does it need to be placed somewhere manually?

Try this I think
https://cdn.discordapp.com/attachments/290709370600423424/1061311243287265380/image.png

UHD wrote:
UHD wrote:

Can you post the settings script you used with mpv?

Something like here: https://github.com/HolyWu/vs-rife/issue … -967073164 but of course together with all the parameters you set for the vs-rife filter

no frame multi but it's eating alot of GPU usage. the same with trt SVP.
https://cdn.discordapp.com/attachments/290709370600423424/1061070311371579592/image.png

the code for mpv.

import vapoursynth as vs
core = vs.core
from vsrife import RIFE

clip = video_in
clip = clip.resize.Bicubic(format=vs.RGBS, matrix_in_s="709")
clip = RIFE(clip,trt=True,factor_num=5,factor_den=1)
clip = clip.resize.Bicubic(format=vs.YUV420P8, matrix_s="709")
clip.set_output()

UHD wrote:
aloola wrote:

I tried vsrife trt before, but it doesn't work in real-time MPV, only when transcoding.

Have you tried directly using this filter https://github.com/HolyWu/vs-rife in real time with mpv even on video with lower resolution, for example 720p?

yeah I did.
BTW the transcoding with TRT on in SVP didn't work for me. The output video still has the same old FPS and it's in slow motion and the video duration x2. I don't know what went wrong here. The output video with TRT off is working fine.

also, I have the cache file in trt cache folder: flownet_v4.6.pkl_NVIDIA GeForce RTX 3070 Ti_trt-8.5.2.2_1280x768_fp32_workspace-1073741824_scale-1.0_ensemble-False.pt

https://cdn.discordapp.com/attachments/290709370600423424/1060998958966640790/image.png
I tried vsrife trt before, but it doesn't work in real-time MPV, only when transcoding. I tried again with SVP and it still doesn't work in real-time and it's slower than TRT off LOL.


maybe you should try this? https://github.com/AmusementClub/vs-mlrt/wiki/RIFE
it works fine with mpc and mpv for me, 1080px3 in realtime.

sofakng wrote:

What GPU is needed for 4k (8-bit)?

Do we need an RTX 4090 or is a “slow” 3080 Ti good enough?

my 3070ti can do x2 1440p at max.

2560*1440*24=88,473,600

3840*2160*24=199,065,600

so you might need a card that is stronger than 3070ti 2.5 times to x2 4k@24p

UHD wrote:
kellykline wrote:

So can we do RIFE with 4K now?

4K 8-bit: yes, especially with TensorRT. However, we are still waiting for someone to test how it is with 4K 10-bit HDR.

Over a month ago, I provided a short demo for testing. To increase the chance of someone testing HDR, I even provided a way to do it with a weaker graphics card:


LG 4K HDR Demo - New York.ts
File size: 448 MiB
Duration: 1 min 13 sec
Overall bit rate: 51.4 Mbps
HDR format: SMPTE ST 2086, HDR10 compatible
Width: 3 840 pixels
Height: 2 160 pixels
Frame rate: 25.000 FPS
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 10 bits
Direct link: https://drive.google.com/file/d/1dfR5TT … _bGfEXUvJ/
Source: http://hdr4k.blogspot.com/

The file of course needs to be re-encoded to 1080p 10-bit HDR for example as described in this thread:
https://www.reddit.com/r/ffmpeg/comment … intaining/

https://cdn.discordapp.com/attachments/290709370600423424/1054371537752440923/image.png
1440p x 2.


with TensortRT, I can archive x5 720p with 3070ti .
https://media.discordapp.net/attachments/290709370600423424/1054364653762920478/image.png

Insindro wrote:
Chainik wrote:

> Although, anywhere above 48 fps my GPU usage sky rockets from 46% to 90%

because x2.5 interpolation (i.e. 24->60 fps) need generating TWO times more intermediate frames than x2 (24->48)

> I added another model from github and when selected I get a flickering sensation on any video

then add another model big_smile and post a bug report on the Github regarding the flickering one

Ah yes I understand now. I was just basing off from what you said on the rife AI wiki: "1080p@60-72 atleast rtx 3080". I guess a better video card is needed to achieve those frames without dealing with the drop in frames. Also the Github I was testing with was the one you provided on the wiki, all of them flicker through svp, which is odd. I wonder if I'm the only one. Nonetheless, this is better than anything I've used previously.

you can also resize the video to 1600x900 then x3 fps. Work for me, I have a 3070ti.


also, I wish  "ignore HFR source" profile has an option to turn off the "alter video frame size".

try to switch Hardware Acceleration to "NVIDIA CUVID (old)". It runs 4k better than DXVA2 for me.
my spec: 3070ti + 5900X

I uninstalled everything and just reinstalled svp. then actived profile "RIFE AI engine" and it works flawlessly.

my hardware couldn't go past 24fps x3 or 30fps x3. SVP index would below 0.9. also "anime" AI model profile is very lagging for me. V3/4 work best.

https://media.discordapp.net/attachments/290709370600423424/969616770170228746/unknown.png

Chainik wrote:

they probably changed something...

try
> python -m pip install vsrife --no-deps

it works. I can install it now. but the ripe didn't work for me

https://media.discordapp.net/attachments/290709370600423424/969577797477601340/unknown.png

my spec. AMD RX 5900 + RTX 3070ti + Win 11 + nvidia driver 512.59

Chainik wrote:

=== RIFE / PyTorch installation ===

hello dev, thanks for the update.

I had a problem with this part. Do I need to install something else?
"python -m pip install vsrife"

https://cdn.discordapp.com/attachments/290709370600423424/969532234463842324/Untitled.png

cookieboyeli wrote:

Hi, recently if Avisynth Filter is checked my player instantly crashes on launch. I do not know what has changed.

I reinstalled MPC-BE and reinstalled SVP saving settings in picture format and manually reentering them.

I know I'm missing something but for the life of me after hours I can't seem to get it to work.

Basically: How should I setup my system to use AVSF if it's not working by default.

look kinda similar with my problem
https://github.com/CrendKing/avisynth_filter/issues/58

124

(2 replies, posted in Using SVP)

Vapoursynth+potplayer, it works, but the performance worst than 10000 times avisynth+potplayer.

if you want to try VapourSynth I recommend MPV.NET + VapourSynth.
https://www.reddit.com/r/mpv/comments/b … or_mpvnet/

btw nvm, updating new svp.