Getting time offset of layer image param in FCP?
Getting time offset of layer image param in FCP?
- Subject: Getting time offset of layer image param in FCP?
- From: Stonewall Ballard <email@hidden>
- Date: Wed, 19 Nov 2008 16:56:50 -0500
In Motion, a layer used as an image param is naturally synchronized
with the filter's layer, even if they start at different times.
In FCP, I haven't been able to find a way to accomplish this. I would
have thought that timingApi's startTimeOfImageParm:forEffect:,
possibly in conjunction with startTimeForEffect: or
startTimeOfInputToFilter: would let me calculate any time offset
between a layer with a filter and another layer with which it's
composited, and which also is used as an image param. However,
startTimeOfImageParm:forEffect: always returns 0 in my tests.
I've also found that both
timelineTimeFromImageTime:forParmId:forEffect: and
timelineTimeFromInputTime:forFilter: return 0.0 when given a time of
0.0, even though the filtered clip and the image param clip are offset
(differently) from the beginning of the sequence.
What's odder (to me) is that the two examples of built-in FCP filters
that I checked, Difference Matte and Compound Arithmetic, use only the
first frame of an image param. I don't understand the point of that. I
don't have an existence proof that FCP filters can access other layers
at the current time. This, of course, is common in AE and Motion.
Is there a way for a filter in FCP to determine the current frame of
another layer in the same sequence as the filter's layer, when it's
used as an image param?
Thanks.
- Stoney
--
Stonewall Ballard
email@hidden http://stoney.sb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden