LoadPlugin("C:\PROGRA~1\DGMPGDec\DGDecode.dll") # If Videos start at different frames frameadjust=0 # Videos to compare: (v1 is original, v2 is encoded or whatever) v1 = MPEG2Source("c:\Eigene Dateien\skripte\ranma.d2v").trim(frameadjust,0) v2 = AviSource("c:\Eigene Dateien\skripte\skript_mit_filter.avs",false) sub = v1.subtract(v2) substrong = sub.levels(122,1,132,0,255) return StackVertical(StackHorizontal(v1.subtitle("original"),v2.subtitle("filtered")),StackHorizontal(sub.subtitle("Difference"),substrong.subtitle("Difference amplified")))