Log in

View Full Version : W10 Avisynth Zoom Plugin access violation


ClubM
5th October 2023, 14:01
Dear forum.doom9 members.

I have question. I was trying to fix a older avs script that i made in the past.
It uses some older Avisynth plugins, which i've mostly replaced with modern ones.
However the plugin "zoom" created by WarpEnterprises:
http://avisynth.nl/index.php/Zoom

uses a certain animation i would like to keep indentical.
Unfortunately i can't see the animation sins it throws the following error

Error requestion frame 204 WindowsError: exception: access violation 0x10421FF4

So i was hoping someone could help me find a new solution to replace the older code but keep the zoom animation indentical.
Or if someone is able to recompile a new 64bit dll file compatible with the latest avisynth that would be most ideal.

Here is the original code:

ConverttoRGB32(matrix="Rec601", interlaced=false).zoom(factorX="n>20 ? pow(n-20, (0.02*(n/16))) : 1", factorY="n>20 ? pow(n-20, (0.02*(n/16))) : 1")

ConverttoRGB32(matrix="Rec601", interlaced=false).zoom(factorX="n>0 ? pow(n, (0.02*(n/13))) : 1", factorY="n>0 ? pow(n, (0.02*(n/13))) : 1")


Some additional information:
I'm running
AviSynth+ 3.7.2 (r3661, 3.7, i386)
in conjunction with
AvsPmod_v2.7.5.4_.Windows_x86-32
OS: Windows 10 Pro Version: 22H2 64-bit

I even tried to install the 64-bit compiled version by Paser
https://forum.doom9.org/showthread.php?p=1668648#post1668648
However it's probably just too old at this point in time.

Emulgator
5th October 2023, 14:19
Here the test script worked OOTB with Zoom 64bit (15.02.2014):
Version().ConverttoRGB32().zoom(dstx="n", angle="n/10")
AviSynth+ 3.7.3 (r4003, 3.7, x86_64)
in conjunction with
AvsPmod_v2.7.5.4_.Windows_x86-64
OS: Windows 10 Pro Version: 21H2 64-bit

The other example and your 2 scripts do run as well.

ClubM
5th October 2023, 14:35
Hi Emulgator,

That's interesting you don't seem to have any issues?
Hmm that's strange i tried running the version code to see if that worked.
But instantly avspmod returns a error message.

https://i.postimg.cc/G3D1dbqs/zoom-error.png

Perhaps updating my AviSynth+ will fix it?
Thanks for checking i'm gonna try to update to the latest version.
I'll be sure to give a update here it that solves my issue.

kedautinh12
5th October 2023, 15:04
Try with latest vcredist
https://github.com/abbodi1406/vcredist/releases

ClubM
5th October 2023, 15:28
I think i found the issue.
I was testing the code in the 32bit AvsPmod editor sins i still have some older plugins that only work in 32 bit.
However by using the 32bit AvsPmod editor the software is excessing the older "[x86] - zoom_dll_20050122.zip" zoom plugin.
Which seems to have the "WindowsError: exception: access violations" issues.
Most likely the older 32bit dll needs to be recompiled with a new header and maybe requires some small changes to the original code.

A workaround is to use 64bit AvsPmod which will call the [x64] - Zoom.7z plugin instead.
That's probably why Emulgator didn't have any issues calling the plugin.

Now i wonder do you guys know if it's possible to fix the older 32 bit dll?
I don't know if the original source code is available.
And i'm not a programmer so i would have to rely on a kind soul who wants to do it.
But if it's something really easy i would love if someone could update the older dll file.
But than again maybe that's asking too much.

The only reason why i would like a 32bit version is to combine it with older plugins that haven't been ported to 64 bit.

ClubM
5th October 2023, 15:32
Try with latest vcredist
https://github.com/abbodi1406/vcredist/releases

Oh btw thanks kedautinh12 for thinking along :)
I already installed the latest vcredist.
But it's a good tip because in the past i did have some issues with that on Windows 7. Appreciate it.

kedautinh12
6th October 2023, 03:00
Maybe you can ask Asd-g add support latest avs+, high bit depth, more colors space from here (create issue):
https://github.com/Asd-g/AviSynthPlus-Scripts/issues