Re: Checking out frames in FCP & render paths
Re: Checking out frames in FCP & render paths
- Subject: Re: Checking out frames in FCP & render paths
- From: "Hugh Denman" <email@hidden>
- Date: Fri, 21 Sep 2007 13:48:35 +0100
Hi Paul,
Thanks for the response. It turns out that my original problem description was off base. It's ok if FCP loses focus (frames stay the same size). However, I pop up a window from inside my plugin to show a progress bar & a cancel button. This is created by
NSRect progressRect; progressRect.origin.x = 200; progressRect.origin.y=200;
progressRect.size.width=200; progressRect.size.height=200;
NSWindow* progressWindow = [[NSWindow alloc] initWithContentRect:progressRect styleMask:NSTitledWindowMask backing:NSBackingStoreBuffered defer:NO];
[progressWindow setTitle:@"Analysis Progress"];
[progressWindow makeKeyAndOrderFront:self];
called from renderOutput, and it is when I click on this window that the frames returned from temporalImageAPI::getInputBitmap change size. Changing to another application seems OK.
I still consider this behaviour odd; shall I file the bug report, or is it just that creating a window from inside renderOutput is a bad idea?
I think I will abandon the separate window approach, and use progress display in the UI panel as you suggested to a previous poster re: background processing. Will I be able to update the UI progress display from inside renderOutput?
Thanks,
Hugh
On 9/20/07, Paul Schneider
<email@hidden> wrote:
Hi, Hugh,
that doesn't sound like something I'm aware of, or something that should be happening.
Can you file a bug report at
http://bugreport.apple.com ? Please include a test project if you can (we don't need media). If you email me with the bug # I can try to move it towards the top of my queue.
Thanks,
- Paul
On Sep 20, 2007, at 2:33 PM, Hugh Denman wrote:
Hi -
I'm working on a plugin that spends some time analyzing other multiple frames from a clip once it is applied; this analysis takes some time. I find that if Final Cut Pro loses the focus while this processing is happening, the frames I obtain (using the TemporalImage API) change in size (to half height fields). I guess that FCP switches to a different render path when it's not in the foreground. However, I need to get the original frames for my analysis. Is there any way to prevent this happening, and ensure I get full size frames from the timeline independent of the foreground status?
Thanks,
Hugh Denman
--
email@hidden
+353876290136
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription:
--
email@hidden
+353876290136
--
email@hidden+353876290136
_______________________________________________
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