Topic: where do I use this script?

Hey,
this is a relatively stupid question, but I'm trying to figure out how to use this script:

super=SVSuper("{pel:1,scale:{up:0},gpu:1,full:false}")
vectors=SVAnalyse(super, "{block:{w:32,h:32},main:{search:{coarse:{distance:-4,bad:{range:0},trymany:true},type:3,distance:-5},penalty:{lambda:11.5,plevel:1.6,pnbour:65},levels:4},refine:[{search:{distance:4}}]}", src=last)
SVSmoothFps(super, vectors, "{rate:{num:5,den:2},algo:23,mask:{cover:80},scene:{mode:0,limits:{scene:3000,blocks:40}}}", mt=15)

I see scripts like these posted all over the forum, but I have no idea how to activate them.
I tried manually putting the values into override.js but my profiles seem to override them (unless I'm wrong about this as well)
I have a feeling you put it in the generate.js thing somehow?
I use svp with mpv or vlc.

Help would be appreciated. Thanks!

2 (edited by blackmickey1007 24-11-2017 19:31:19)

Re: where do I use this script?

This is kevingwn's old script.
Modified special settings for anime v2
https://imgur.com/a/mjDjs

levels.pel                             = 1;

analyse.block.w                        = 32;
analyse.block.h                        = 32;

analyse.main.levels                    = 4;
analyse.main.search.type               = 3;
analyse.main.search.distance           = -5;
analyse.main.search.coarse.distance    = -4;
analyse.main.search.coarse.trymany     = true;
analyse.main.search.coarse.bad.range   = 0;

analyse.main.penalty.lambda            = 11.5;
analyse.main.penalty.plevel            = 1.6;
analyse.main.penalty.pnbour            = 65;

analyse.refine[0]                      = {search:{distance:4}};

smooth.algo                            = 23;
smooth.scene.mode                      = 0;
smooth.scene.limits.scene              = 3000;
smooth.scene.limits.blocks             = 40;

3 (edited by invertedsilence 24-11-2017 18:52:45)

Re: where do I use this script?

Thanks! I know, that's where I got it from. That's a more readable format. I assume I add these settings to override.js?
How did you convert it?

4 (edited by blackmickey1007 24-11-2017 19:43:47)

Re: where do I use this script?

levels.pel                                           = 1;       //SVSuper("{pel:1,...}");

analyse.block.w                                 = 32;      //SVAnalyse(super, "{block:{w:32,...},....}", src=last);
analyse.block.h                                  = 32;      //SVAnalyse(super, "{block:{...,h:32},....}", src=last);

analyse.main.levels                             = 4;       //SVAnalyse(super, "{...,main:{...,levels:4}}", src=last);
analyse.main.search.type                    = 3;       //SVAnalyse(super, "{...,main:{search:{...,type:3,...},...},...}", src=last);
analyse.main.search.distance               = -5;     //SVAnalyse(super, "{...,main:{search:{...,distance:-5},...},...}", src=last);
analyse.main.search.coarse.distance     = -4;     //SVAnalyse(super, "{...,main:{search:{coarse:{distance:-4,...},...},...},...}", src=last);
analyse.main.search.coarse.trymany     = true;  //SVAnalyse(super, "{...,main:{search:{coarse:{...,trymany:true},...},...},...}", src=last);
analyse.main.search.coarse.bad.range   = 0;      //SVAnalyse(super, "{...,main:{search:{coarse:{...,bad:{range:0},...},...},...},...}", src=last);

analyse.main.penalty.lambda                 = 11.5;  //SVAnalyse(super, "{...,main:{...,penalty:{lambda:11.5,...},...},...}", src=last);
analyse.main.penalty.plevel                   = 1.6;    //SVAnalyse(super, "{...,main:{...,penalty:{...,plevel:1.6,...},...},...}", src=last);
analyse.main.penalty.pnbour                 = 65;     //SVAnalyse(super, "{...,main:{...,penalty:{...,pnbour:65},...},...}", src=last);

analyse.refine[0]                                  = {search:{distance:4}};     //SVAnalyse(super, "{...,refine:[{search:{distance:4}}]}", src=last);

smooth.algo                                         = 23;      //SVSmoothFps(super, vectors, "{...,algo:23,...}", mt=15);
smooth.scene.mode                              = 0;       //SVSmoothFps(super, vectors, "{...,scene:{mode:0,...}}", mt=15);
smooth.scene.limits.scene                     = 3000;  //SVSmoothFps(super, vectors, "{...,scene:{...,limits:{scene:3000,...}}}", mt=15);
smooth.scene.limits.blocks                    = 40;      //SVSmoothFps(super, vectors, "{...,scene:{mode:0,limits:{...,blocks:40}}}", mt=15);

Re: where do I use this script?

Ahhh, wonderful! You do all of this manually every time?
what's the point of sharing it in such a format then? I was looking for a config file to put it in :}
I'm not sure if it's placebo, but I have a feeling that putting these in override.js actually did something!
Anyway, changing these values helped a lot!

Thank you!

I'll try out the other scripts too

6 (edited by blackmickey1007 25-11-2017 04:11:09)

Re: where do I use this script?

invertedsilence wrote:

what's the point of sharing it in such a format then?

It's part of Avisynth script.
You can use avisynth to convert video into HFR.