Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
24th May 2019, 19:27 | #1 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
AVSRepoGUI - A simple plugin manager for AviSynth
I made a simple GUI for AVSRepo. Currently it won't detect avs plugins folders but you can set the paths by yourself in avsrepogui.json
Releases Plugin repo You need also the latest avsrepo binary https://github.com/theChaosCoder/avsrepo/releases Some feedback and feature requests would be nice. avsrepogui.json Relative paths are also supported (The \\ are important, a single \ will not work for paths) Code:
{ "Bin":"avsrepo.exe", "win32": { "Binaries":"abc d\\p32", "Scripts":"..\\scripts" }, "win64": { "Binaries":"D:\\PortableApps\\Avisynth\\plugins64", "Scripts":"D:\\abc d\\scripts" } }
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 4th January 2022 at 10:56. |
24th May 2019, 21:07 | #2 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,903
|
Ok, so this is basically like dnf/yum on linux: a package manager.
That's really cool and very much needed now that there are so many plugins and so many versions scattered everywhere on the internet with original filters, mods, mods of the mods, re-compiled ones and so on. Does it have both x86 and x64 repositories? Who's keeping updated the repositories? I look forward to try it. Thank you in advance. This project sure has potential! |
24th May 2019, 22:08 | #3 | Link | ||
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
Quote:
Click on the Plugin repo link in the first post to see all currently supported plugins. Should be the latest and "best" version of every plugin/script. Plugins on Github can be updated automatically, others needs to be updated by hand.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 24th May 2019 at 22:16. |
||
28th July 2019, 21:18 | #5 | Link | ||
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
EDIT: you mean the About link I guess? Quote:
I will add a settings windows soon where you can choose you avs installation etc + the settings will be saved globally -> no avsrepogui.json needed anymore.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
||
31st July 2019, 18:49 | #6 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Is here someone with regex experience? I'm a regex noob and need a bit help. I only need the function names in a avs file.
My regex: Code:
/ function\s+.+[\s|\S](?=\() /gi Currently my regex finds this: function Denoise(clip clp, int a) {...} But it also detects commented lines which I don't want. # function Denoise(clip clp, int a) {...} And "one liner" have some problems too, it detects everything till "Crop". Function MCPP_get_msb(clip src){ return src.Crop(0, 0, src.Width, src.Height/2) } My goal is to check all avsi files if there are duplicate function names. Because funcABC() in B.avsi could overwrite funcABC() in A.avsi... and it's easier to find duplicate scripts
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
31st July 2019, 19:31 | #7 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Here's what it looks like currently:
Code:
Duplicate Function Name Detection ------------------------------------------------------------ Found 5 potential conflicts. Path of *.avsi files: D:\AvisynthRepository\SCRIPTS Function name: bbb D:\AvisynthRepository\SCRIPTS\a - copy.avsi D:\AvisynthRepository\SCRIPTS\a.avsi D:\AvisynthRepository\SCRIPTS\b.avsi Function name: ss D:\AvisynthRepository\SCRIPTS\a - copy.avsi D:\AvisynthRepository\SCRIPTS\a.avsi Function name: maa2 D:\AvisynthRepository\SCRIPTS\maa2_mod - v0.429.avsi D:\AvisynthRepository\SCRIPTS\maa2_mod.avsi Function name: Sangnom2AA D:\AvisynthRepository\SCRIPTS\maa2_mod - v0.429.avsi D:\AvisynthRepository\SCRIPTS\maa2_mod.avsi Function name: GetCSP_Y8_YV411 D:\AvisynthRepository\SCRIPTS\HQDeringmod_v1.8.avsi D:\AvisynthRepository\SCRIPTS\nnedi3_resize16.avsi
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 31st July 2019 at 19:34. |
1st August 2019, 08:16 | #9 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Thx, much better and simpler. Since I use the global case insensitive flag I reduced it to
Code:
^function\s\w+ /i If there is a space before function it won't be detected. (and a few scripts have this) Code:
function abc <- not detected function abc <- detected EDIT here is a link with example text https://regexr.com/4ifq4
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 1st August 2019 at 08:21. |
1st August 2019, 08:33 | #10 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Just write a simple parser already. It's easy and builds character.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
1st August 2019, 08:37 | #11 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
Code:
^(?!#)(.|)function\s+\w+
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
1st August 2019, 08:58 | #12 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Here's a testcase for you:
Code:
Subtitle("function Rule6(clip clip)")
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
1st August 2019, 09:05 | #14 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
But now it has some miss detections like Code:
(space) # script function from Didée, at the VERY GRAINY thread
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
1st August 2019, 09:51 | #16 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Fixes one thing and breaks another
Assert(!(sisfullchroma || sislumaonly), "nnchromaupsubsampling: this function for subsampling sources") ResizeX is a wrapper function for AviSynth's internal resizers and Dither_resize16 <- the whole sentence is marked The previous one is good enough.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
1st August 2019, 10:53 | #18 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Less false detections now. Only these 3 are left:
Code:
ResizeX is a wrapper function for AviSynth's internal resizers and Dither_resize16 * External aa clip or function to use it instead of Sangnom2, you can use nnedi3_resize16(Width*2, Height*2) t An improved rpow2 function for nnedi3, nnedi3ocl, eedi3, and eedi2.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
2nd August 2019, 08:58 | #20 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
looks "error free" but misses now some functions like this one: (from srestore.avsi)
Code:
####################################### # 3) Unique Runtime Function Definition ####################################### function srestore_inside_%%%(clip source, dm, om, bom, thr, frfac, numr, denm, mec, det, bclp, dclp, fin, sisphbd) { ssIsVF = sisphbd ? source.IsVideoFloat() : false
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Thread Tools | Search this Thread |
Display Modes | |
|
|