[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

premiere filter



> 
> Hi,
> 
> I'm trying to write a filter that will move a clip down a few pixels.  =
> Basically what I want to do is adjust the v-hold of the clip.  Here's =
> the code I have:
> 
> R (src(x, y-ctl(0), 2))
> 
> G (src(x, y-ctl(0), 1))
> 
> B (src(x, y-ctl(0), 0))
> 
> It seems to work in Premiere... the image moves down the amount of the =
> slider ctl(0).  But if you look closely you see everything is actually =
> shaking.  It moves down, but the result is un-useable.  Is there some =
> obvious problem with by code?  Or is there an easier way to adjust the =
> vhold?  Thanks!
> 
> Andrew
> 
Andrew, the only thing I would change in your code is to replace ctl(0)
by val(0,0,Y). This scales the value of the slider 0 between 0 and the 
height of the image (255 becomes the height in pixels,Y).
But this should not make any difference about shaking. It will move all
the frames the same amount. If some frames are going up and some down, 
this will have to be corrected by hand (unless somebody has any idea of
how to do this automatically).
Try this change and see if it gets better.


Alf