Re: fcp parsing questions
Re: fcp parsing questions
- Subject: Re: fcp parsing questions
- From: Helena Ju <email@hidden>
- Date: Wed, 11 Feb 2009 11:20:18 -0800
Hey Victor,
I agree with Darrin. You can get the XMl via Apple Events which you
can call from your stand alone java application. Details can be found
in that same document in the Apple Events appendix.
Cheers,
Helena
On Feb 11, 2009, at 11:18 AM, Darrin Cardani wrote:
Victor,
It sounds like what you need is to use FCP XML. This is documented
here:
<http://developer.apple.com/documentation/AppleApplications/Reference/FinalCutPro_XML/AboutThisDoc/chapter_1_section_1.html
>
You would have your users export their projects as XML then your
application could read and/or write XML to do whatever it needs to
do. You could do this in Java if you want to, as it would be a stand-
alone application.
Darrin
On Feb 11, 2009, at 10:58 AM, Steve Christensen wrote:
I don't believe there is any publicly-available API for reading the
contents of a FCP project. I suppose you could try figuring it out
on your own but then you're, of course, in the potential position
of having to periodically revise your code to handle new project
formats.
On Feb 11, 2009, at 10:15 AM, Victor wrote:
Steve,
Thanks for the input. In my case I need to obtain the list of
video clips
before project is loaded ( e.g. while Final Cut is not yet
running ), so
can't send an event to application. Is there an alternative method
for
reading project file directly?
Thanks again,
Victor
-----Original Message-----
From: Steve Christensen [mailto:email@hidden]
Sent: Wednesday, February 11, 2009 12:12 PM
To: Victor
Cc: email@hidden
Subject: Re: fcp parsing questions
On Feb 11, 2009, at 7:32 AM, Victor wrote:
I have to write Final Cut Pro plugin and the first task for it
would be to retrieve names of video clips associated with the Final
Cut project. My first question is: what SDK can I use to read from
project file? So far I couldn't find anything pertinent in FxPlug
SDK 1.2. Am I looking in the right place?
The FxPlug SDK is the API for writing a FCP, FCE or Motion plugin
that handles some form of rendering to a particular clip with
which a
particular instance of your effect class is associated. You don't
normally worry about other clips in the project.
If you have a reason to need information about various video clips,
you would get that by sending an AppleEvent to the host application
(FCP, FCE, Motion) and then parsing the returned XML. Documentation
on those AppleEvents and the format of the returned XML are
available
on Apple's website.
The original application I have to base my prospective plugin on
has been written in Java. Would it be possible to implement FCP
plugin in Java?
The plugin API assumes an Objective-C plugin interface. If there's a
way to call your Java code from within an Objective-C plugin
wrapper,
then I would think you should be able to do so. I've never tried to
do something like that so that's the best answer I can give.
_______________________________________________
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
--
Darrin Cardani
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
_______________________________________________
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