Topic: Settings for maximum smoothness - video is less smooth with SVP4

Hi,
what are your options for maximum smoothness (especially for anime)? I don't care about a few artifacts, I just want the smoothest video possible.
I compare SVP4 to SVP3 and DmitriRender and unfortunately SVP4 produces worst results. I also compared a few settings for SVP4 that I found here on the forum and on some blogs in the Internet, but there's no optimal result.

Settings "imported" from my old SVP3 configuration: https://imgur.com/a/N7rciyt
Setting in SVP3: https://imgur.com/a/109Acs0

And the results:
SVP4:
https://drive.google.com/file/d/1F0z3xs … sp=sharing

SVP3:
https://drive.google.com/file/d/1dOMcBB … sp=sharing

DmitriRender:
https://drive.google.com/file/d/1Me9RLL … sp=sharing

Do you have any ideas how to force SVP4 to produce smoother result? I can provide more samples if there's need.

Re: Settings for maximum smoothness - video is less smooth with SVP4

Michiro wrote:

Hi,
what are your options for maximum smoothness (especially for anime)? I don't care about a few artifacts, I just want the smoothest video possible.
I compare SVP4 to SVP3 and DmitriRender and unfortunately SVP4 produces worst results. I also compared a few settings for SVP4 that I found here on the forum and on some blogs in the Internet, but there's no optimal result.

Settings "imported" from my old SVP3 configuration: https://imgur.com/a/N7rciyt
Setting in SVP3: https://imgur.com/a/109Acs0

And the results:
SVP4:
https://drive.google.com/file/d/1F0z3xs … sp=sharing

SVP3:
https://drive.google.com/file/d/1dOMcBB … sp=sharing

DmitriRender:
https://drive.google.com/file/d/1Me9RLL … sp=sharing

Do you have any ideas how to force SVP4 to produce smoother result? I can provide more samples if there's need.

Is arcane good enough ? Check this sample https://www.playbook.com/s/vadash/mWFpV … H6vnqhwDdj over your settings. Best to watch at 50 hz with display resampling (48->50)

Re: Settings for maximum smoothness - video is less smooth with SVP4

Try the following. You should be satisfied.
It will be as smooth as DaVinci Resolve. If you use the following, you don't need to use DaVinci Resolve anymore.

Open %APPDATA%\SVP4 with the Windows key and 'R' key on the keyboard, open override.js with the text editor, copy and paste the following text between /***** INSERT BELOW THIS LINE *****/ and /***** INSERT ABOVE THIS LINE *****/ in override.js, and save it by overwriting.

levels.pel = 2;
levels.scale.up    = 2;
levels.scale.down    = 4;
levels.full     = true;
analyse.block.w    = 32;
analyse.block.h    = 32;
analyse.block.overlap    = 2;
analyse.main.levels    = 4;
analyse.main.search.type   = 4;
analyse.main.search.distance = -24;
analyse.main.search.coarse.type  = 4;
analyse.main.search.coarse.distance  = -5;
analyse.main.search.coarse.bad.range  = 0;
analyse.main.penalty.lambda   = 1.0;
analyse.main.penalty.plevel   = 4.0;
analyse.main.penalty.lsad   = 800;
analyse.main.penalty.pnew   = 5;
analyse.main.penalty.pglobal   = 5;
analyse.main.penalty.pzero   = 10;
analyse.main.penalty.pnbour   = 5;
analyse.main.penalty.prev   = 0;
analyse.refine[0] = {thsad:2000, search:{distance:2, type:4}};
smooth.rate.num = 5;
smooth.rate.den = 2;
smooth.algo = 21;
smooth.scene.mode = 0;
smooth.mask.cover = 10;
smooth.scene.limits.m1 = 3600;
smooth.scene.limits.m2 = 7200;
smooth.scene.limits.scene = 10400;
smooth.scene.limits.zero = 10;
smooth.scene.limits.blocks = 90;


This is a modified version of the Black Mickey setting.
https://blackmickeysvp.blogspot.com/201 … 70823.html

Re: Settings for maximum smoothness - video is less smooth with SVP4

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

Re: Settings for maximum smoothness - video is less smooth with SVP4

This script is for only video files that are 24fps sources such as movies and animations and are saved at 24fps.
In other cases, for example, if the 24fps source is saved at 30fps, it will be laggy.

Re: Settings for maximum smoothness - video is less smooth with SVP4

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

7 (edited by KnightRiderKARR 14-02-2022 18:00:04)

Re: Settings for maximum smoothness - video is less smooth with SVP4

melmel5180 wrote:

Try the following. You should be satisfied.
It will be as smooth as DaVinci Resolve. If you use the following, you don't need to use DaVinci Resolve anymore.

Open %APPDATA%\SVP4 with the Windows key and 'R' key on the keyboard, open override.js with the text editor, copy and paste the following text between /***** INSERT BELOW THIS LINE *****/ and /***** INSERT ABOVE THIS LINE *****/ in override.js, and save it by overwriting.

levels.pel = 2;
levels.scale.up    = 2;
levels.scale.down    = 4;
levels.full     = true;
analyse.block.w    = 32;
analyse.block.h    = 32;
analyse.block.overlap    = 2;
analyse.main.levels    = 4;
analyse.main.search.type   = 4;
analyse.main.search.distance = -24;
analyse.main.search.coarse.type  = 4;
analyse.main.search.coarse.distance  = -5;
analyse.main.search.coarse.bad.range  = 0;
analyse.main.penalty.lambda   = 1.0;
analyse.main.penalty.plevel   = 4.0;
analyse.main.penalty.lsad   = 800;
analyse.main.penalty.pnew   = 5;
analyse.main.penalty.pglobal   = 5;
analyse.main.penalty.pzero   = 10;
analyse.main.penalty.pnbour   = 5;
analyse.main.penalty.prev   = 0;
analyse.refine[0] = {thsad:2000, search:{distance:2, type:4}};
smooth.rate.num = 5;
smooth.rate.den = 2;
smooth.algo = 21;
smooth.scene.mode = 0;
smooth.mask.cover = 10;
smooth.scene.limits.m1 = 3600;
smooth.scene.limits.m2 = 7200;
smooth.scene.limits.scene = 10400;
smooth.scene.limits.zero = 10;
smooth.scene.limits.blocks = 90;


This is a modified version of the Black Mickey setting.
https://blackmickeysvp.blogspot.com/201 … 70823.html



Thanks a lot !!!! You really helped me and now i have more smoothness (for less artifacts change this -> analyse.block.overlap    = 1;)

Re: Settings for maximum smoothness - video is less smooth with SVP4

melmel5180 wrote:

Try the following. You should be satisfied.
It will be as smooth as DaVinci Resolve. If you use the following, you don't need to use DaVinci Resolve anymore.

Open %APPDATA%\SVP4 with the Windows key and 'R' key on the keyboard, open override.js with the text editor, copy and paste the following text between /***** INSERT BELOW THIS LINE *****/ and /***** INSERT ABOVE THIS LINE *****/ in override.js, and save it by overwriting.

levels.pel = 2;
levels.scale.up    = 2;
levels.scale.down    = 4;
levels.full     = true;
analyse.block.w    = 32;
analyse.block.h    = 32;
analyse.block.overlap    = 2;
analyse.main.levels    = 4;
analyse.main.search.type   = 4;
analyse.main.search.distance = -24;
analyse.main.search.coarse.type  = 4;
analyse.main.search.coarse.distance  = -5;
analyse.main.search.coarse.bad.range  = 0;
analyse.main.penalty.lambda   = 1.0;
analyse.main.penalty.plevel   = 4.0;
analyse.main.penalty.lsad   = 800;
analyse.main.penalty.pnew   = 5;
analyse.main.penalty.pglobal   = 5;
analyse.main.penalty.pzero   = 10;
analyse.main.penalty.pnbour   = 5;
analyse.main.penalty.prev   = 0;
analyse.refine[0] = {thsad:2000, search:{distance:2, type:4}};
smooth.rate.num = 5;
smooth.rate.den = 2;
smooth.algo = 21;
smooth.scene.mode = 0;
smooth.mask.cover = 10;
smooth.scene.limits.m1 = 3600;
smooth.scene.limits.m2 = 7200;
smooth.scene.limits.scene = 10400;
smooth.scene.limits.zero = 10;
smooth.scene.limits.blocks = 90;


This is a modified version of the Black Mickey setting.
https://blackmickeysvp.blogspot.com/201 … 70823.html

Thanks! These are the best settings I've ever had in SVP4, really helpful!
There are times where the smoothness isn't as great as with Dmitri, but it's the best setup I've had!

Re: Settings for maximum smoothness - video is less smooth with SVP4

melmel5180 wrote:

Try the following. You should be satisfied.
levels.pel = 2;
levels.scale.up    = 2;
levels.scale.down    = 4;
levels.full     = true;
analyse.block.w    = 32;
analyse.block.h    = 32;
analyse.block.overlap    = 2;
analyse.main.levels    = 4;
analyse.main.search.type   = 4;
analyse.main.search.distance = -24;
analyse.main.search.coarse.type  = 4;
analyse.main.search.coarse.distance  = -5;
analyse.main.search.coarse.bad.range  = 0;
analyse.main.penalty.lambda   = 1.0;
analyse.main.penalty.plevel   = 4.0;
analyse.main.penalty.lsad   = 800;
analyse.main.penalty.pnew   = 5;
analyse.main.penalty.pglobal   = 5;
analyse.main.penalty.pzero   = 10;
analyse.main.penalty.pnbour   = 5;
analyse.main.penalty.prev   = 0;
analyse.refine[0] = {thsad:2000, search:{distance:2, type:4}};
smooth.rate.num = 5;
smooth.rate.den = 2;
smooth.algo = 21;
smooth.scene.mode = 0;
smooth.mask.cover = 10;
smooth.scene.limits.m1 = 3600;
smooth.scene.limits.m2 = 7200;
smooth.scene.limits.scene = 10400;
smooth.scene.limits.zero = 10;
smooth.scene.limits.blocks = 90;

aah my eyes, these settings give a lot of artifacts, especially scene-changing artifacts.
Try this profile. It is important to enable "Decrease grid step"

https://i.ibb.co/44XRrCp/settings.png

Post's attachments

override.js 13.07 kb, 304 downloads since 2022-02-15 

10 (edited by KnightRiderKARR 01-03-2022 22:22:12)

Re: Settings for maximum smoothness - video is less smooth with SVP4

***UPDATE 1/3/2022***

"""Don't Forget to go on SVP Settings and do this""" ---> ""Frames Interpolation Mode = Uniform"" + ""SVP Shader = Complicated"" + ""Artifacts masking = Weakest""

Αfter several experiments I came up with these settings (source must be 24fps)
Try and tell me if its good or not smile

levels.pel = 1;
levels.scale.up    = 1;
levels.scale.down    = 1;
levels.full     = true;
analyse.block.w    = 32;
analyse.block.h    = 32;
analyse.block.overlap    = 2;
analyse.main.levels    = 4;
analyse.main.search.type   = 8;
analyse.main.search.distance = -8;
analyse.main.search.coarse.type  = 4;
analyse.main.search.coarse.distance  = -16;
analyse.main.search.coarse.bad.range  = 0;
analyse.main.penalty.lambda   = 1.0;
analyse.main.penalty.plevel   = 4.0;
analyse.main.penalty.lsad   = 800;
analyse.main.penalty.pnew   = 5;
analyse.main.penalty.pglobal   = 5;
analyse.main.penalty.pzero   = 10;
analyse.main.penalty.pnbour   = 5;
analyse.main.penalty.prev   = 0;
analyse.refine[0] = {thsad:2000, search:{distance:2, type:4}};
smooth.rate.num = 5;
smooth.rate.den = 2;
smooth.algo = 23;
smooth.scene.mode = 0;
smooth.mask.cover = 20;
smooth.scene.limits.m1 = 3600;
smooth.scene.limits.m2 = 7200;
smooth.scene.limits.scene = 10400;
smooth.scene.limits.zero = 10;
smooth.scene.limits.blocks = 60;


- If you want 144fps ----> smooth.rate.num = 12

This trick/bug enables the Frame Conversion that you chosed on SVP Control Panel ---> //smooth.rate.num = 2  and  //smooth.rate.den = 1;    **Not 100% if it works but it works on me **

Re: Settings for maximum smoothness - video is less smooth with SVP4

I notice I can no longer find Transcoding in the menu anymore where you used to be able to encode videos to 60fps.  Did they remove it?

Re: Settings for maximum smoothness - video is less smooth with SVP4

mng519
Check if SVP extension 'svpcode' is enabled:
SVP menu Application settings > Additional options > Extensions > svpcode

13 (edited by mng519 26-02-2022 06:34:54)

Re: Settings for maximum smoothness - video is less smooth with SVP4

Thanks for your reply MAG79. I had to reinstall the svpcode extension in add/remove components.

Re: Settings for maximum smoothness - video is less smooth with SVP4

What do yo think this video?

RIFE VS SVP

https://www.youtube.com/watch?v=LeywO4PlTwM

Re: Settings for maximum smoothness - video is less smooth with SVP4

You would never know what that video is about just coming across it. No difference between the two videos. Just looks like the same video being played side by side. Not informative at all.

16 (edited by KnightRiderKARR 01-03-2022 15:18:40)

Re: Settings for maximum smoothness - video is less smooth with SVP4

resder wrote:

What do yo think this video?

RIFE VS SVP

https://www.youtube.com/watch?v=LeywO4PlTwM

Very small difference (almost same)
Try with Black Mickey script with my settings,,i saw it and for me the result is much better than RIFE and SVP (big thanks to @melmel5180 who found the solution for more smoothness)

17 (edited by mng519 28-03-2022 03:33:42)

Re: Settings for maximum smoothness - video is less smooth with SVP4

Transcoding fails and I get this error. Any help would be appreciated. Thanks.

22:27:06.249: ===== Starting mpv ======
22:27:06.249: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe E:/QDownloads/Elf (2003) + Extras (1080p BluRay x265 HEVC 10bit AAC 5.1 FreetheFish)/Elf (2003) (1080p BluRay x265 FreetheFish).mkv --o=E:/QDownloads/Elf (2003) + Extras (1080p BluRay x265 HEVC 10bit AAC 5.1 FreetheFish)/Elf (2003) (1080p BluRay x265 FreetheFish).SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --vf=vapoursynth:[C:\Users\Noah519\AppData\Roaming\SVP4\scripts\ffff.py]:4:4 --of=matroska --ovc=libx264 --ovcopts=preset=slow,crf=18,threads=4
22:27:06.359: (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
22:27:06.359: Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
22:27:06.359: Audio --aid=2 --alang=spa (aac 6ch 48000Hz)
22:27:06.359: Audio --aid=3 --alang=ger (aac 6ch 48000Hz)
22:27:06.359: Audio --aid=4 --alang=eng 'Commentary with director Jon Favreau' (aac 2ch 48000Hz)
22:27:06.359: Audio --aid=5 --alang=eng 'Commentary with actor Will Ferrell' (aac 2ch 48000Hz)
22:27:06.359: Subs --sid=1 --slang=eng (dvd_subtitle)
22:27:06.359: Subs --sid=2 --slang=spa (dvd_subtitle)
22:27:06.359: Subs --sid=3 --slang=ger (dvd_subtitle)
22:27:06.359: Subs --sid=4 --slang=eng (dvd_subtitle)
22:27:06.359: Subs --sid=5 --slang=spa (dvd_subtitle)
22:27:06.359: Subs --sid=6 --slang=ger (dvd_subtitle)
22:27:06.461: [vapoursynth] Script evaluation failed:
22:27:06.461: [vapoursynth] Python exception: module 'vapoursynth' has no attribute 'get_core'
22:27:06.461: [vapoursynth]
22:27:06.461: [vapoursynth] Traceback (most recent call last):
22:27:06.461: [vapoursynth] File "src\cython\vapoursynth.pyx", line 2832, in vapoursynth._vpy_evaluate
22:27:06.461: [vapoursynth] File "src\cython\vapoursynth.pyx", line 2833, in vapoursynth._vpy_evaluate
22:27:06.461: [vapoursynth] File "C:\Users\Noah519\AppData\Roaming\SVP4\scripts\ffff.py", line 5, in <module>
22:27:06.461: [vapoursynth] core = vs.get_core(threads=4)
22:27:06.462: [vapoursynth] AttributeError: module 'vapoursynth' has no attribute 'get_core'
22:27:06.462: [vapoursynth]
22:27:06.471: (!!!) Intermediate file may be broken: E:\QDownloads\Elf (2003) + Extras (1080p BluRay x265 HEVC 10bit AAC 5.1 FreetheFish)\Elf (2003) (1080p BluRay x265 FreetheFish).SVP.temporary.mkv
22:27:06.471: ===== mpv exited with code 62097 =====

Re: Settings for maximum smoothness - video is less smooth with SVP4

update SVP
it was fixed in October '21 (or even earlier hmm)

Re: Settings for maximum smoothness - video is less smooth with SVP4

Chainik wrote:

update SVP
it was fixed in October '21 (or even earlier hmm)

Thanks Chainik. Fixed. Updates were labeled Windows 11 and Language files. Didn't think I needed it.

Re: Settings for maximum smoothness - video is less smooth with SVP4

KnightRiderKARR wrote:

***UPDATE 1/3/2022***

"""Don't Forget to go on SVP Settings and do this""" ---> ""Frames Interpolation Mode = Uniform"" + ""SVP Shader = Complicated"" + ""Artifacts masking = Weakest""

Αfter several experiments I came up with these settings (source must be 24fps)
Try and tell me if its good or not smile

levels.pel = 1;
levels.scale.up    = 1;
levels.scale.down    = 1;
levels.full     = true;
analyse.block.w    = 32;
analyse.block.h    = 32;
analyse.block.overlap    = 2;
analyse.main.levels    = 4;
analyse.main.search.type   = 8;
analyse.main.search.distance = -8;
analyse.main.search.coarse.type  = 4;
analyse.main.search.coarse.distance  = -16;
analyse.main.search.coarse.bad.range  = 0;
analyse.main.penalty.lambda   = 1.0;
analyse.main.penalty.plevel   = 4.0;
analyse.main.penalty.lsad   = 800;
analyse.main.penalty.pnew   = 5;
analyse.main.penalty.pglobal   = 5;
analyse.main.penalty.pzero   = 10;
analyse.main.penalty.pnbour   = 5;
analyse.main.penalty.prev   = 0;
analyse.refine[0] = {thsad:2000, search:{distance:2, type:4}};
smooth.rate.num = 5;
smooth.rate.den = 2;
smooth.algo = 23;
smooth.scene.mode = 0;
smooth.mask.cover = 20;
smooth.scene.limits.m1 = 3600;
smooth.scene.limits.m2 = 7200;
smooth.scene.limits.scene = 10400;
smooth.scene.limits.zero = 10;
smooth.scene.limits.blocks = 60;


- If you want 144fps ----> smooth.rate.num = 12

This trick/bug enables the Frame Conversion that you chosed on SVP Control Panel ---> //smooth.rate.num = 2  and  //smooth.rate.den = 1;    **Not 100% if it works but it works on me **

This is actually amazing !! Can you send your actual svp profile as well? Or does it not matter? Thank you!