DirectShow Source filter using Dekstop window as source
Asked Answered
C

2

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

Colorblind answered 18/11, 2010 at 12:36 Comment(1)
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.Ridgway
P
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.

Pathic answered 19/11, 2010 at 10:10 Comment(1)
I tried the same, but my recorder program (FFmpeg, or a source from DSpack) cant see it as source. Any idea?Isomerous

© 2022 - 2024 — McMap. All rights reserved.