PDA

View Full Version : Error while using mvtools + MT ?


Arshad07
18th October 2009, 22:35
SetMtMode(5)
import("E:\Encode\LSFmod.v1.8.avsi")
import("E:\Encode\MCTemporalDenoise.v1.3.00.avsi")
Import("E:\Encode\YLevels_mt.avsi")
Import("E:\Encode\plugins\plugins\MCBob.avsi")
LoadPlugin("E:\Encode\mvtools-v1.11.4.5\mvtools.dll")
LoadPlugin("E:\Encode\fft3dfilter211\FFT3DFilter.dll")
LoadPlugin("E:\Encode\MaskTools.dll")
LoadPlugin("E:\Encode\masktools-v2.0a36\mt_masktools-25.dll")
LoadPlugin("E:\Encode\mvtools-v2.5.3\mvtools2.dll")
LoadPlugin("E:\Encode\gradfun2db_25_dll_20060315\gradfun2db\gradfun2db.dll")
LoadPlugin("E:\Encode\medianblur084\medianblur.dll")
LoadPlugin("E:\Encode\EEDI2v092\EEDI2\EEDI2.dll")
LoadPlugin("E:\Encode\mvtools2.dll")
LoadPlugin("E:\Encode\Hdragc-1.8.7\AGC.dll")
DGDecode_mpeg2source("d:\revista.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate(hybrid=1)
a=Trim(0,11882).Addborders(0,0,2,0).crop( 0, 60, -4, -60).Spline64Resize(856,364)
b=Trim(11883,12120).Addborders(1,0,0,0).crop(8,60,-4,-60).Spline64Resize(856,364)
c=Trim(12121,0).Addborders(0,0,2,0).crop( 0, 60, -4, -60).Spline64Resize(856,364)
a+b+c
SetMtMode(2)
YLevels(6, 1, 255, 0, 255)
Tweak(hue=0.0, sat=1.1, bright=0, cont=.97, coring=true, sse=false)
mdegrain2p2(4,0)
LSFmod(Smode=3,Lmode=1,ss_x=1.0,ss_y=1.0,strength=80)
function MDegrain2p2(clip source, int "overlap", int "dct")
{
overlap=default(overlap,0) # overlap value (0 to 4 for blksize=8)
dct=default(dct,0) # use dct=1 for clip with light flicker
super = source.MSuper()
backward_vec2 = super.MAnalyse(isb = true, delta = 2, overlap=overlap, dct=dct)
forward_vec2 = super.MAnalyse(isb = false, delta = 2, overlap=overlap, dct=dct)
backward_vec4 = super.MAnalyse(isb = true, delta = 4, overlap=overlap, dct=dct)
forward_vec4 = super.MAnalyse(isb = false, delta = 4, overlap=overlap, dct=dct)
source.MDegrain2(super, backward_vec2,forward_vec2,backward_vec4,forward_vec4,thSAD=400)
}



Getting error

http://i33.tinypic.com/11qigzn.jpg

Any help will be appreciated! thx

canuckerfan
18th October 2009, 23:20
hmmm. tough to say really without further testing. you tried it without the setmtmode line?

it is also quite possible that that script is just too slow. you have alot of stuff going on there.

edit: also how does it play when you frameserve the script through some video player?

Arshad07
18th October 2009, 23:26
It plays just fine. If it helps, it crashes during second pass.

Jeremy Duncan
19th October 2009, 04:02
Here are the new dll's I made: link (http://www.mediafire.com/?kghxrwtzmrx) Make sure you have the newest dll's.

GDAce
19th October 2009, 06:57
i think the problem is masktools not mvtools. try loading mt_masktools-26.dll instead of mt_masktools-25.dll

levi
20th October 2009, 01:51
try SetMemoryMax(384) ?

Arshad07
20th October 2009, 03:37
Here are the new dll's I made: link (http://www.mediafire.com/?kghxrwtzmrx) Make sure you have the newest dll's.

still dont work :(

Arshad07
20th October 2009, 03:37
i think the problem is masktools not mvtools. try loading mt_masktools-26.dll instead of mt_masktools-25.dll

mt_masktools-26.dll is for avisynth 2.6 whereas i'm using 2.5.8