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. |
17th January 2017, 22:07 | #2861 | Link |
Registered User
Join Date: Aug 2014
Posts: 39
|
Code:
RemoveGrain(2,5) UUMblur3() return Last #### function UUMblur3(clip C, int "percentblur", int "speed") { Assert(C.IsYV12, "source must be YV12") percentblur = Min(Max(0, Default(percentblur, 30)), 80) speed = Default(speed, 0) super = MSuper(C) ## slow : medium : fast B = (speed<0) \ ? MFlowBlur(C, super, \ MAnalyse(super, search=3, searchparam=24, truemotion=true, isb=true), \ MAnalyse(super, search=3, searchparam=24, truemotion=true, isb=false), \ blur=Float(percentblur)) \ : (speed==0) \ ? MFlowBlur(C, super, \ MAnalyse(super, search=4, searchparam=16, truemotion=true, isb=true), \ MAnalyse(super, search=4, searchparam=16, truemotion=true, isb=false), \ blur=Float(percentblur)) \ : MFlowBlur(C, super, \ MAnalyse(super, search=4, searchparam= 2, truemotion=true, isb=true), \ MAnalyse(super, search=4, searchparam= 2, truemotion=true, isb=false), \ blur=Float(percentblur)) return (percentblur==0) ? C : B } |
17th January 2017, 22:21 | #2862 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Can you elaborate on "cannot make avisynth+ MT work on it"?
__________________
Groucho's Avisynth Stuff |
17th January 2017, 23:07 | #2863 | Link |
Registered User
Join Date: Aug 2014
Posts: 39
|
With Set MT it's capable to use all threads from my CPU and speed up the processing by almost 3.5x, while without multithreading in Avisynth+ it stuck to slow speed. 1.60fps with avisynth+ single-thread process and 15% CPU usage, while with SET multithreading it achieving almost 6fps and 90% CPU usage. Avisynth+ MT works for some other scripts which i tried but not for this one. I hope that explain what i trying to say.
|
17th January 2017, 23:09 | #2864 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
__________________
Groucho's Avisynth Stuff |
|
17th January 2017, 23:32 | #2866 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
If you put it at the bottom of the script you posted above it will of course not work, the unnecessary "return last" prevents it from being executed.
Post the entire script.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 17th January 2017 at 23:35. |
18th January 2017, 12:01 | #2868 | Link |
Registered User
Join Date: Apr 2016
Posts: 27
|
Just started using 64 bit Avisynth+ for my project and it's working out fine. I was wondering if there is a formal way to request a 64 bit version to be made from a 32 bit source? I can't find a 64 bit version of RoboCrop. I asked the author and he is unable to do it because he only has a 32 bit system. I know AutoCrop is available and have been using it, but I find RoboCrop to be more reliable. Thanks.
|
18th January 2017, 19:04 | #2869 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
This may be a stupid question but I've just migrated to Avisynth+. I installed the FilterSDK, but where is, or what is the name of, the header file I should be including in my plugin development projects from now on? And is there an avisynth+.lib I should be linking too?
I usually get these things working by trial-and-error... --- Also, should I have an avisynth+.dll somewhere? It's all installed and working, but I can't find a file called that, and any avisynth.dlls I can find (x86 and x64) are 2.6.0.5. Last edited by wonkey_monkey; 18th January 2017 at 19:21. |
18th January 2017, 19:27 | #2870 | Link |
Guest
Posts: n/a
|
You either include avisynth.h or avisynth_c.h (depending on whether you want the C or C++ API) just like normal avisynth. The DLL and lib are still also just called avisynth, not avisynth+, as well. If the DLL were renamed it would no longer be a drop-in replacement for classic Avisynth...
Last edited by JoeyMonco; 18th January 2017 at 19:40. |
18th January 2017, 19:46 | #2871 | Link | ||
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
If you need it (only when you're writing c-plugins), you have to build it yourself with the AVS+ sources. Quote:
By the way, there is no 2.6.0.5 64 bit version as far as I know. Edit: I stand corrected. There is a 2.6.0.5 64 bit version, I forgot about AVS+ r1576.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 18th January 2017 at 22:02. |
||
18th January 2017, 20:16 | #2872 | Link | ||
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
Quote:
It says Avisynth+ 2.6... Quote:
Otherwise I get this: Code:
error LNK2001: unresolved external symbol "__declspec(dllimport) struct AVS_Linkage const * const AVS_linkage" (__imp_?AVS_linkage@@3QBUAVS_Linkage@@B) Last edited by wonkey_monkey; 18th January 2017 at 20:19. |
||
18th January 2017, 20:48 | #2874 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
It's what you get when click the big "Installer" button at www.avs-plus.net.
|
18th January 2017, 20:53 | #2875 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
The latest build by ultim (I can't remember what the revision number was...r2173?) or the latest one by pinterf (r2380) is the one you should be using. |
|
18th January 2017, 21:09 | #2876 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
Eh... well I get why things are the way they are, but it's this kind of situation that could easily put someone off ever trying to use Avisynth in the first place. The original 2.6 is outdated, or so advice I've seen hereabouts says, but the most prominent link to install the modernised fork is also out-of-date with no obvious instructions on how to get an up-to-date version, even if it is a beta...
So I got r2380, copied the x86 DLL to SYSWOW64 and the x64 DLL to System32, and copied the plugins+ and plugins64+ folders over their counterparts that were previously installed... and now I get "AVI Import Filter error: (Unknown) (80040154)" from just a "version" script. Should I just go back to 2.6? My plugins seem to work okay with Avisynth+ anyway. --- Edit: I finally figured out how to use AvisynthPluginInit3 instead of AvisynthPluginInit2 and now I don't need to link to avisynth.lib any more ¯\_(ツ)_/¯ I shall just stick to r1576 since it was good enough to have an installer at some point in history, and I've not had any problems with it so far. Last edited by wonkey_monkey; 18th January 2017 at 22:07. |
18th January 2017, 23:12 | #2877 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
Quote:
|
|
18th January 2017, 23:14 | #2878 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
19th January 2017, 02:45 | #2879 | Link | ||
Registered User
Join Date: Mar 2005
Posts: 64
|
Quote:
I also have just made the move over to AVS+ because I am finding x64 is able to do things that x32 can't, like TemporalDegrain MT on 1080p source. I'm still trying to work a lot of things out with plugins, and I'm having problems with RemoveDirtMC_SE. I have mvtools, masktools, rgtools, and fluxsmooth from the link above. I also have avsrecursion from Kassandro's RemoveDirt_x64 package. I can't find anything for NLmeansCL in x64, BUT I didn't have them on my x32 system either and it worked. When I try to load RemoveDirtMC_SE, I get the following error. Quote:
Anyone have suggestions? |
||
19th January 2017, 02:57 | #2880 | Link | ||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
@Bexley
RemoveDirtMC_SE uses a lot of older plugins that can probably be replaced by more modern ones. For example, modify the script to use KNLMeansCL instead of NLMeansCL. Regarding the cache parameter, RGTools does not have this parameter so remove all instances in the script. Onto 64-bit RemoveDirt, this version was claimed to be incompatible with the old AviSynth64 so it's a possibility that it also might not work in AviSynth+. See the note that I added at the bottom of the RemoveDirt wiki page: Quote:
Quote:
Last edited by Reel.Deel; 19th January 2017 at 03:41. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|