Log in

View Full Version : PlaneMinMax


ghstkhp
31st July 2013, 07:34
Hello
i am trying to get YUV information using PlaneMinMax
but i get this error "i dont know what YMin means ....."
does any body know how i can get YMin in my script?

i am using avisynth 2.6.0.2 but i have tried it on 2.5.8.5

thanks

code:
directshowsource("test.mkv")
PlaneMinMax(1, 1, "YMin")
Subtitle(string(YMin))
....

Gavino
31st July 2013, 09:34
Subtitle(string(YMin))
Needs to be
ScriptClip("Subtitle(string(YMin))", after_frame=true)
Instead of PlaneMinMax, you could also just directly use the standard YPlaneMin() function:
directshowsource("test.mkv")
ScriptClip("Subtitle(string(YPlaneMin()))")

ghstkhp
31st July 2013, 20:55
thank you for your reply.