Log in

View Full Version : CAVISynth Access violation at <address> with virtualdub and Avisynth


tsk1979
14th November 2022, 08:42
I have multiple sequences of images which I am trying to assemble to a video.
Virtualdub starts making the video, but after a few seconds just errors out with this access violation.

I tried both ffmpeg x265 as well as x264 codecs and crash happens everywhere
18243

Any ideas on what should I do.

I have an Intel i5-8600K and 32GB of RAM

Here is my script
#Blank for intro
titleblank=blankclip(length=72,fps=24,height=2160,width=3840).KillAudio().ConvertToYUY2()
blank=blankclip(length=24,fps=24,height=2160,width=3840).KillAudio().ConvertToYUY2()
#Saggitarious rising
a1=FastDoubler(Imagesource("some path here\images\a-%d.jpg", 1, 276, 12).ConvertToYUY2()).Lanczos4Resize(3840,2160)
#Mount Shasta tracking mount
a2=FastDoubler(Imagesource("some path here\xyz-%d.jpg", 1, 124, 12).ConvertToYUY2()).Lanczos4Resize(3840,2160)
....
...
till a10

Dissolve(titleblank,a1,a2,a3,a4,a5_1,a5_2,a6,a7,a8,a9,a10,10)
#Subtitle("Altitude", font="georgia", size=128, text_color=$ff0000, align=5, first_frame=1, last_frame=100)
#TextSub("title_final.ass")
#
#FastDoubler(a1)
function FastDoubler(clip C)
{
C # Last=C
super=MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
MBlockFps(super,
\ MRecalculate(super,
\ MRecalculate(super,
\ MAnalyse(super,
\ blksize=16, search=3, searchparam=2,
\ plevel=0, badrange=(-24), isb=true),
\ blksize=8, searchparam=0, search=3),
\ blksize=4, searchparam=0, search=3),
\ MRecalculate(super,
\ MRecalculate(super,
\ MAnalyse(super,
\ blksize=16, search=3, searchparam=2,
\ plevel=0, badrange=(-24), isb=false),
\ blksize=8, searchparam=0, search=3),
\ blksize=4, searchparam=0, search=3),
\ num=FramerateNumerator*2, den=FramerateDenominator, mode=2)
return Last
}

FranceBB
14th November 2022, 08:49
Just to be sure, is it Avisynth+ x64 and virtualdub x64?

tsk1979
14th November 2022, 09:00
Just to be sure, is it Avisynth+ x64 and virtualdub x64?

Yes, And I searched the forums. Looks like its mvtools2

I downloaded a newer verison, and my encode has gone beyond the point or earlier crash. I am using ffmpg x265 encoder.

If it goes through, it was the mvtools plugin old version causing the crash