126

(1 replies, posted in Using SVP)

Mirrorman95 wrote:

There are some old Indeo 5 videos I'd like to see in 60 fps.

I would recommend converting them all to .mp4 using any online video converters you can still find, before Indeo 5 becomes fully abandoned.
Try this one
https://video-converter.com/
or this one
https://convertall.com/en/ivf-converter
Then you should be able to see them in 60 fps with MPC-HC.

surmast14 wrote:

want ultra smooth.

You can find some helpful settings here:
https://www.svp-team.com/forum/viewtopi … 352#p83352

128

(3 replies, posted in Using SVP)

reynbow wrote:

I'm using Plex as the video player. Does this apply here?

Anime4K has a guide on how to add shaders in Plex Media Player, try to see if works
https://github.com/bloc97/Anime4K/blob/ … ws_Plex.md

129

(3 replies, posted in Using SVP)

reynbow wrote:

"magic enhance" things

You can add stuff called "shaders" to mpv & mpc-hc to enhance/upscale remove blur/remove noise/debanding like:
https://www.svp-team.com/forum/viewtopi … 264#p84264
that enhance your viewing experience while you watch.

oriento wrote:

4.17 - 2024.05.24 | Google Drive | 百度网盘 : Add gram loss from FILM, need to fully assess the impact.

Gram loss is a type of loss function used in style transfer tasks to capture and preserve the texture and style of an image.
In the context of neural networks and machine learning, FILM stands for Frame Interpolation for Large Motion. It refers to a specific model or algorithm designed to perform frame interpolation, which is the process of generating intermediate frames between existing ones to create smooth transitions, typically in video sequences.
So i think it improves this type of scenarios where the character is hidden temporarily behind an object:
https://github.com/hzwer/Practical-RIFE/pull/23

Magly wrote:

It happens with full movie UHD Bluray mkv rips of several of the Fast & Furious and Transformers movies and some others.

Give a link where other guys can download such an example to compare if they see anything unusual.

132

(46 replies, posted in Эксплуатация SVP)

Santr wrote:

удвоением кадров для видео 1080р60

Doubling a 60 fps video requires more power than doubling a 24 fps video.
For my RTX 4080 it becomes watchable if i resize it to 540p using
resize -9600540
https://gyazo.com/52607f2009d1dae6c41a2939d7b62c04

Hatsune Miku wrote:

I've seen so many demos of rife ai making 8fps gifs look smooth. I figured it could do that to anime since the characters still move at like 8 to 14fps. Can the rife ai do this to anime https://www.reddit.com/r/nvidia/comment … ation_gpu/

Yep, that's a rife presentation video. Latest rife neural engine models have less interpolation issues. But never zero. It's still one of our best options for conversion on-the-fly while you watch the video.
You can try to follow this small guide to download latest models, and then resize the video down until you can test 120 or 240 fps smoothness.
https://www.svp-team.com/forum/viewtopi … 352#p83352
(if you tell the AI model to generate more frames, then it will improve the accuracy of the interpolation and your eyes won't notice any interpolation issues unless you spam pause every 0.5 seconds lol)
Have a look what it generated and compare:
https://drive.google.com/drive/folders/ … CKnKGieUtb

Hatsune Miku wrote:

I want my anine to look like this demo

Are you talking about the Duplicate frames removal -> Remove every other frame button?
https://gyazo.com/1b3268d58ebe2e0a1ba9c5ce13499192
Your PC must be a real potato to be forced to slash half of all the frames in order to watch half an anime.

dawkinscm wrote:

Thanks. I've tried various combinations

I think it's easier to test if u go to line 222 from generate.js and delete the following:
    if(profile.rife)
    {
    if(profile.rife_sc==6) rife_sc_algo = 1;
    else if(profile.rife_sc==8) rife_sc_algo = 2;
    else rife_sc_algo = 0;
    }
    else rife_sc_algo = -1;
then replace with following line for "scene change based on SVP's motion vectors"
    rife_sc_algo = 1;
or replace with following line for "scene change based on Nvidia Optical Flow's motion vectors"
    rife_sc_algo = 2;
or replace with following line for "scene change based on dumb frame comparison"
    rife_sc_algo = 0;

Chainik wrote:

how is this easier than choosing "6%" in the gui? hmm

(manually editing the file this way allows u to use your own rife_sc value therefore removing that slight difference between rife_sc 6 and 8, thus making it easier for u to see the changes xD )

136

(12 replies, posted in Using SVP)

aliyansaleem2013 wrote:

Still there are borders, top and bottom, weren't there before(in the same video), don't know what caused this.

Video Frame -> Stretch To Window fixes it?
https://gyazo.com/24107703db5dec46e0f9f49d95274878

137

(12 replies, posted in Using SVP)

aliyansaleem2013 wrote:

Also what does resize do exactly, downscale my video?
4)Ive set it to fixed 60 fps in SVP.

Yes, if that didn't fix it, it means you forgot to add the minus in front of the value.
Go to Application Settings, search resize and add:
-19201080
or
-12800720
or
-9600540

In some scenarios using fixed fps will make it go slower, so make sure you uncheck "Force the exact value"
For example setting a 240 fixed fps on a 23.976 video will make it generate 239.76 + 23.976 frames frames instead of rounding itself down to only 239.76 frames

Maybe try to select madVR in MPC-HC options and see if issue persists?
https://gyazo.com/509b01a01eb6dd413667b4dd3f6d819a

Don't think it's caused by a badly encoded HEVC[x265] file. Try to download other versions of the same video encoded in [x264] and compare.

138

(12 replies, posted in Using SVP)

aliyansaleem2013 wrote:

the audio is completely out of sync. Audio comes first and the scene happens after.

This is usually caused by watching videos higher than 1920x1080.
Since SVP needs to pass all the video frames to Rife to interpolate them, if the frames are big it will take more processing time.
This makes it to run in 10 fps or less since it can't output them fast enough to catch up to the audio.
The solution is to just add a resize setting in SVP configuration menu to lower the frame to a size that your 3060 can process.
Go to Application Settings, search resize and add:
-19201080
or
-12800720
https://gyazo.com/cac3a2a8f4b8c384fcce1bbcf3e8dd1d

139

(4 replies, posted in Using SVP)

crespoh69 wrote:

Thanks, how does that matter, if at all, to the use of SVP?

For users that just started using SVP, it will tell them that the interpolation is working so they will focus their attention at the video smoothness.
For users that have HDR screens, it will help the user identify that he needs to enable his HDR to see better color accuracy and stuff because that specific video supports it.
You can disable it by going here and unchecking "Show OSD messages":
https://gyazo.com/3929e2194ac665b1fc67e8a258360b92

140

(4 replies, posted in Using SVP)

crespoh69 wrote:

What is the difference between the two?

It just tells u what type of video u opened.
Normal Video:
https://gyazo.com/a9f518886675477747500168c74fc1f0
HDR Video:
https://gyazo.com/035615983db548df3678716bbb6de486
Dolby Vision Video:
https://gyazo.com/6d2b619a7ddf2479d5c1cb66fea48b7a

unreality wrote:

in the middle of the film. can this be stopped?

https://gyazo.com/3b2771c7a2dee8994b431a283f215f12
Go to Frame Size and change "Black bars detection" to "One Time Only" or disable it.

dawkinscm wrote:

But after downscaling is it still necessary to use v2?

Nope, we can use v1 just fine and never see the visual bug.

Chainik wrote:

dawkinscm
> If you have to use Rife v2 and have picture shaking issues then updating vslmrt makes sense.

only for TRT>=9
with TRT8 updating vsmlrt.py most likely does nothing
only difference between SVP's vsmlrt.py and current master is one line:

# TensorRT 9.0 or later
"ONNXTRT_Broadcast_*:fp32"

After further investigation it seems the v2 issue is caused by old .dll files.

Out of the box svp with rife model 4.9 v2 with tree wiggle present:
https://gyazo.com/67445b08ae0aa2a214e8cb054e051b1b
Out of the box svp with rife model 4.9 v2 with tree wiggle fixed:
https://gyazo.com/61d5906c4bbbe4887171fd5724c6d4ed

If u override vsmlrt-cuda and vstrt.dll from rife folder with:
https://github.com/AmusementClub/vs-mlr … 4.test2.7z
Issue gets fixed.
If u downgrade back to:
https://github.com/AmusementClub/vs-mlr … 14.test.7z
wiggle issue will reappear.

You can check the example here:
https://drive.google.com/drive/folders/ … sSi1Kl8tSn

Please compare the differences and address this Rife v2 issue when u have time.
Thanks a lot @Chainik!

Chainik wrote:

dawkinscm
> If you have to use Rife v2 and have picture shaking issues then updating vslmrt makes sense.

only for TRT>=9
with TRT8 updating vsmlrt.py most likely does nothing
only difference between SVP's vsmlrt.py and current master is one line:

# TensorRT 9.0 or later
"ONNXTRT_Broadcast_*:fp32"

You are actually right! We were looking at commit messages only and we got confused. Sorry for that!
I need to check better what exactly fixed it.

Guide for updating RIFE to latest TensorRT from 3 days ago: https://github.com/AmusementClub/vs-mlrt/releases

Step 1: Download https://github.com/AmusementClub/vs-mlr … uda.v14.7z
Step 2: Go to C:\Program Files (x86)\SVP 4\rife\ and move the following to a backup folder: vsmlrt-cuda,vstrt.dll,vsmlrt.py
Step 3: Open vsmlrt-windows-x64-cuda.v14.7z and copy vsmlrt-cuda,vstrt.dll,vsmlrt.py in their place

Step 4: Edit vsmlrt.py replace line 1821
old:
tempfile.gettempdir(),
new:
os.path.expandvars("%APPDATA%\\SVP4\\cache\\"), #!SVP

Step 5: Edit helpers.py replace line 52
old:
return RIFE(clip,multi,1.0,None,None,None,model_num,backend,ensemble,implementation)
new:
return RIFE(clip,multi,1.0,None,None,None,model_num,backend,ensemble,True,implementation)

Step 6: Enjoy 10-15% performance drop caused by upgrading to latest code!

Noteable issues:
Your PC might not have the power to 2x a 4K video, and mpv might display desync errors that cancel SVP interpolation https://gyazo.com/a4714c85227b5b596a5f71084b5c2fae
so u should test it with a frc.frame.resize -19201080 or lower

pensioner600 wrote:

How can I change the TRT version?

pensioner600 if you would like to update vsmlrt to fix the v2 picture shake, follow the instructions from here:
https://www.svp-team.com/forum/viewtopi … 735#p83735

dawkinscm wrote:

There was a bug with Rife v2 which has been fixed since vslmrt script 3.18.4 released November last year. I think this bug caused picture shake issue.

Details about how they fixed it back then on 3.18.4:
https://github.com/AmusementClub/vs-mlr … 746eaad885

dawkinscm wrote:
pensioner600 wrote:

I also noticed that ALL versions of V2 give the entire picture a shake,

There was a bug with Rife v2 which has been fixed since vslmrt script 3.18.4 released November last year. I think this bug caused picture shake issue.

Should SVP devs upgrade the out of the box vsmirt script so they will fix it for all users?
(knowing that non-lazy users might play around with v2 versions for that extra performance and run into that bug)


Chainik wrote:

one more time, what is the exact point of "v2"? hmm

it's not-faster or even slower, and it takes more RAM. so, why?
just because "v2" is cooler than "v1"? big_smile also tensort rt v10 is cooler than v8...

Never noticed, nevermind then. xD
If the upgrade to it would be safe and not create other issues, it would be nice for current SVP to be forward compatible with the future v2 models that they create.


dawkinscm wrote:

While it's no longer significantly faster, the release notes say it reduces "PCie traffic flow". From personal experience this helps a lot for real time processing and provides more GPU headroom.

I'm experiencing the same thing on my 4080. Our GPU is more bottlenecked by PCIe traffic flow than RAM at this point.
End goal should always be a stable product that users would brag about how good it is. "Random picture shake" effect when watching movies should not be one of it's downsides.

RickyAstle98 wrote:

Just this issue happens no matter what TRT installed, I have exactly same issue, and my friend with almost same PC build too, but reencoding some HEVC sources back AVC again, I said earlier its user related issue a bit, its only realtime playback bug, which mostly use, but not prerendered, I dont want render any movie or TV episodes, you maybe not facing this issue!
This is how issue look like (video is predelayed for showcase purposes) >
https://drive.google.com/file/d/1tGmkW6 … ojEPp/view

pensioner600 wrote:

I noticed that setting the scene change threshold (rife_sc) to 100% is a very bad idea. And for some reason I noticed this specifically in The Last of Us)) At the change of scenes from dynamic to dynamic, it happens, I don’t even know what to call it, back and forth for a moment. This happens at any high values

Ricky did u try to fix it with lower rife_sc values as pensioner600 mentioned?

gtl.spam wrote:

RIGHT  seek  5 exact
LEFT   seek -5 exact

No clue why these commands don't do anything.
If i add following in mpv.conf it starts seeking in increments of 5 seconds just like you mentioned:
hr-seek=yes

aloola wrote:

also for mpv I found this is a good shader for anime/real-life videos https://github.com/cunnyplapper/CuNNy/t … r/mpv/fp16

Aloola I tried the CuNNy-8x32-DS.glsl from your suggested link but i still see lots of blur compared to this one:
https://www.svp-team.com/forum/viewtopi … 264#p84264
Do you know a CuNNy shaders combo that might improve visual clarity too? (i hate seeing blurred pixels in games and videos)
Thanks!