Re: Start frame number of a clip
Re: Start frame number of a clip
- Subject: Re: Start frame number of a clip
- From: Darrin Cardani <email@hidden>
- Date: Mon, 04 May 2015 08:19:41 -0700
Lyndon,
Which version of which app are you seeing the problem in? We have some reports of issues with FCPX 10.2 in this area, and I suspect this is another manifestation of the same issue. However, I’d like to be sure. If you could supply the above info, that would be helpful.
Darrin
> On May 3, 2015, at 6:38 AM, Lyndon Hill <email@hidden> wrote:
>
> 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
_______________________________________________
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