zeldAIS
30th May 2008, 06:31
Hi :)
I'm having this error randomly -
Evaluate: system exception - Access Violation
("D:\blahblahblah\script.avs", line 7)
here's the avisynth code i used. Line 7 is the AviSource of b.
LoadVirtualDubPlugin("D:\VirtualDubMod_1_5_10_2_All_inclusive\plugins\Logo.vdf","Logo",0)
a = AVISource("video1.avi")
a = a.ChangeFPS(23.97)
a = a.ResampleAudio(48000)
b = AVISource("video.avi").ConvertToRGB()
b = b.Logo(5, 5, 60, 2, 35, 195, 35, 5, "logo.bmp", 0, 0, 0, 0, 0, 0, 0).ConvertToYV12()
b = b.converttoyuy2(interlaced=true)
b = b.AssumeFieldBased()
b = b.converttoyv12()
b = b.tweak(sat=1.14,bright=-5,cont=1.05)
b = b.limitedsharpenfaster()
b = b.Convolution3d(preset="movieHQ")
b = b.Removegrain(2)
b = b.Tomsmocomp(-1,1,1)
b = b.Sharpen(.2)
b = b.BicubicResize(640, 480, 0, 0.75)
b = b.ChangeFPS(23.97)
b = b.ResampleAudio(48000)
b = b.TextSub("subs.ass")
b = b.Normalize()
b = b.Trim(1,0)
c = AVISource("video2.avi")
c = c.ChangeFPS(23.97)
c = c.ResampleAudio(48000)
a+b+c
and it's quite odd that it shows up randomly when i click preview at AVSEdit and also when i queue the .avs file at megui, it just gives me that error randomly also O_o I thought it was working at first because the preview will be ok, then when i tried the preview again and again, it works fine then randomly gives me that error after i clicked preview again randomly o_O
since i usually encode in two pass at megui, after the first pass, it gives me the error and it won't go to the 2nd pass. here's the log at megui after pass 1.
------------------------------------------------------
Starting job job1 at 11:13:24 PM
Starting preprocessing of job...
Preprocessing finished!
successfully started encoding
Processing ended at 12:32:06 AM
------------------------------------------------------
Log for job job1
Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 871 --stats "D:\video.stats" --bframes 16 --b-pyramid --direct auto --filter -2,-1 --subme 1 --partitions none --me dia --merange 8 --threads auto --thread-input --sar 1:1 --cqmfile "D:\M4G-HighDetail-V3.1.cfg" --progress --no-psnr --no-ssim --output NUL "D:\video.avs"
avis [info]: 640x480 @ 23.97 fps (36931 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMX2 SSE SSE2 SSE3 Cache64
x264 [info]: slice I:332 Avg QP:25.51 size: 17590
x264 [info]: slice P:19169 Avg QP:27.82 size: 6254
x264 [info]: slice B:17430 Avg QP:29.19 size: 2281
x264 [info]: mb I I16..4: 36.6% 0.0% 63.4%
x264 [info]: mb P I16..4: 23.9% 0.0% 0.0% P16..4: 53.4% 0.0% 0.0% 0.0% 0.0% skip:22.7%
x264 [info]: mb B I16..4: 1.5% 0.0% 0.0% B16..8: 26.0% 0.0% 0.0% direct:19.5% skip:53.1%
x264 [info]: final ratefactor: 26.71
x264 [info]: direct mvs spatial:99.5% temporal:0.5%
x264 [info]: kb/s:859.2
encoded 36931 frames, 7.83 fps, 859.37 kb/s
------------------------------------------------------
End of log for job1
------------------------------------------------------
do you think it's because of the original encode properties of the video? I've tried using DirectShowSouce instead of AVISource but the problem is, megui auto-closes/disappears everytime i was gonna queue it or compute using the Bitrate Calculator when i use DirectShowSource. I was also thinking of using Virtualdub's frameserver but that would mean i have to encode using 1-pass (or is it possible for a 2-pass using frameserver? Though I doubt it will work also as it's like 1-pass will already give an error and also in the 1st pass of the 2-pass encoding >_<).
Help in solving this will be much much appreciated. *bows deeply*
I'm having this error randomly -
Evaluate: system exception - Access Violation
("D:\blahblahblah\script.avs", line 7)
here's the avisynth code i used. Line 7 is the AviSource of b.
LoadVirtualDubPlugin("D:\VirtualDubMod_1_5_10_2_All_inclusive\plugins\Logo.vdf","Logo",0)
a = AVISource("video1.avi")
a = a.ChangeFPS(23.97)
a = a.ResampleAudio(48000)
b = AVISource("video.avi").ConvertToRGB()
b = b.Logo(5, 5, 60, 2, 35, 195, 35, 5, "logo.bmp", 0, 0, 0, 0, 0, 0, 0).ConvertToYV12()
b = b.converttoyuy2(interlaced=true)
b = b.AssumeFieldBased()
b = b.converttoyv12()
b = b.tweak(sat=1.14,bright=-5,cont=1.05)
b = b.limitedsharpenfaster()
b = b.Convolution3d(preset="movieHQ")
b = b.Removegrain(2)
b = b.Tomsmocomp(-1,1,1)
b = b.Sharpen(.2)
b = b.BicubicResize(640, 480, 0, 0.75)
b = b.ChangeFPS(23.97)
b = b.ResampleAudio(48000)
b = b.TextSub("subs.ass")
b = b.Normalize()
b = b.Trim(1,0)
c = AVISource("video2.avi")
c = c.ChangeFPS(23.97)
c = c.ResampleAudio(48000)
a+b+c
and it's quite odd that it shows up randomly when i click preview at AVSEdit and also when i queue the .avs file at megui, it just gives me that error randomly also O_o I thought it was working at first because the preview will be ok, then when i tried the preview again and again, it works fine then randomly gives me that error after i clicked preview again randomly o_O
since i usually encode in two pass at megui, after the first pass, it gives me the error and it won't go to the 2nd pass. here's the log at megui after pass 1.
------------------------------------------------------
Starting job job1 at 11:13:24 PM
Starting preprocessing of job...
Preprocessing finished!
successfully started encoding
Processing ended at 12:32:06 AM
------------------------------------------------------
Log for job job1
Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 871 --stats "D:\video.stats" --bframes 16 --b-pyramid --direct auto --filter -2,-1 --subme 1 --partitions none --me dia --merange 8 --threads auto --thread-input --sar 1:1 --cqmfile "D:\M4G-HighDetail-V3.1.cfg" --progress --no-psnr --no-ssim --output NUL "D:\video.avs"
avis [info]: 640x480 @ 23.97 fps (36931 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMX2 SSE SSE2 SSE3 Cache64
x264 [info]: slice I:332 Avg QP:25.51 size: 17590
x264 [info]: slice P:19169 Avg QP:27.82 size: 6254
x264 [info]: slice B:17430 Avg QP:29.19 size: 2281
x264 [info]: mb I I16..4: 36.6% 0.0% 63.4%
x264 [info]: mb P I16..4: 23.9% 0.0% 0.0% P16..4: 53.4% 0.0% 0.0% 0.0% 0.0% skip:22.7%
x264 [info]: mb B I16..4: 1.5% 0.0% 0.0% B16..8: 26.0% 0.0% 0.0% direct:19.5% skip:53.1%
x264 [info]: final ratefactor: 26.71
x264 [info]: direct mvs spatial:99.5% temporal:0.5%
x264 [info]: kb/s:859.2
encoded 36931 frames, 7.83 fps, 859.37 kb/s
------------------------------------------------------
End of log for job1
------------------------------------------------------
do you think it's because of the original encode properties of the video? I've tried using DirectShowSouce instead of AVISource but the problem is, megui auto-closes/disappears everytime i was gonna queue it or compute using the Bitrate Calculator when i use DirectShowSource. I was also thinking of using Virtualdub's frameserver but that would mean i have to encode using 1-pass (or is it possible for a 2-pass using frameserver? Though I doubt it will work also as it's like 1-pass will already give an error and also in the 1st pass of the 2-pass encoding >_<).
Help in solving this will be much much appreciated. *bows deeply*