After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 463941 - Plugin for screen capture on windows
Plugin for screen capture on windows
Status: VERIFIED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal enhancement
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-06 09:45 UTC by Haakon Sporsheim
Modified: 2013-05-10 09:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
windows screen capture patch (49.24 KB, patch)
2007-08-06 09:49 UTC, Haakon Sporsheim
none Details | Review
win32screencap_plugin (47.87 KB, patch)
2008-03-07 01:47 UTC, Ole André Vadla Ravnås
none Details | Review
Up to date version of Haakon's patch. (46.34 KB, patch)
2008-08-24 13:33 UTC, Ole André Vadla Ravnås
committed Details | Review

Description Haakon Sporsheim 2007-08-06 09:45:47 UTC
There is no screen capture source for Windows.
Comment 1 Haakon Sporsheim 2007-08-06 09:49:33 UTC
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!
Comment 2 Zaheer Abbas Merali 2007-08-07 11:23:44 UTC
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
Comment 3 Ole André Vadla Ravnås 2008-03-07 01:47:15 UTC
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).
Comment 4 Ole André Vadla Ravnås 2008-08-24 13:33:05 UTC
Created attachment 117298 [details] [review]
Up to date version of Haakon's patch.
Comment 5 Ole André Vadla Ravnås 2008-08-24 13:37:47 UTC
	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).
Comment 6 cee1 2013-05-10 09:30:06 UTC
Here is a request & patch adding cursor capture support for dx9screencapsrc: https://bugs.freedesktop.org/show_bug.cgi?id=64409