126

(11 replies, posted in Using SVP)

Hi Devs,

This year it seems nVidia pushed 5.x.x versions of optical flow and looking at the release notes I think there might be some new values to play around with? But they aren't available in SVP yet.

Right now, the only values we can change are:

nvof
nvof_grid
nvof_quality

I already check and motion vector grid seems to work with 3 now as well, instead of 4 before being the limit.

Not sure if more options have been added to experiment with and add? And if there are other value updates too.

I am more than happy to beta test with content if there's extra stuff.

127

(9 replies, posted in Using SVP)

I have recently upgraded to an LG C2 42" and using it as a PC Monitor. Had to figure out how to get Dolby Vision to work with MPV, as well as improving tone-mapping, etc.

Old Information here removed - Check my comments below for updated configs:

RTX 3090 when I change the engine to NVIDIA TensorRT and open a video, it opens a command prompt and it keeps loading... Do I just have to wait? Or? I thought it would be faster than Vulkan which plays instantly but can only do 1080p for me, and was hoping to try nVidia TensorRT.

What am I doing wrong? So is it just that I have to wait and let it do its thing? How long do I wait for it?

I'm upgrading from an RTX 2070 Super to an RTX 3090 (arriving in a week). Can I use RIFE for 4K content on a 60Hz 4K TV with an RTX 3090? Looking forward to finally trying out RIFE and hopefully even more optimisations in the future too. Kudos to the devs and everyone involved, I've supported SVP since the early days and to now it is one of my most used programs <3

2022 December - Fullscreen Exclusive mode is no longer working in Windows 11 (Beta)

fullscreen=yes
ontop

If anyone knows of a workaround, please advise.

Easiest way to test, is if you have a keyboard with a volume knob. Increase and decrease the Windows Volume, and the volume bar overlay from windows can be seen on top of the player.

When the player runs in true Fullscreen Exclusive mode, the volume bar is hidden and cannot be seen (as only the player is being rendered).

That extra level of smoothness that comes with exclusive full-screen is gone. Not sure when this change happened with Windows. But as of right now I cannot find a solution.

Disabling Fullscreen Optimizations for MPV and via registry did not help either.

I switched away from madVR and MPC years ago now. Would love an update to cropping speed detection too, but I always just disable cropping with movies/shows that keep alternating between different aspect ratios. And only enable it for static ones.

In case you're interested in my MPV configuration, which I am aware many use; here is an updated version since I haven't posted in a while (scroll to see all):

The shaders need to be downloaded separately.


ontop
fullscreen=yes
priority=high

vo=gpu
profile=gpu-hq
fbo-format=rgba16hf
gpu-api=vulkan
gpu-context=winvk

hwdec=nvdec-copy

linear-downscaling=no

spirv-compiler=auto
video-sync=display-resample
vulkan-swap-mode=fifo

tone-mapping=hable
tone-mapping-max-boost=1.0
hdr-compute-peak=yes

scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=ewa_lanczossharp
sigmoid-upscaling=yes
sigmoid-upscaling

dither-depth=auto
dither=fruit
dither-size-fruit=6

osd-level=1
osd-bar-align-x=0
osd-bar-align-y=-1
osd-bar-w=25

volume=100
volume-max=100

sub-ass-shaper=complex
sub-scale-by-window=yes
sub-pos=100
sub-align-x=center
sub-align-y=bottom
sub-margin-y=3
sub-font-size=42
sub-filter-sdh=yes

glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\KrigBilateral.glsl"
glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\FSRCNNX_x2_8-0-4-1.glsl"
glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\SSimDownscaler.glsl"

132

(4 replies, posted in Using SVP)

MPV or MPC?

What refresh rate is your monitor and what FPS are you running? You should try to match them for fluidity.

133

(4 replies, posted in Using SVP)

Could be one of few reasons:

1. SVP not actually being applied.
2. Frame drops (SVP Index not stable --> Weak hardware or settings cranked too high).
3. You have strongest artifact masking, or other weird settings maybe interfering?

Other reasons maybe. We need more details to determine the issue.

134

(1 replies, posted in Using SVP)

Depends what you want, some people want maximum smoothness. Others like me want smoothness but also focus heavily on decreasing artifacts as much as possible because artifacts cause a lot of distractions, so it won't be like smoothing focused settings.

Tried watching with RIFE did not work, video plays, SVP does not activate. Tried to transcode and getting this highlighted in the logs:

Code pasting upside/down.

Order in logs is from bottom to top.

11:16:48.871 [E]: Transcoder: VS - Script evaluation failed:
11:16:48.871 [E]: Transcoder: VS - Python exception: SmoothFps_RIFE: Function does not take argument(s) named multi
11:16:48.871 [E]: Transcoder: VS - Traceback (most recent call last):
11:16:48.871 [E]: Transcoder: VS - File 'src\cython\vapoursynth.pyx', line 2832, in vapoursynth._vpy_evaluate
11:16:48.871 [E]: Transcoder: VS - File 'src\cython\vapoursynth.pyx', line 2833, in vapoursynth._vpy_evaluate
11:16:48.871 [E]: Transcoder: VS - File 'C:\Users\name\AppData\Roaming\SVP4\scripts\ffff.py', line 75, in <module>
11:16:48.871 [E]: Transcoder: VS - smooth = interpolate(clip)
11:16:48.871 [E]: Transcoder: VS - File 'C:\Users\name\AppData\Roaming\SVP4\scripts\ffff.py', line 58, in interpolate
11:16:48.871 [E]: Transcoder: VS - smooth = core.svp2.SmoothFps_RIFE(smooth,smoothfps_params,src=input_um,multi=rife_num/rife_den,fps=src_fps)
11:16:48.871 [E]: Transcoder: VS - File 'src\cython\vapoursynth.pyx', line 2551, in vapoursynth.Function.__call__
11:16:48.871 [E]: Transcoder: VS - vapoursynth.Error: SmoothFps_RIFE: Function does not take argument(s) named multi
11:16:48.891 [E]: Transcoder: mpv failed with code 62097

136

(3 replies, posted in Using SVP)

MAG79 wrote:

for current SVP version the answer is NO.

https://i.imgur.com/2C2TgKy.png

137

(3 replies, posted in Using SVP)

From my understanding on discussions of this in the past.

NVOF is driver & hardware controlled.

NVOF 3.0 is exclusive to nVidia 3000 series GPU's.

nVidia 2000 series GPU's are limited to 2.x

This is from nVidia's side. Not SVP.

If 4000 series come out tomorrow with NVOF 4.0, they would work with SVP with NVOF 4.0

And I wouldn't be surprised if nVidia makes the next NVOF exclusive to the next line of GPUs

Chainik wrote:

it works correctly on Win10 and I have no idea how the app could control this
so blame MS big_smile

Haha, yeah I've reported it to MS. Hope they fix it. Wasn't an issue with W11 Stable, only a current issue with beta/dev build on Insider.

On the latest Build 22593.1 which has been out for a couple of weeks now and will stick on beta and will likely come out H2 2022 as a stable build. The issue linked below happens.

Image #1 --> This is with SVP Pro Tray Icon hidden, both show correctly.

Image #2 --> How it looks like after removing it from hide (first time), which is how it SHOULD look like every time I launch the app.

Image #3 --> How it actually looks like every time after that I exit and launch the app. The SVP icon does not show, only the SVPTube icon shows up.

https://imgur.com/a/sf3IeVU

Only ways to fix it, is it to disable and enable it.

Or always leave it in the hidden ARROW menu (in image 1, will always show correctly). Which is what I have been doing.

I reported the issue in the feedback to Microsoft for the insider builds.

But maybe it can also be solved on your end?

EDIT: Also PS: update MPV to v0.34.1 has been out since January tongue

Chainik wrote:

=== RIFE / PyTorch installation ===

0. Update SVP to the latest version

1. Dependencies installation:
--------------
download https://bootstrap.pypa.io/get-pip.py into SVP 4\mpv64

run cmd as Administrator
cd SVP 4\mpv64

run

python get-pip.py

run

python -m pip install torch --extra-index-url https://download.pytorch.org/whl/cu113
python -m pip install vsrife

will download 3+ GB and unpack it into 6+ GB of data big_smile

2. SVP modification
---------------
replace SVP 4\script\base.py and SVP 4\script\generate.js, restart SVP

add custom profile option: go to Application settings -> User defined options, fill in:
- Title: RIFE via CUDA
- Script name: rife_cuda
- Options scope: FRC profile
- Allowed values: ON or OFF
Press "Add option"

in the "RIFE AI engine" video profile set "RIFE via CUDA" to ON
when it's ON then "AI model" and "GPU threads" change nothing

Nice! Is it possible to now run RIFE at real time on a RTX 2070 Super & 5800X CPU?

I remember it was impossible in the past, but maybe with these versions it is?

PS: If I do, most content I watch is Bluray Remux 4K HDR & SDR content. So it will be very demanding, but has v4 of RIFE improved so much that it can now work real time with a 2070 Super?

I will post a link, as author should be thanked.

They have ported all 3 methods to be used as shaders for MPV:

FidelityFX CAS

FidelityFX FSR

NVIDIA Image Scaling

https://www.reddit.com/r/mpv/comments/s … e_scaling/

I had FPS fixed @ 60FPS, I changed it TO SCREEN and that fixed the issue.

Testing settings above with a few 4K movies. Video looks very laggy, 0 dropped frames 0 delayed. But v-sync ratio is ~25 in the stats.

5800X + RTX 2070 Super

Wanted to try RIFE for transcoding, I usually transcode with my own profile. But with RIFE profile, every time the transcode reaches 100% it gets stuck there and never finishes, any tips?

Chainik wrote:

btw I'm answering the original mike7877's question wink

https://media.giphy.com/media/K1QnLV1caRpuw/giphy.gif

Chainik wrote:

edit %APPDATA%\SVP4\override.js
insert line:

smooth.nvof.cost = 0.7;

restart SVP
see if something changed; try different values below 1.0 - 0.8; 0.9.

No errors in the log, tried the change you recommended but same thing. Massive frame drops, even though GPU and CPU usage is low, and SVP index is ~1.0

I use 2070 Super, not even RTX 3000 series.

Check picture below (1 is dropped frames, 2 is GPU usage, 3 is svp index):

https://imgur.com/jGOzCv4

Only happens with 4 px by the way.

Chainik wrote:

however when playing 2160p the SVP index is low (0.8) and there're a lot of dropped frames in madVR

Yes, I can confirm my testing is all in 4K (2160p) these days. I do not consume any 1080p or 720p content anymore.

RTX 2070 Super for me, with a 5800X CPU.

The original poster is using an RTX 3080 too.

nvof_grid 4 px doesn't work properly even on my 5800X.

8 px is the lowest you can go with it working properly from what I've found. And it's definitely not a CPU limitation in my case.

149

(1 replies, posted in Using SVP)

Thank you for the quick update @Chainik.

Love the new style with W11. The maintenance tool still has scaling issues. Running on a 4K TV, with windows scaling set at 200%. The above is still happening with the maintenance tool.

However, right click on svp4-maintenance.exe, properties, compatibility:

"Change high DPI settings" --> "High DPI scaling override" --> System (Enhanced).

This fixes the main scaling issue, but creates another scaling issue where the text is not clear.

150

(1 replies, posted in Using SVP)

I have a 43" 4K Display, so windows scaling is at 200%. But I noticed a scaling issue that should be easy to fix hopefully, was not there with Windows 10 (I had same display and scaling settings).

The check for updates menu (picture 1 below) and installation menu (picture 2 below) have scaling issues with Windows 11. The Main SVP Settings Menu, works good (picture 3 below).

https://imgur.com/a/8hd8TTX

Also new version of MPV is out if you guys want to add it to SVP, lots of fixes and updates in it.