GNOME Bugzilla – Bug 463941
Plugin for screen capture on windows
Last modified: 2013-05-10 09:30:06 UTC
There is no screen capture source for Windows.
Created attachment 93139 [details] [review] windows screen capture patch I've created a plugin with two elements; gdiscreencapsrc and dx9screencapsrc. gdiscreencapsrc: Uses GDI to capture the screen or part of the screen with or without cursor. dx9screencapsrc: Uses DirectX 9 to capture the screen or part of the screen without cursor. I'd like to add that this is my first GStreamer plugin and I'm really not a DirectX programmer. Please comment! You may also rename the elements!
Thanks for the patch. Please can you provide a Makefile.am and also diffs to configure.ac and the Makefile.am inside sys? Also maybe the directory should be win32screencap rather than screencap
Created attachment 106745 [details] [review] win32screencap_plugin Updated version of Haakon's patch: Added autofoo boilerplate so that make dist includes the files. We don't use autofoo on Windows so hopefully someone else can take care of the missing bits there (should be quite straight-forward).
Created attachment 117298 [details] [review] Up to date version of Haakon's patch.
patch by: Haakon Sporsheim <hakon.sporsheim@tandberg.com> * configure.ac: * sys/Makefile.am: * sys/winscreencap/Makefile.am: * sys/winscreencap/gstdx9screencapsrc.c: * sys/winscreencap/gstdx9screencapsrc.h: * sys/winscreencap/gstgdiscreencapsrc.c: * sys/winscreencap/gstgdiscreencapsrc.h: * sys/winscreencap/gstwinscreencap.c: * sys/winscreencap/gstwinscreencap.h: New plugin: winscreencap (#463941).
Here is a request & patch adding cursor capture support for dx9screencapsrc: https://bugs.freedesktop.org/show_bug.cgi?id=64409