KR
4th November 2008, 06:28
Hello everyone !
I'm having some trouble with either AviSynth or the plugins I use, and I'm totally clueless about how to isolate the problem.
Having loaded my avs in Vdubmod for some additionnal processing and encoding, it would keep crashing, and I'd sometimes get what seemed like memory leaks.
The memory leaks are gone now that I replaced fft3dgpu by fft3dfilter, but it's sad because it is now about 3 times slower.
Having noticed that VDubmod would keep crashing at the exact same frame of my first clip, I tried with the other clips and after more than 3 days of the computer doing non-stop post-processing, haven't had a single problem.
Now I'm left with my first clip. VDubMod crashes at frame #737. Always.
I updated MVTools to 2.0.9.1, and modified my script to the new syntax. Still crashing.
I opened the avs in Media Player Classic Homecinema to see if it would crash also.
No crash, but after a certain frame it jumps a few frames and I get a black screen with a red message (I think it's an AviSynth message, which is why I post in this forum).
The message is:
CAVIStreamSynth: System exception - Access violation at 0x0, reading from 0x0.
BTW, the file which is loaded by my avs script (1440x1080 Huffyuv, in YUV format, with 48 kHz stereo PCM uncompressed) is not corrupted, it can be read by both MPC-HC and VDubMod flawlessly.
Here's my avs script:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")
Import("C:\Program Files\AviSynth 2.5\Scripts\2dcleaner.avsi")
Import("C:\Program Files\AviSynth 2.5\Scripts\limited sharpen.avsi")
AVISource("input1.avi").AssumeFrameBased
filtered = ConverttoRGB32(matrix="Rec709").VD_2DCleaneroptp3(8, 5, 5).ConvertBacktoYUY2(matrix="Rec709")
super = MVSuper(hpad=16, vpad=16, pel=2, chroma=true, sharp=1, rfilter=1)
superfiltered = MVSuper(filtered, hpad=16, vpad=16, pel=2, chroma=true, sharp=1, rfilter=1)
backward_vec1 = MVAnalyse(superfiltered, blksize=8, search=3, searchparam=8, isb = true, chroma=false, delta=1, truemotion=true, overlap=4)
forward_vec1 = MVAnalyse(superfiltered, blksize=8, search=3, searchparam=8, isb = false, chroma=false, delta=1, truemotion=true, overlap=4)
MVDeGrain1(super, backward_vec1, forward_vec1, thSAD=512, thSADC=512, plane=4, limit=255, thSCD1=512, thSCD2=128)
LimitedSharpen(ss_x=1, ss_y=1, Smode=3, strength=100, Lmode=1, wide=false, overshoot=0, soft=1, edgemode=0, special=true)
ConverttoRGB32(matrix="Rec709")
I'm 100% certain that 2dcleaner is not the problem. It wasn't in my script in the beginning and VDubMod still crashed at frame #737.
Also, at some point I replaced MVDegrain1 by a few MVCompensates, interleave, temporal denoiser, select every 3,1 and still it crashed at frame #737.
Any advice/tip will be appreciated.
Thank you very much !
I'm having some trouble with either AviSynth or the plugins I use, and I'm totally clueless about how to isolate the problem.
Having loaded my avs in Vdubmod for some additionnal processing and encoding, it would keep crashing, and I'd sometimes get what seemed like memory leaks.
The memory leaks are gone now that I replaced fft3dgpu by fft3dfilter, but it's sad because it is now about 3 times slower.
Having noticed that VDubmod would keep crashing at the exact same frame of my first clip, I tried with the other clips and after more than 3 days of the computer doing non-stop post-processing, haven't had a single problem.
Now I'm left with my first clip. VDubMod crashes at frame #737. Always.
I updated MVTools to 2.0.9.1, and modified my script to the new syntax. Still crashing.
I opened the avs in Media Player Classic Homecinema to see if it would crash also.
No crash, but after a certain frame it jumps a few frames and I get a black screen with a red message (I think it's an AviSynth message, which is why I post in this forum).
The message is:
CAVIStreamSynth: System exception - Access violation at 0x0, reading from 0x0.
BTW, the file which is loaded by my avs script (1440x1080 Huffyuv, in YUV format, with 48 kHz stereo PCM uncompressed) is not corrupted, it can be read by both MPC-HC and VDubMod flawlessly.
Here's my avs script:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")
Import("C:\Program Files\AviSynth 2.5\Scripts\2dcleaner.avsi")
Import("C:\Program Files\AviSynth 2.5\Scripts\limited sharpen.avsi")
AVISource("input1.avi").AssumeFrameBased
filtered = ConverttoRGB32(matrix="Rec709").VD_2DCleaneroptp3(8, 5, 5).ConvertBacktoYUY2(matrix="Rec709")
super = MVSuper(hpad=16, vpad=16, pel=2, chroma=true, sharp=1, rfilter=1)
superfiltered = MVSuper(filtered, hpad=16, vpad=16, pel=2, chroma=true, sharp=1, rfilter=1)
backward_vec1 = MVAnalyse(superfiltered, blksize=8, search=3, searchparam=8, isb = true, chroma=false, delta=1, truemotion=true, overlap=4)
forward_vec1 = MVAnalyse(superfiltered, blksize=8, search=3, searchparam=8, isb = false, chroma=false, delta=1, truemotion=true, overlap=4)
MVDeGrain1(super, backward_vec1, forward_vec1, thSAD=512, thSADC=512, plane=4, limit=255, thSCD1=512, thSCD2=128)
LimitedSharpen(ss_x=1, ss_y=1, Smode=3, strength=100, Lmode=1, wide=false, overshoot=0, soft=1, edgemode=0, special=true)
ConverttoRGB32(matrix="Rec709")
I'm 100% certain that 2dcleaner is not the problem. It wasn't in my script in the beginning and VDubMod still crashed at frame #737.
Also, at some point I replaced MVDegrain1 by a few MVCompensates, interleave, temporal denoiser, select every 3,1 and still it crashed at frame #737.
Any advice/tip will be appreciated.
Thank you very much !