jmac698
23rd February 2006, 06:18
Hi,
this is my first filter. I'm trying to duplicate decomb in script form, this is very rough but something like:
#decomb as a script
clip=avisource("test.avi")
weave=weave(clip)
bob=tdeint(clip)
conditionalfilter(weave,bob,weave,"IsCombed()","equals","true")
I'm not sure if conditialfilter works on every frame or I need frameevaluate somehow. I want to pick a frame from the weave or bob clips depending on iscombed. It's that simple.
Next question, how do I make it a function I can pass a clip to.
Next question, put iscombed into a variable because I need to work on two clips at once.
I want to return frames from weave1 and weave2, or bob1 and bob2, which will get merged later.
thx
this is my first filter. I'm trying to duplicate decomb in script form, this is very rough but something like:
#decomb as a script
clip=avisource("test.avi")
weave=weave(clip)
bob=tdeint(clip)
conditionalfilter(weave,bob,weave,"IsCombed()","equals","true")
I'm not sure if conditialfilter works on every frame or I need frameevaluate somehow. I want to pick a frame from the weave or bob clips depending on iscombed. It's that simple.
Next question, how do I make it a function I can pass a clip to.
Next question, put iscombed into a variable because I need to work on two clips at once.
I want to return frames from weave1 and weave2, or bob1 and bob2, which will get merged later.
thx