so, ich hab nochn bischen gebastelt und hab noch etwas mehr rausquetschen koennen:
Code
import("vd_wnr.avs")loadplugin("dgbob.dll")loadplugin("loadpluginex2.dll")loadplugin("convolution3d.dll")loadplugin("chromashift.dll")input=avisource("test.avi")x=input.chromashift(L=-6).tweak(sat=0.5).dgbob(order=1)layer(trim(x,1,0),x,"fast")convertToRGB().VD_WNR(0, 0, 0, 0, 0, 180, \0, 0, 0, 0, 0, 0, \0, 0, 0, 0, 0, 0).converttoyuy2()convolution3d(0, 7, 20, 20, 50, 8, 0)separatefields().selectevery(4,1,2).weave()
die datei VD_WNR.avs enthaelt folgendes:
Code
function VD_WNR(clip clip, int Y_X0, int Y_Y0, int Y_X1, int Y_Y1, int Y_X2, int Y_Y2,
\ int Cb_X0, int Cb_Y0, int Cb_X1, int Cb_Y1, int Cb_X2, int Cb_Y2,
\ int Cr_X0, int Cr_Y0, int Cr_X1, int Cr_Y1, int Cr_X2, int Cr_Y2)
{
LoadVirtualdubPlugin("wnr.vdf", "_VD_WNR", 0)
return clip._VD_WNR( Y_X0*256+ Y_Y0, Y_X1*256+ Y_Y1, Y_X2*256+ Y_Y2,
\ Cb_X0*256+Cb_Y0, Cb_X1*256+Cb_Y1, Cb_X2*256+Cb_Y2,
\ Cb_X0*256+Cr_Y0, Cr_X1*256+Cr_Y1, Cr_X2*256+Cr_Y2)
}
und nun der vorher-nachher vergleich: