Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st February 2012, 19:34 | #1 | Link |
Registered User
Join Date: Nov 2011
Posts: 7
|
AverageLuma: Invalid Arguments
I get a Script error: Invalid arguments to function "AverageChromaU" on this script. Does anyone know what the problem is?
If I display yvmask with info() it says that it is YV12. Code:
LoadPlugin("C:\Users\1337\Desktop\video\megui\tools\dgindex\DGDecode.dll") DGDecode_mpeg2source("C:\Users\1337\Desktop\soooyeon.d2v", info=3) LoadPlugin("C:\Users\1337\Desktop\video\megui\tools\avisynth_plugin\ColorMatrix.dll") Load_Stdcall_plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll") ColorMatrix(hints=true, threads=0) yadif() crop(440,0,-440,0) clip=last vectors = clip.MSuper().MAnalyse(isb = false,truemotion=false) mask=MMask(vectors,ml=50) yvmask=mask.converttoyv12() clip.subtitle(string(AverageChromaU(yvmask)),align=7) Code:
ScriptClip(clip, "Subtitle(String(AverageChromaU(yvmask)))") Code:
clip.subtitle(string(AverageChromaU(yvmask)),align=7) Last edited by wlndd6; 21st February 2012 at 20:06. |
Thread Tools | Search this Thread |
Display Modes | |
|
|