What I would like is the ability to capture video from the contents of a window, regardless of whether it is on top, or even on the screen. If it contained video, it would also be nice to synchronize capture with the contained video content. (In a perfect world.)
I don't know how you would handle it if it contained multiple videos. Maybe a format containing multiple layers that get re-composited on playback. On 2/24/11 9:07 AM, "[email protected]" <[email protected]> wrote: > Thank you for the answer > So i guess OpenGL is a way to go. > > And with it, i have two problems: > 1) how to select only a particular window to grab? Since im getting a > framebuffer contents, i am having the whole screen picture. I need to cut > out only a particular region of it - that contains a particular window only. > For that, i need to know the location of this "particular window" and its > size. > I am wondering, if WindowServer exposes any API for getting this information > for other windows? Or, otherwise, maybe, i could combine somehow CGWindow > API and OpenGL (the first for finding "edges" of the window, and the latter > for taking the whole screen and trimming in to these edges)? > > 2) how to grab a mouse pointer too? Like Skype, or ManyCam do, for example? > They allow to save an image (or video) together with the cursor. How did > they do that? > > Could you point me out? > Thank you! _______________________________________________ Cocoa-dev mailing list ([email protected]) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
