View Single Post
Old 1st August 2008, 19:32   #18  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
While I support the protection of legitimate rights, I find it shocking that anyone could consider mikeytown2's code to be violating anything at all, as he has clearly stated how he came up with it using his own brain.

Out of solidarity, I will add my contribution: there's no need to use global variables, as
Code:
global Efilldrops_d = even.mvflowinter(vbE,vfE,time=50,idx=3)
global Efilldrops_c = even
E = even.scriptclip("""YDifferenceFromPrevious()<=4? Efilldrops_d : Efilldrops_c""")
can be replaced by
Code:
E = even.ConditionalFilter(even.mvflowinter(vbE,vfE,time=50,idx=3), even, \
"YDifferenceFromPrevious()", "<=", "4")
Don't worry, mikeytown2 - I won't be seeking any royalties for this idea.

Last edited by Guest; 1st August 2008 at 21:13. Reason: readability
Gavino is offline   Reply With Quote