Re: Programmatically Manipulating the Contents of the Timeline in FCPX
Re: Programmatically Manipulating the Contents of the Timeline in FCPX
- Subject: Re: Programmatically Manipulating the Contents of the Timeline in FCPX
- From: Andreas Kiel <email@hidden>
- Date: Wed, 01 Feb 2012 19:47:31 +0100
Hi Sam,
What you want to do is not possible at he moment - I'm in the same
situation.
-Andreas
On 01.02.2012, at 17:12, Sam Windwer wrote:
Hi all,
I developed a plug-in for FCP7 that consists of two components: an
FxPlug
generator and a companion application that communicates with a running
FCP7 instance to populate an open sequence with several instances
of this
generator. The companion application is able to do this using FCP7's
support for Apple Events. Specifically, it first sends a "Get Project
XML" message, inserts the new instances of the generator into the
project's XML, then sends an "Import XML" message to give FCP7 the
updated
XML (this causes FCP7 to immediately reload the sequence, which now
includes the new generators). Is it possible to do something like
this in
FCPX?
I know that FCPX has support for exporting and importing XML, but this
doesn't seem automatable to the same level that it was in FCP7. For
example, another posting to this list confirmed that you can send
XML to
FCPX using an Apple Event, but you can't receive XML. Also, my
current
implementation makes use of the "updatebehavior" element so that it
can
modify the open project in-place; it seems that sending XML to FCPX
will
produce a new project.
Another concern that I have is that according to the documentation,
"FCPXML version 1.1 describes certain project data that is useful for
exchanging with other applications. It does not describe all possible
data, and therefore is not a substitute for the native project file
when
archiving a project or moving a complete project from one system to
another." This means that round trips can be lossy, so my current
methodology of retrieving all of the XML for the project, modifying
it,
then reimporting it may not be the most sound thing to do.
When it comes down to it, I just need a way to programmatically
manipulate
the contents of the timeline, whether or not that involves using
XML. If
my current methodology for FCP7 isn't directly translatable to
FCPX, is
there another way to do what I'm trying to accomplish? For
example, is
there some sort of API for scripting FCPX (or are there plans to make
one)? Or should I go back to the drawing board because
programmatically
manipulating the contents of FCPX's timeline isn't possible?
Thanks in advance.
~Sam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40spherico.com
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