Start frame number of a clip
Start frame number of a clip
- Subject: Start frame number of a clip
- From: Lyndon Hill <email@hidden>
- Date: Sun, 03 May 2015 14:38:23 +0100
Hi
I’m trying to get the start frame and end frame numbers from a clip that my filter is working on, on the timeline.
double start = [timingApi startTimeForEffect:self];
double duration = [timingApi durationForEffect:self];
However start always gives the start with reference to the timeline and doesn’t handle trimmed start.
Just in case my explanation is not clear; say I start a new project, add a 100 frame clip to the timeline and trim the first 20 frames. The code above gives a start of 0 and duration 80. I need to know that the start is now at frame 20.
There was discussion about this feature on the ML back in 2009, see http://lists.apple.com/archives/pro-apps-dev/2009/Oct/msg00005.html
I guess it could have been implemented in FxTimingAPI_v3 but I can’t find the reference documentation for this. The FxPlug SDK documentation (https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/FXPlug_overview/APIOverview/APIOverview.html) has many protocols that are not documented/linked.
thanks in advance
Lyndon Hill
_______________________________________________
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