Re: FxPlug Dev Advice, Performance Qn
Re: FxPlug Dev Advice, Performance Qn
- Subject: Re: FxPlug Dev Advice, Performance Qn
- From: Paul Schneider <email@hidden>
- Date: Tue, 16 Jun 2009 11:55:09 -0500
Hi Lu,
Final Cut gets its idea of whether an effect is real-time (green
render bar) or non-real-time (red/orange render bar) by consulting an
internal profiling list. We generate a profile for each effect, on
each type of machine we support, here at Apple.
Unfortunately, we don't have a way for third-party plugins to
participate in this profiling. This means that all third-party plugins
appear as red/orange in the render bar. This doesn't mean that they
*can't* play back in real time; it just means that Final Cut doesn't
know whether they can or not. In Unlimited RT, Final Cut will play the
effect back as fast as it can, and if the plugin is fast enough,
playback will be smooth.
It's definitely possible to write an FxPlug that will play back
without dropping frames.
Having said that, I wouldn't say that FxPlug is necessarily more
efficient than FXScript. It depends on what you're doing. FxPlug lets
you write your own image processing routines, and take advantage of
the GPU, which is quite fast. FXScript lets you call into Final Cut's
built-in image processing libraries, which are also quite fast. FxPlug
is more flexible, and is great if you already have a library of code
that you want to run inside of Final Cut. FXScript is a higher-level
language, which may let you get up and running more quickly if you are
starting from scratch. I would pick the one that seems like a better
fit for your needs.
- Paul
On Jun 16, 2009, at 9:33 AM, Lu Nelson wrote:
Hi,
I'm just an observer on this list so far; but I have a pseudo-plugin
which I've built using expressions in AfterEffects, and I'm wondering
about the most effiicient approach, performance-wise, for bringing it
to Final Cut Studio; more in a later post -- for the meantime I'm
wondering:
Why is it that so many Fxplug filters I've seen, except for the most
basic generators, seem to create an orange (Unlimited RT Only) render
bar in the timeline of FCP? I was under the impression that the
performance of fxplug was supposed to be greater (than FxScript, or
the AE API). I'm really hoping this plugin will be able to work in
real-time. Anyone care to comment on how FxPlug performance stacks up
against the other plugin methods? My plugin will involve using source
images, up to whatever max size proves to be the barrier (probably
2048x2048; but hopefully 4096x4096), and the ability of the plugin to
preload the images during playback will also be an issue.
This is kind of a test post, I'll expand in a subsequent message.
Thanks
Lu Nelson, Berlin
_______________________________________________
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