Re: Final Cut Pro plug-in development, getting started
Re: Final Cut Pro plug-in development, getting started
- Subject: Re: Final Cut Pro plug-in development, getting started
- From: Darrin Cardani <email@hidden>
- Date: Thu, 23 Jun 2005 13:55:33 -0500
At 8:42 PM +0200 6/23/05, Beverly Reinig wrote:
I'm developing a FCP plug-in for the Mac, using CW 6.0.
Ouch! That's going to be a small problem right there. (Does CW 6 even
run on OS X? I seem to recall having lots of problems with it during
the switch from 9 to X.) You might want to download a slightly older
version of the AE SDK. I believe the 6.0 SDK is up on Adobe's
website, and listed as "unsupported." Even it used CodeWarrior 7.0,
if I recall correctly.
I understand that I
must develop this as an After Effects plug-in,
Actually, you can also write a QuickTime effect plugin, though there
are some issues you need to be aware of if you go that route.
1. I've succeeded in getting the simplest example plug-in (Skeleton) to
build, and FCP does indeed load it (I've proven this to myself by adding
CFShow() statements at the top of the callback loop in main()). But just
once. When I quit FCP, and then relaunch it again, my plug-in is not
loaded....
FCP has some odd behaviors when it comes to plugins. Try throwing out
FCP's plugin cache file (usually located at /Users/<your
username>/Library/Preferences/Final Cut Pro User Data/Final Cut Pro
POA Cache) and see if your plugin is loaded again. I often have to do
this when building a new version of a plugin.
2. The example AEGP plug-ins don't contain a main(); instead, their
entry-point is specified in the CW project settings > Target Settings >
Linker > PPC Linker > Entry Points. I've set these just like the AE SDK
says I should:
Initialization: __initialize
Main: GPMain_Easy_Cheese (as one example)
Termination: __terminate
Again, I put a CFShow() call at the entry point of my GPMain_Easy_Cheese()
function, just to prove to myself that FCP loads it on start up, and it
never gets called. Apparently, FCP is not loading this baby.
As far as I know, no other host application will load AEGPs. Only
After Effects will. Most host applications don't implement all the
suites that AEGPs support.
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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