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. |
14th August 2018, 11:29 | #1 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Can't get AutoOverlay to work
Please help, I have no further ideas what to try next...
-I installed the newest version of AvsFilterNet and AutoOverlay, as specified in the ReadMe, doesn't work. -AVSMeter says: "C:\Program Files (x86)\AviSynth\plugins\AutoOverlay_netautoload.dll" Exception 0xC0000005 [STATUS_ACCESS_VIOLATION] Module: D:\Programme\AVSMeter281\AVSMeter281\AVSMeter.exe Address: 0x010DC51B AvsFilterNet loads well. -I tried older versions, down to 0.1.3 - the same -.net 4 is installed and works, even Visual Studio 2015 is installed on this machine (Win 7 64 Bits) -I tried everything on another machine (also Win 7 64) - the same -Just to get it somehow to work I tried it on Win 10 - doesn't work Is there any trick to get this installed? If missing dependencies I could understand, but why access violation, and how then can it work at all? Any idea, friends? |
14th August 2018, 12:30 | #2 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
EDIT: I got it working here on XP32, although I aint got any idea what I'm doing, but at least it dont crash. EDIT: with manual dll load here works. Code:
LoadPlugin(".\AvsFilterNet.dll") LoadNetPlugin(".\AutoOverlay_netautoload.dll") Avisource("D:\Parade.avi") OM=Crop(0,0,Width/4*4,Height/4*4).ConvertToYV12 WS=OM.Crop(0,0,-64,-64) OM=OM.Crop(64,64,-8,-8) #OM=AviSource("c:\test\OpenMatte.avs") # YV12 clip #WS=AviSource("c:\test\Widescreen.avs") # YV12 clip OverlayEngine(OM.ConvertToY8(), WS.ConvertToY8(), configs=OverlayConfig(subpixel=2)) OverlayRender(OM.ConvertToYV24(), WS.ConvertToYV24(), debug=true) ConvertToYV12()
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 14th August 2018 at 12:42. |
|
14th August 2018, 12:41 | #3 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Yes, I have only avisynth 2.6 installed, without the plus. The requirements say:
AviSynth 2.6 or higher, AviSynth+ ... I interpreted the comma as an OR. I will give A+ a try - never used before. so far! |
14th August 2018, 12:46 | #4 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Oops, yes you are correct, musta misread that.
Moved plugs to autoload plugins directory, just getting blank frame, looks like I'm also having problems with the autoload stuff, but not with manual load of dlls. EDIT: Autoload plugins, and same script as posted above, and with "avsmeter test.avs", getting Buffer overflow message from Avsmeter v2.81. EDIT: With AvsMeter Avsinfo, getting Code:
"C:\Program Files\AviSynth+\plugins\AutoOverlay_netautoload.dll" Exception 0xC0000005 [STATUS_ACCESS_VIOLATION] Module: C:\BIN\AVSMeter.exe Address: 0x0040C51B EDIT: Below no problem with dll's in plugins directory Code:
return version Code:
"C:\Program Files\AviSynth+\plugins\AutoOverlayNative.dll" Exception 0xC0000005 [STATUS_ACCESS_VIOLATION] Module: C:\BIN\AVSMeter.exe Address: 0x0040C51B ___________________________________________________________________ "C:\Program Files\AviSynth+\plugins\AutoOverlay_netautoload.dll" Exception 0xC0000005 [STATUS_ACCESS_VIOLATION] Module: C:\BIN\AVSMeter.exe Address: 0x0040C51B
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 14th August 2018 at 13:09. |
14th August 2018, 14:49 | #5 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
I just installed also A+ r2728. Simple script works fine, so everythng fine about my other plugins.
But AvsFilterNet: No crashing any more, but pure loading of the AvsFilterNet-plugin now lasts forever. Also the older ones that were provided with the older versions of AutoOverlay show the same behaviour: VirtualDub: CPU utilization 13%, about 45MB memory not fluctuating. I also renamed the dll, removed the autoload part, no other autoloads of this kind in the directory - useless. I will try under XP, if I get .net 4 installed... |
14th August 2018, 16:21 | #6 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
The reason why Avsmeter throws an exception is that "AutoOverlay_netautoload.dll" seems to have a non-standard PE header and WinAPI functions like "MapAndLoad()" are choking on it. Apart from that, I can't get this to work at all (VDub, mpchc), auto-load or not. I get .NET unhandled exceptions all over the place.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 14th August 2018 at 16:34. |
|
14th August 2018, 17:10 | #7 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
AvsFilterNet is only the wrapper, you are of course right. I just thought that in spite of this fact AVSMeter would gather some information via AVSFilterNet about its sub-plugins, that's why I tried to get some help on this way.
I just installed different versions of AVSFilterNet on a CLEAN and new Win10-installation. I installed AVISynth+ and put ONLY the two plugins in the plugins directory (later, just to see, in the plugins+ dir.) AVSFilterNet loads correctly. But always the error when trying to load AutoOverlay-plugin that it were no correct .net-assembly. Different versions. The "native" plugins are not accepted at all, don't know what is meant by "native" then? Just to be sure: @stainlessS, the pure plugin-loading worked for you on XP? Did I get this right? I read a lot about this plugin, and it would be very interesting for some tasks for me. Other people strangely seem to have not many problems with it? I formerly used some other ideas for getting two clips exactly overlayed (after interleaving then DeShaker, and some handwork the results were not too bad) but it is a lot of work with a lot of problems, which could be omitted if this plugin worked... |
14th August 2018, 18:02 | #8 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Even with the current version (2.8.1) you can use "avsmeter avsinfo -log" and get the list of external functions: Code:
[External (plugin) functions] AvsFilterNet_BilinearRotate AvsFilterNet_ColorAdjust AvsFilterNet_ColorRangeMask AvsFilterNet_CustomOverlayRender AvsFilterNet_LoadNetPlugin AvsFilterNet_OverlayCompare AvsFilterNet_OverlayConfig AvsFilterNet_OverlayEngine AvsFilterNet_OverlayMask AvsFilterNet_OverlayRender AvsFilterNet_StaticOverlayRender
__________________
Groucho's Avisynth Stuff |
|
14th August 2018, 18:27 | #9 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Thank you! But you won't believe it: Just started with -log and the same hang-up as with script and VirtualDub. Lasts forever, does nothing, but 13% CPU load.
By now I give sadly up, no more time. Thank you for your kind help so far! |
14th August 2018, 21:29 | #10 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Just got it at least on Win 10. The two plugins load. I think it must have been the "This file came from another computer and might be blocked ..." thing. Never had heard of those issues, sorry, if this was trivial.
After all I get some black frames with colour adjust(), but no errors so far. Looking forward to learn how it works! |
15th August 2018, 09:42 | #13 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Thanks for your reply, but:
-I have a clean Win10-installation without AviSynth classic, ONLY AviSynth+ -Your version 0.22 works fine (apart from memory leaks you mentioned), but not together with the included AvsFilterNet, only with the newest one from mysteryX -Your new version 0.23 does EDIT: load correctly (I forgot again to unblock the dlls, but never again...), but then throws a lot of errors. I keep trying. This on my system, of course - but as I said: a clean, new Win10-professional installation. Last edited by Frank62; 15th August 2018 at 10:00. |
15th August 2018, 12:23 | #14 | Link | |||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
By G2K4,
Quote:
Code:
#return version LoadPlugin(".\AvsFilterNet.dll") LoadNetPlugin(".\AutoOverlay_netautoload.dll") # EDIT: dll's in current directory, (works with/without also in Plugins) Avisource("D:\Parade.avi") # GamMac'ed YV12 W Mod 4, H Mod 4 version of JohnMeyer parade clip OM=Crop(0,0,Width/4*4,Height/4*4).ConvertToYV12 # EDIT: Crop(/4*4) stuff not necessary with this clip) WS=OM.Crop(0,0,-64,-64) OM=OM.Crop(64,64,-8,-8) #OM=AviSource("c:\test\OpenMatte.avs") # YV12 clip #WS=AviSource("c:\test\Widescreen.avs") # YV12 clip OverlayEngine(OM.ConvertToY8(), WS.ConvertToY8(), configs=OverlayConfig(subpixel=2)) OverlayRender(OM.ConvertToYV24(), WS.ConvertToYV24(), debug=true) ConvertToYV12() Quote:
Also, what does "Lasts Forever" mean. Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 15th August 2018 at 14:44. |
|||
15th August 2018, 14:10 | #15 | Link | ||
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Anyway, this .NET stuff adds yet another layer of complexity (and obviously problems) to an already complex system. I wonder what happens when you try to multi-thread this thing.
__________________
Groucho's Avisynth Stuff |
||
15th August 2018, 14:26 | #16 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Stuck again... after trying the newer version with different avsfilternet-dlls it hangs again with 100% the same versions that worked last night, unblocked or not. Must have been a dream.
@StainlessS "lasts forever" meant that VirtualDub hang, no response any more, no matter, how long I waited, but CPU load of constant 13%. Forgive my not perfect English. "pure plugin loading" meant just the two lines for the loading plus a version-line, no rendering. I'll wait until this will be more stable, too much time waisted. My technique with deshaking the interleaved clips does work, so I can wait. If stable this would be extremely useful! |
15th August 2018, 22:31 | #17 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
I can't get it working either, avs+ x64 , or avs classic x86. But I have .Net 4.7.2 or do you need a specific version ?
It "hangs" in vdub2 like Frank62 describes. No error message But the same script in avspmod, produces an error message - one error that sticks out in avspmod is "Could not load file or assembly 'AutoOverlayNative, Version=0.0.0.0 Culture=neutral, PublicKeyToken=null' or one of it's dependencies. The system cannot find the file specified. I tried loading the AutoOverlayNative.dll ,and various combinations of manual/autoloading - no luck. The docs don't say anything about AutoOverlayNative.dll even though it's included in the package |
16th August 2018, 05:49 | #18 | Link | |
Registered User
Join Date: Nov 2017
Posts: 35
|
Quote:
AutoOverlayNative is the new module. All three files should be copy to plugins folder. After that check that they are not blocked by windows. Windows 10 have such chekbox in file properties dialog. https://forum.doom9.org/showthread.p...53#post1848953 .NET 4.7 includes 4.0 and AutoOverlayNative is not a .net plugin. Just tested again x86 and x64 latest releases on my win 10 pro .net 4.7 machine in AvsPMod x86 and x64 with avisynth 2.6 x86 and avs+ x64. Works well. |
|
16th August 2018, 09:11 | #19 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Edit: W7 works fine, too.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 16th August 2018 at 20:51. Reason: typo |
|
16th August 2018, 14:54 | #20 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
All three files was the key for me. I think it would help if you updated the docs to clarify this Also, I couldn't manually load AutoOverlayNative.dll, nor combinations of autoloading AutoOverlayNative.dll with manually loading the others. All 3 had to be in the plugins directory |
|
|
|