How to modify "Push Source Desktop" filter to capture specific region

How to modify "Push Source Desktop" filter to capture specific region

Post by Tamer Ibra » Sat, 24 Apr 2010 03:00:12


Hi,

I'm writing a program to capture the desktop in video and found that
DirectShow is very good to do this through the filter "Push Source
Desktop". Since I'm new to DirectShow, I need some help to modify this
filter in order to capture specif region of the desktop. I think
creating a function to alter the "m_iImageWidth" and "m_iImageHeight"
variables in CPushPinDesktop may do that.

Please, through your experience in DirectShow, Is that feasible or
not ? and if yes what is the best way to do that.

Note: I'm using the filter through a .net client by importing the COM
"Push Source Desktop". So, The function in the C++ native filter
should be accessible from that .net managed client.

(Thanks in advance)

Tamer Ibrahim
 
 
 

1. Modify "Push Source Desktop" filter to capture specific screen region

2. Modify "Push Source Desktop" filter to capture specific screen region

Hi,

I'm writing a program to capture the desktop in video and found that
DirectShow is very good to do this through the filter "Push Source
Desktop". Since I'm new to DirectShow, I need some help to modify this
filter in order to capture specif region of the desktop. I think
creating a function to alter the "m_iImageWidth" and "m_iImageHeight"
variables in CPushPinDesktop may do that.

Please, through your experience in DirectShow, Is that feasible or
not ? and if yes what is the best way to do that.

Note: I'm using the filter through a .net client by importing the COM
"Push Source Desktop". So, The function in the C++ native filter
should be accessible from that .net managed client.

(Thanks in advance)

Tamer Ibrahim

3. HELP: Push Source Screen Capture filter

4. Video Capture Sources VS Video Capture Filters

5. Capture Cursor with Desktop Capture Filter (DirectShow)

6. [News] New Push for Open Source Software in Schools; Philippines Pushing for Open Source Mandate

7. Capture Source Filter filter (version 0.1) from TMH: VLC complaining

8. Capture Source Filter filter - Videolan not happy

9. Capture Source Filter filter - Videolan not happy

10. Create a capture filter or source filter

11. Source Filter / Video Capture Source

12. Modifying Push Source

13. Registering Push Source as Video Capture Device

14. Kalman Filter source code in hand region tracking

15. Adding push support to a pull-mode source filter that has seeking support