mf
10th April 2003, 12:39
I'm getting pretty desperate at AVISynth. Whenever I try something exotic I find bugs.
This works:
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEGDecoder.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEG2Dec3.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\Decomb.dll")
prev = MPEGSource("G:\file.vob").Telecide(guide=1).BlindPP(cpu2="ooxxxx")
grey = prev.GreyScale()
new = Crop(grey, 0, 0, 0, 2)
new2 = Crop(grey, 0, 2, 0, 0)
return prev.MergeLuma(StackVertical(new, new2))
But this doesn't:
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEGDecoder.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEG2Dec3.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\Decomb.dll")
prev = MPEGSource("G:\file.vob").Telecide(guide=1).BlindPP(cpu2="ooxxxx")
grey = prev.GreyScale()
new = Crop(grey, 0, 0, 0, 2).ShowFrameNumber()
new2 = Crop(grey, 0, 2, 0, 0)
return prev.MergeLuma(StackVertical(new, new2))
Change between first script and second is highlighted. Now I really don't get why a simple ShowFrameNumber would cause an access violation. Basically any filter I place in there causes an access violation (originally I wanted to do a levels correction on "new").
This works:
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEGDecoder.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEG2Dec3.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\Decomb.dll")
prev = MPEGSource("G:\file.vob").Telecide(guide=1).BlindPP(cpu2="ooxxxx")
grey = prev.GreyScale()
new = Crop(grey, 0, 0, 0, 2)
new2 = Crop(grey, 0, 2, 0, 0)
return prev.MergeLuma(StackVertical(new, new2))
But this doesn't:
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEGDecoder.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\MPEG2Dec3.dll")
LoadPlugin("D:\Video\Avisynth\Avisynth\Decomb.dll")
prev = MPEGSource("G:\file.vob").Telecide(guide=1).BlindPP(cpu2="ooxxxx")
grey = prev.GreyScale()
new = Crop(grey, 0, 0, 0, 2).ShowFrameNumber()
new2 = Crop(grey, 0, 2, 0, 0)
return prev.MergeLuma(StackVertical(new, new2))
Change between first script and second is highlighted. Now I really don't get why a simple ShowFrameNumber would cause an access violation. Basically any filter I place in there causes an access violation (originally I wanted to do a levels correction on "new").