7

I am looking for examples of a DirectShow Source filter that would display a Desktop Window. I am sure there should be examples, but I haven't yet found them. Perhaps I am using the wrong terminology.

This is for grabbing live output of a Window, and processing that has video.

Lee

Lee Atkinson
  • 2,171
  • 3
  • 20
  • 32
  • Hi Lee were you able to get this done? I was looking for a simple example I can look at and learn from / port. So much stuff out there is so complicated for COM beginner like me. – Noitidart Jun 07 '16 at 01:35

2 Answers2

9

In DirectShow SDK there is a sample filter called PushSource and inside there is PushSourceDesktop. Compile it, register ("regsvr32 PushSource.ax") and insert into your graph as a source filter.

Dee Mon
  • 1,016
  • 6
  • 7
  • 2
    I tried the same, but my recorder program (FFmpeg, or a source from DSpack) cant see it as source. Any idea? – John Smith Apr 10 '12 at 19:24