Log in

View Full Version : mt_makediff error .. Problem with mrestore .. whole R_Pack


ankurs
17th August 2007, 15:22
well i am trying to call in mrestore in my script so i can encode @ 25 fps but i get the following error when i preview/open script in both megui n also vdub .. i"ve tried a ell lot of times to fix it .. i"ve tried almost all versions of it n also copied the code from the original thread but i am always getting same error .. here have a look ...

http://img518.imageshack.us/img518/3582/error2wf6.jpg

also when i try to scroll in the preview window after this error i get this error ..

http://img516.imageshack.us/img516/3329/error1ry0.jpg

this is the script frm which i am trying to encode it ...


LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TDeint.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Vinverse.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\ylevelsS.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\soothe.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Mrestore.avs")


DGDecode_mpeg2source("C:PATH,cpu=3)
tdeint(mode=1).mrestore().vinverse()
crop()
Lanczos4Resize(624,256)
fft3dfilter(bt=3, ...)
dull = last.Lanczos4Resize(624,304)
YlevelsS(0,...).Tweak(...)
sharp = dull.LimitedSharpen(...)
soothe(...)



do help me out in solving this problem :S .. :thanks: in advance :devil:

P.S : I am gettiong the same error with everything which i try to use frm the R_Pack by MOmonster ..

Didée
17th August 2007, 15:32
What version of Avisynth do you have installed? (Load a 1-line script wit just "version()" in it to see)

ankurs
17th August 2007, 15:39
What version of Avisynth do you have installed? (Load a 1-line script wit just "version()" in it to see)

i use the modified 2.5.6 version of avisynth ...

Didée
17th August 2007, 15:44
What kind of "modified" version?

Usually, if there is an error "there is no function named mt_XYZ" although mt_masktools.dll is loaded, it's because mt_masktools needs at least Avisynth v2.5.6, and won't work with versions before v2.5.6.

ankurs
17th August 2007, 15:45
here is the error when i open the same script in vdub .. also one thing is wierd tht in megui i get error on line 23 whilst here vdub is saying line 26 .. here have a look

[CENTRE]http://img505.imageshack.us/img505/9415/error3ag7.png[CENTRE/]

ankurs
17th August 2007, 15:47
What kind of "modified" version?

Usually, if there is an error "there is no function named mt_XYZ" although mt_masktools.dll is loaded, it's because mt_masktools needs at least Avisynth v2.5.6, and won't work with versions before v2.5.6.

it is avisynth version v2.5.6 ...

Didée
17th August 2007, 15:59
Strange. Wrong version of mt_masktools, perhaps? Delete mt_masktools.dll from your plugins folder, download the latest version (http://manao4.free.fr/masktools-v2.0a32.zip) & extract it again.

ankurs
17th August 2007, 16:08
Strange. Wrong version of mt_masktools, perhaps? Delete mt_masktools.dll from your plugins folder, download the latest version (http://manao4.free.fr/masktools-v2.0a32.zip) & extract it again.

i did update as u said didee but it still is giving the same error :s .. as far as i think it is something with mrestore() not masktools :S as it also says for the line error in the mrestore.avs script .. also i"ve also got a dualcore processer but when i try to use MT n i recall it in my script i also get error then .. wait lemme take a screen n show tht also ..

P.S : I have extracted the dll"s required for MT to my system 32 folder ..

ankurs
17th August 2007, 16:20
here u go didee .. this is the error which i get when i try to use MT in megui n also vdub .. after this both of them crash ...

http://img262.imageshack.us/img262/2844/mterrorlz8.jpg

also here is the same script which i am using to use multi threading ...


SetMemoryMax(1024)

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TDeint.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\warpsharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Vinverse.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\ylevelsS.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\soothe.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Mrestore.avs")

DGDecode_mpeg2source("C:PATH,cpu=3)

tdeint(mode=1).vinverse()

crop(...)

Lanczos4Resize(624,256)

fft3dfilter(bt=3,..)

dull = last.Lanczos4Resize(624,304)

YlevelsS(..).Tweak(..)

sharp = dull.MT("LimitedSharpen(ss_x=1.5,ss_y=1.5,Smode=3,strength=58,overshoot=1),3")

sootheMT(sharp,dull,60)




P.S : I didnt use mrestore myself because of the former error :S ..

Didée
17th August 2007, 17:09
I've no clue about the MT stuff, only have old singlecore machines. I'm not using MeGUI either, though heard that it's sometimes a little .. particular.

Maybe someone else has an idea.

Anyway - are the following lines really like they appear in your script:

DGDecode_mpeg2source("C:PATH,cpu=3)
...
sharp = dull.MT("LimitedSharpen(ss_x=1.5,ss_y=1.5,Smode=3,strength=58,overshoot=1),3")

The mpeg2source line is missing the closing quotes.
The MT line has the closing quotes at the wrong place, should be ...shoot=1)",3)

Probably those are errors from transferring the script from there to here. However, it's hard to judge where script errors come from, if the posted script is not correct ...

ankurs
17th August 2007, 17:16
I've no clue about the MT stuff, only have old singlecore machines. I'm not using MeGUI either, though heard that it's sometimes a little .. particular.

Maybe someone else has an idea.

Anyway - are the following lines really like they appear in your script:

DGDecode_mpeg2source("C:PATH,cpu=3)
...
sharp = dull.MT("LimitedSharpen(ss_x=1.5,ss_y=1.5,Smode=3,strength=58,overshoot=1),3")

The mpeg2source line is missing the closing quotes.
The MT line has the closing quotes at the wrong place, should be ...shoot=1)",3)

Probably those are errors from transferring the script from there to here. However, it's hard to judge where script errors come from, if the posted script is not correct ...

PATH i wrote myself so it would b easy for u ... in the script thier is the real path .. n yh thnxx for helping me out on the second LS line :) .. now help me solve the real problem plzz !! lol !!

ankurs
17th August 2007, 17:20
even after putting the quote"s right even then i get the same error also on MT ...

Didée
17th August 2007, 17:35
Don't do everything at once. For the moment, forget that something like MT even does exist, and try to get the simple stuff working.

What I'd do is to clear your Avisynth/plugins folder, i.e. move all *dll's and *avs / *avsi to another location, then load all needed plugins manually one by one from there. (e.g. "Avisynth/_plugins/", for the ease of typing.)
The autoloading feature from the standard plugins folder is a comfortable thing, but it *does* create problems with certain plugins. And *if* that's the case, there's no trace to the cause of the problem. You only know for sure when the culprit has disappeared from the plugins folder.

ankurs
17th August 2007, 17:53
Don't do everything at once. For the moment, forget that something like MT even does exist, and try to get the simple stuff working.

What I'd do is to clear your Avisynth/plugins folder, i.e. move all *dll's and *avs / *avsi to another location, then load all needed plugins manually one by one from there. (e.g. "Avisynth/_plugins/", for the ease of typing.)
The autoloading feature from the standard plugins folder is a comfortable thing, but it *does* create problems with certain plugins. And *if* that's the case, there's no trace to the cause of the problem. You only know for sure when the culprit has disappeared from the plugins folder.

i did as u said didee .. but still i am getting the same error on mrestore also and also MT .. i put all the plugins here C:/Plugins

i loaded them all from here in my script .. even then it isnt workin .. i can do without MT .. but i want to get this mresotre/r_pack() problem solved :( .. plzz help anyone ... :confused:

P.S :without MT everything works finely when i also dont call mrestore() in my script ... with it the same error :( !!

Didée
17th August 2007, 18:16
Not sure if I'm truly following you what works with or without what, or not ...

Step by step.

Given that the folder \Avisynth\plugins\ is empty, does the following script work when you open it in VirtualDub:

LoadPlugin("C:\Plugins\DGDecode.dll")
LoadPlugin("C:\Plugins\mt_masktools.dll")

DGDecode_mpeg2source("C:\path\to\source.d2v")

mt_lut("255 x -",U=2,V=2)

return( last )

?

ankurs
17th August 2007, 18:25
Not sure if I'm truly following you what works with or without what, or not ...

Step by step.

Given that the folder \Avisynth\plugins\ is empty, does the following script work when you open it in VirtualDub:

LoadPlugin("C:\Plugins\DGDecode.dll")
LoadPlugin("C:\Plugins\mt_masktools.dll")

DGDecode_mpeg2source("C:\path\to\source.d2v")

mt_lut("255 x -",U=2,V=2)

return( last )

?

http://img402.imageshack.us/img402/5901/testerroraj7.jpg

:( :confused:

Didée
17th August 2007, 18:30
Something's broken. Re-install Avisynth.

ankurs
17th August 2007, 18:54
Something's broken. Re-install Avisynth.

ok .. brb in 5 mins lol

ankurs
17th August 2007, 19:21
yahoo .. its working now :D.. thnxx a ton didee .. u da man :thumbup: