GNOME Bugzilla – Bug 546932
[ximagesrc] allow recording of specific window only
Last modified: 2011-09-20 12:11:46 UTC
ximagesrc is usefull when you want to made a screencast. But this plugin can record only the display (or part of it). The idea is to take, for source a window, identified by the X WindowID and record it. So if you move the window, you always record the contents of the window.
Are you planning to work on this? We don't keep track of enhancement requests that nobody is working on.
No time for that now. I have a look on how to do this and it's a bit tricky i think (also, there's no projects who doing this...). But perhaps in late october..
Created attachment 197035 [details] [review] ximagesrc: allow capturing a particular window A particular window may be selected using the new xid (X-Window XID, eg a pointer) and xname (window title) properties. If both are specified, the XID is used in preference, falling back to xname if not found. Default (if none of xid and xname are specified, or if no such window is found) is to capture the root window.
Pushed, thanks: commit 82927d6bddf4212fb0a2dc99dbb7cd89be941592 Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Tue Sep 20 12:11:47 2011 +0100 ximagesrc: add xid and xname properties to allow capturing a particular window A particular window may be selected using the new xid (X-Window XID, eg a pointer) and xname (window title) properties. If both are specified, the XID is used in preference, falling back to xname if not found. Default (if none of xid and xname are specified, or if no such window is found) is to capture the root window. https://bugzilla.gnome.org/show_bug.cgi?id=546932 Changed the GST_WARNING in the set_property func to g_warnings, since it's a programming error really.