On Mar 20, 2008, at 4:10 PM, Christopher Wright wrote:
I need to get around the "safe mode" where some playback
environments won't allow the execution of certain patches, e.g.
*** Patch class "QCPlugInPatch" is not allowed in safe mode
Does anyone know how to do this?
You may have better results if you use a QCRenderer (which doesn't
seem to employ the safe mode sanity checks), and feed the rendered
frames to QT.
I was wondering about that. I looked for a while at a QCRenderer
approach, but was hoping for something a little higher level (letting
me ignore details of OpenGL contexts, etc), if possible.
If you're stuck with rendering compositions with a QTMovie (you're
dealing with video too, so maybe splitting control would be a lot of
work or something), I'm not sure that there's a documented way to
disable the safemode check with a QTMovie (though it's quite
possible that I'll stand corrected on this; I'm not well-versed
with QT).
For QCPlugInPatches, I've written a small plugin that allows
Official-API plugins to work in safe-mode environments. If you'd
like, I can fire a beta + some instructions your way to try that
route if you'd like. If you're needing other unsafe patches as well
(built-in ones, like video input, or audio input, for example), it's
possible to make a wrapper for those to get them to work in safe
mode too. Of course, it's somewhat risky to perform safe mode
violations like this, so you should think maliciously before
deciding this route, to see if it can open up unexpected "surprises"
for you down the road :)
I'd definitely be interested in looking at your plugin approach. And
yes, I need to use a couple built-in "unsafe" plugins, like XML
downloader. Much appreciated. My code will be running in a relatively
quarantined environment, so for now at least, it's more important to
just get things working.
If I understand this correctly, what I want is to tell the QTMovie
implementation that I don't want it to impose safe mode constraints
when it is rendering my movie to DV. Any idea how to do that?
If this is possible, it'd be the best route to pursue (as noted
above). Hopefully someone says one way or the other on this. A
quick grep through the QuickTime and QTKit headers reveals nothing
with safemode (and only a private ivar in QCCompositionRepository in
the QuartzComposer framework)...
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
Thanks again for your help on this. Looking forward to seeing your
plugin code.
Scott Herzinger
Staff Application Developer
The Weather Channel Interactive
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]