winapi - How can I omit capturing of a button/region using DirectShow APIs? -


i using "push source desktop" filter capturing screen in application. hide application while recording going on. button stopping recording visible on screen. button gets recorded filter. during playback of saved recording button visible along rest of screen region.

is there way can prevent button getting recorded ?

my aim record screen without button. cannot hide button required stopping recording of application. have tried alter alpha component of button , make semi-transparent. still filter captures semi-transparent button.

how can background region of button , ignore capturing of button itself?

the problem has nothing directshow. long story short, directshow starts when send image have using directshow api , form factor of software item.

your question how display on desktop , grab same desktop excluding part present user. don't think can implement accurately without going in many details, quite can trick this: know position of ui element can identify what's below in terms of window z-order (another application window or desktop etc). can ask window repaint dc, , combine parts video send downstream directshow source.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -