Log in

View Full Version : problems with SmartDecimate


scrtagt69
22nd August 2004, 20:13
Hello All,
I just started reading bout this smartdecimate and wanted to use it, but it doesnt work. Im using AVSEdit for Avisynth 2.5, and i have all my dlls in the plugins folder. here is what im using.

loadplugin("D:\Program Files\AviSynth 2.5\plugins\avisynth_c.dll")
loadCplugin("D:\Program Files\AviSynth 2.5\plugins\SmartDecimate.dll")
MPEG2Source("D:\Documents and Settings\Administrator\Desktop\rips\lunatics.d2v",cpu=4,iPP=true)
DeDot()

b=DGBob(FOrder(),mode=1)
SeparateFields()
SmartDecimate(24,60,b,0.50)
KernelDeint(FOrder())

function FOrder(clip c) {
fo= GetParity(c)? 1:0
return fo
}
now when i hit the f5 button to view the video it closes the editor completely. i even tried opening it up in WMP and it just opens and closes. now as soon as i remove the avisynth_c.dll it doesnt close anymore, but of course i cant use smartdecimate w/o that dll. is there something im missing?

scharfis_brain
22nd August 2004, 20:53
ermmm, you script is somewhat weird and leads smartdecimate producing errors like the one you're dealing with.


try this script:

function FOrder(clip c) {
fo= GetParity(c)? 1:0
return fo
}

loadplugin("D:\Program Files\AviSynth 2.5\plugins\avisynth_c.dll")
loadCplugin("D:\Program Files\AviSynth 2.5\plugins\SmartDecimate.dll")
MPEG2Source("D:\Documents and Settings\Administrator\Desktop\rips\lunatics.d2v",cpu=4,iPP=true)
DeDot()
converttoyuy2(interlaced=true)
b=DGBob(FOrder(),mode=1)
SmartDecimate(24,60,b,tel=0.50)




never put a deinterlacer after smartdeimate, it will destroy the image quality unnecessary.

scrtagt69
22nd August 2004, 22:11
thanks for the reply, no that didnt do anything, the exact same thing..just closes the avs editor when i hit f5. :(

scharfis_brain
22nd August 2004, 22:26
place smartdecimate & avisynth_c in different directories.
(so you have 3 directories)

scrtagt69
22nd August 2004, 23:45
no just 2 directories...one for all my plugins(dlls) and the other has my d2v file. i tried what u told me and now i get this error.

http://www.geocities.com/ojordonez/pic/error.gif

now i get that when i hit f5 or when i try to open with media player. this is what my script now looks like.

function FOrder(clip c) {
fo= GetParity(c)? 1:0
return fo
}

loadplugin("D:\Program Files\AviSynth 2.5\avisynth_c.dll")
loadCplugin("D:\Program Files\AviSynth 2.5\plugins\SmartDecimate.dll")
MPEG2Source("D:\Documents and Settings\Administrator\Desktop\rips\lunatics.d2v",cpu=4,iPP=true)
DeDot()
converttoyuy2(interlaced=true)
b=DGBob(FOrder(),mode=1)
SmartDecimate(24,60,b,tel=0.50)

scrtagt69
7th September 2004, 17:15
in case anyone is interested, i finally solved that error. i removed this dll avisynth_c.dll from my system32 folder from my winxp OS. funny thing is though, it never crashed at all, only when i tried smart decimate.