seojuhyun
21st October 2014, 11:42
When you wanna compare your video with source,
you can compare easily with this filter.
http://i.imgur.com/b8lRENj.jpg
* Usage *
VAC(width, height, filter="""desc""")
VAC(filter="""desc""")
HAC(width, height, filter="""desc""")
HAC(filter="""desc""")
width - the width what you want
height - the height what you want
desc - the filters what you want
* if you don't put 'width' and 'height', AdjustCompare will use original 'width' and 'height' of the source
* Guide *
VAC(filter="""filter1()""")
VAC(filter="""filter1().filter2()""")
VAC(1280,584,filter="""filter1()""")
########################################################
# AdjustCompare 1.5 - Ali-Express #
# #
# VAC - Vertical Adjust Compare #
# HAC - Horizontal Adjust Compare #
########################################################
#
# 2014, 1.5 - Added autoresize, it adds original width and height, if width and height args are empty
# - Changed the name
# 2013, 1.0 - Built the basic functions
#
########################################################
#
# * Usage *
# VAC(width, height, filter="""desc""")
# VAC(filter="""desc""")
# HAC(width, height, filter="""desc""")
# HAC(filter="""desc""")
#
# width - the width what you want
# height - the height what you want
# desc - the filters what you want
# *if you don't put 'width' and 'height', AdjustCompare will use original 'width' and 'height' of the source
#
# * Guide *
# VAC(filter="""filter1()""")
# VAC(filter="""filter1().filter2()""")
# VAC(1280,584,filter="""filter1()""")
#
#######################################################
function VAC(clip c, int "width", int "height", string "filter")
{
w = Defined(width) ? width : c.width
h = Defined(height) ? height : c.height
src = spline36resize(c,w,h)
top = src.crop(0,0,-0,-(h/2)).subtitle("VAC :: Source",20,35,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
bottom = Eval("src."+filter).crop(0,(h/2),-0,-0).subtitle(filter,20,h/2-25,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
stackvertical(top,bottom)
}
function HAC(clip c, int "width", int "height", string "filter")
{
w = Defined(width) ? width : c.width
h = Defined(width) ? height : c.height
src = spline36resize(c,w,h)
left = src.crop(0,0,-(w/2),-0).subtitle("HAC :: Source",20,35,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
right = Eval("src."+filter).crop((w/2),0,-0,-0).subtitle(filter,20,35,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
stackhorizontal(left,right)
}
Feedback :: Here, or http://howtocookyourideas.tistory.com/2
you can compare easily with this filter.
http://i.imgur.com/b8lRENj.jpg
* Usage *
VAC(width, height, filter="""desc""")
VAC(filter="""desc""")
HAC(width, height, filter="""desc""")
HAC(filter="""desc""")
width - the width what you want
height - the height what you want
desc - the filters what you want
* if you don't put 'width' and 'height', AdjustCompare will use original 'width' and 'height' of the source
* Guide *
VAC(filter="""filter1()""")
VAC(filter="""filter1().filter2()""")
VAC(1280,584,filter="""filter1()""")
########################################################
# AdjustCompare 1.5 - Ali-Express #
# #
# VAC - Vertical Adjust Compare #
# HAC - Horizontal Adjust Compare #
########################################################
#
# 2014, 1.5 - Added autoresize, it adds original width and height, if width and height args are empty
# - Changed the name
# 2013, 1.0 - Built the basic functions
#
########################################################
#
# * Usage *
# VAC(width, height, filter="""desc""")
# VAC(filter="""desc""")
# HAC(width, height, filter="""desc""")
# HAC(filter="""desc""")
#
# width - the width what you want
# height - the height what you want
# desc - the filters what you want
# *if you don't put 'width' and 'height', AdjustCompare will use original 'width' and 'height' of the source
#
# * Guide *
# VAC(filter="""filter1()""")
# VAC(filter="""filter1().filter2()""")
# VAC(1280,584,filter="""filter1()""")
#
#######################################################
function VAC(clip c, int "width", int "height", string "filter")
{
w = Defined(width) ? width : c.width
h = Defined(height) ? height : c.height
src = spline36resize(c,w,h)
top = src.crop(0,0,-0,-(h/2)).subtitle("VAC :: Source",20,35,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
bottom = Eval("src."+filter).crop(0,(h/2),-0,-0).subtitle(filter,20,h/2-25,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
stackvertical(top,bottom)
}
function HAC(clip c, int "width", int "height", string "filter")
{
w = Defined(width) ? width : c.width
h = Defined(width) ? height : c.height
src = spline36resize(c,w,h)
left = src.crop(0,0,-(w/2),-0).subtitle("HAC :: Source",20,35,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
right = Eval("src."+filter).crop((w/2),0,-0,-0).subtitle(filter,20,35,0,c.framecount,"tahoma",20,$FF0000,$000000,4,0)
stackhorizontal(left,right)
}
Feedback :: Here, or http://howtocookyourideas.tistory.com/2