In a FxFilter, at the currentTime, I want to know how many frames I am from the start of the Input image video. How can I get that?
Not the current frame in the Clip, nor Timeline. But the current frame in the Input video.
I've read through all the docs I can find. The docs for timing API's "-startTimeOfInputToFilter" seems to say this is what it does. But, in practice, it seems to return same results as -startTimeOfEffect, which is the number of timeline frames to the start of the Clip (not Input).
But, so far, nothing seems to work. Everything looks good, until I cut a clip in half. Then the 2nd half of the FxFilter is giving numbers that seems to measure frames from start of clip... not the frame number of the input video the FxFilter is operating on.
This seems to be true for all the API calls that I've tried. (And I've tried a lot.)
Could you please tell me which API call is supposed to return the current frame number of the Input video?
-- Brian
|