Re: Drawing on top of a QuickTime movie?
Re: Drawing on top of a QuickTime movie?
- Subject: Re: Drawing on top of a QuickTime movie?
- From: "David Aames" <email@hidden>
- Date: Mon, 15 Jan 2007 14:46:02 +0000
Forgot to cc the list.
---------- Forwarded message ----------
From: David Aames <email@hidden>
Date: Jan 15, 2007 2:44 PM
Subject: Re: Drawing on top of a QuickTime movie?
To: Daniel Kennett <email@hidden>
Hi Daniel,
You could try adding a completely transparent borderless window (override
NSWindow and pass NSBorderlessWindowMask for the style mask + set its
background color to [NSColor clearColor] + set the window to be not opaque).
After doing this add your view to that transparent window and add it as a
child window of the window which holds your QT movie view. Apple provides an
example of this at
http://developer.apple.com/samplecode/Movie_Overlay/index.html
Regards,
David
On 1/15/07, Daniel Kennett <email@hidden> wrote:
Hey list,
I'm trying to create overlays on top of a QuickTime movie, similar to
the controllers in QuickTime Player's full screen view and iTunes'
movie player.
My first attempt was to just drop my NSView subclass on top of the
QTMovieView and setting useOptimizedDrawing to NO, but that doesn't
work. And, uh... that's as far as I've got.
So, my questions:
1) Is it possible to make my view draw on top of a QTMovieView?
- or -
2) Is it possible to subclass QTMovieView or NSView and have the
movie drawing *and* my custom drawing done in the same place? This
would be preferable, since eventually I'll want to save the movie out
with the overlays intact.
Any pointers to info would be most appreciated. I've looked at the
Live Video Mixer example, but I'd like to avoid that much hardcore
OpenGL programming if I can!
Thanks in advance for your help,
-- Daniel Kennett
_______________________________________________
Cocoa-dev mailing list ( email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden