Log in

View Full Version : Fast downsize for proxy editing


Malow
16th March 2008, 15:59
hi, im trying to make a very fast "downsize" script for reduce a 1440x1080i (yuy2) avi file to 480x270p (yv12)

so far this is what ive found to be the fast order and functions.

loadplugin("ColorMatrix.dll")
avisource("Clip 001.avi")
separatefields()
SelectEven()
bilinearresize(480,270)
converttoyv12()
ColorMatrix(source=0, dest=2, clamp=0)

question: there is a function to discard a field directly? to deiterlace whithout use separatefields?

tnks in advance ;)

IanB
16th March 2008, 21:49
Both separatefields() and SelectEven() are zero cost filters, i.e. they just change the parameters representing the video frame data not the data itself. So they effectively discard the field directly.

You may be marginally better of with ConverttoYV12() before BilinearResize().

Malow
16th March 2008, 22:55
tnks for the info IanB! ;)