Re: FCP X: Problems with FxKeyframeAPI
Re: FCP X: Problems with FxKeyframeAPI
- Subject: Re: FCP X: Problems with FxKeyframeAPI
- From: Peter Litwinowicz <email@hidden>
- Date: Fri, 03 Apr 2015 13:13:12 -0700
- Thread-topic: FCP X: Problems with FxKeyframeAPI
Crap.
Writing keyframes is fairly crucial to a product we are developing. And Motion works just fine.
I think it's related to templates and durations, and all that crap. Perhaps we can figure out how to lie to FCP to get the proper keyframes written (Darrin we will need your help). I set the Motion template to be of duration 1.
Then when I set key times of 0, 50 and 100 internally, I get keys written at times 0 100 and 200. I apply to a 120 frame clip.
I applied to another clip that's 28202 frames, and the keys get written properly at times 0, 50 and 100.
So the problem does indeed be related to duration (of clip only? Of Motion Template? Of both?)
Perhaps Darrin can us what the internal time math is when determining the time to set for a keyframe, and perhaps there's some integer-ization going on, or other some such thing that makes this problem show up? I'm trying to figure out if we can cope with the strange writing of keyframe times by fudging the time we tell FCP. Perhaps not.. ;-)
Pete
From: Eberhard Ammelt < email@hidden> Date: Friday, April 3, 2015 at 1:07 PM To: Peter Litwinowicz < email@hidden> Cc: Pro-Apps-Dev < email@hidden> Subject: Re: FCP X: Problems with FxKeyframeAPI
Hello Pete,
I can confirm this problem for FCP X 10.1.4 as well but didn’t find a workaround. It seems that keyframes times and keyframe values may be changed. I have filed a bug report.
Regards, Eberhard
Hey all, I'm working with FCP 10.1.4, and we are trying to internally set keyframes for our effect.
We notice that keyframe times might be one (or more) frames off. For example, on a 300 frame clip, we try to set a keyframe at time 50, and it shows up at time 49. When going through the keyframes (either via API or with UI in FCP), we get keyframe times can be off a frame or two.
I see this post from Eberhard Ammel from 2 years ago:
I'm trying to set and retrieve keyframes for a floating point slider parameter but experience some problems in FCP X 10.0.5-7 The other issue: When trying to navigate to these keyframes by pressing the previous/next keyframe buttons in the parameter panel, the play head does not always jump to the correct time but may be off by up to 4 frames.
Eberhard, did you every figure out a resolution to this problem?
Darrin, help? Pete
|
_______________________________________________
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