Re: FxTemporalImageAPI
Re: FxTemporalImageAPI
- Subject: Re: FxTemporalImageAPI
- From: Paul Schneider <email@hidden>
- Date: Thu, 15 Dec 2011 14:02:20 -0800
Hi Ganga,
Currently, generators in FCPX cannot get access to the composite image underneath them. However, titles can.
If you create a new Motion Title and apply an FxPlug filter to the background drop zone, the FxPlug's input will be the composite of what is underneath the title in the FCPX timeline. The FxPlug can then use the FxTemporalAPI to retrieve the composite images at various times.
Here's a quick recipe to see this in action:
1) in Motion, create a new Final Cut Title
2) delete the "Type Text Here" text element
3) add the WideTime filter to the Title Background drop zone
4) publish to FCPX
5) in FCPX, set up a composite with several layers
6) anchor your custom title above the composite layers
You will see the WideTime effect applied to the whole composite.
It isn't obvious how to make an effect like this, and it may be surprising to your customers if your effect is delivered as a title rather than a generator, especially if it doesn't have any text. But it is possible.
We're aware that the FxHostCapabilities API reports that the host is Motion for FxPlugs running inside Motion effects. This is arguably correct, but surprises many developers. You can determine whether you are inside FCPX by checking [[NSBundle mainBundle] bundleIdentifier].
We have also fixed several bugs with FxPlugs in our recent updates, so I'd encourage you to update to the latest versions of FCPX and Motion.
- Paul
On Dec 15, 2011, at 1:45 AM, ganga wrote:
> Hi Darrin,
>
> Thanks for your reply. I am writing a FXGenerator for FCPX. My plugin has a custom window with a canvas and lot of custom controls to edit the canvas. This canvas serves as clip for FCPX generator. In this window, I would like to show the composite frame from FCPX as background layer. So, I was expecting FXTemporalImageAPI gets me the composite frame.
>
> Apart from this, I still have to figure out a proper way to launch my dialog as FCPX does not support custom controls.
>
> I also noticed couple of issues when I used the generator plug-in in FCPX
> hostIsMotion flag is set to TRUE and hostIsFCP is set to FALSE
> FxTimingAPI is returning time corresponding to motion clip. Hence in FCPX, clip start, clip duration, in point and out point are always constant regardless of clip position.
>
> Are these known issues? Is there a fix in latest update ? I am using FCPX 10.0 .
>
> Thanks,
> Gangaraju
>
> _______________________________________________
> 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