Re: Fast way to grab the screen
Re: Fast way to grab the screen
- Subject: Re: Fast way to grab the screen
- From: Gordon Apple <email@hidden>
- Date: Thu, 24 Feb 2011 09:49:11 -0600
- Thread-topic: Fast way to grab the screen
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@hidden"
<email@hidden> 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@hidden)
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:
This email sent to email@hidden