David,
Using this
Code:
Avisource("D:\avs\test.avi")#.Trim(0,-2*1280)
function fingerprint(clip a, int h) {
rgb=a.converttorgb32
resized=rgb.bicubicresize(a.width,h)
fingerprinted=resized.fingerprint
stack=stackvertical(rgb,fingerprinted.bicubicresize(rgb.width,fingerprinted.height))
return stack
}
Last.fingerprint(128)
I get, "Iinvalid arguments to function fingerprint".
changing to
Code:
Avisource("D:\avs\test.avi")#.Trim(0,-2*1280)
function fingerprintB(clip a, int h) {
rgb=a.converttorgb32
resized=rgb.bicubicresize(a.width,h)
fingerprinted=resized.fingerprint
stack=stackvertical(rgb,fingerprinted.bicubicresize(rgb.width,fingerprinted.height))
return stack
}
Last.fingerprintB(128)
"There is no function named fingerprint".
How should it be called (and yes, probably a bad idea to have same name function as plugin, as user function name overrides plugin_name/builtin_Avisynth_name).
@Keiyakusha, you've made "fph" an optional argument, without a default.
EDIT: I'm also seeing a date of 11 May 2013 for the Fingerprint.dll ? EDIT: Oops, thats the day you made first post on it.
EDIT: I seem to recall a plugin called WarpResize.