merlinn31
27th September 2009, 04:41
So basically, I wrote a plugin that draws some stuff on a frame and returns the frame. The idea is that I take a tga with alpha channel, use ImageSource to repeat it to a desired length, then pass that to ScriptClip which then calls my function.
It runs flawlessly on my development machine. The development machine is a Centrino2, XP x86 with all updates. I used MS Visual C++ 2008 Express Edition to write/compile it.
I copied the plugin to a render box running Vista x64 w/ all updates, Intel Quad-core cpu, and the same versions of Avisynth and Virtualdub. Running the Avisynth script on this box results in:
AviSynth read error: CAVIStreamSynth: System exception - Access Violation at 0x7778f897, reading from 0xfe7d6071
The weird thing, is that it seems to only throw this error when I draw to the section of the frame where the Alpha layer = 255. If I draw to the other section where the Alpha layer = 0, it works fine.
Again, this works flawlessly on my development machine, so I don't think this is some sort of fundamental coding issue like not manipulating individual pixels correctly, but I'm still open to the suggestion. Also, I realize that I haven't given a whole lot to work with, but I'm not sure what someone else would need to know to help come up with a fix.
I'd appreciate any ideas you guys might have.
It runs flawlessly on my development machine. The development machine is a Centrino2, XP x86 with all updates. I used MS Visual C++ 2008 Express Edition to write/compile it.
I copied the plugin to a render box running Vista x64 w/ all updates, Intel Quad-core cpu, and the same versions of Avisynth and Virtualdub. Running the Avisynth script on this box results in:
AviSynth read error: CAVIStreamSynth: System exception - Access Violation at 0x7778f897, reading from 0xfe7d6071
The weird thing, is that it seems to only throw this error when I draw to the section of the frame where the Alpha layer = 255. If I draw to the other section where the Alpha layer = 0, it works fine.
Again, this works flawlessly on my development machine, so I don't think this is some sort of fundamental coding issue like not manipulating individual pixels correctly, but I'm still open to the suggestion. Also, I realize that I haven't given a whole lot to work with, but I'm not sure what someone else would need to know to help come up with a fix.
I'd appreciate any ideas you guys might have.