views:

641

answers:

1

I want to write a C# application which can record a video capture of one of its WPF controls.

Is there a solution in .Net to record video from a control, or is there some library I could use?


My goal is to write a SketchCast application. The use case is the following:

  1. launch SketchCast app and press record button,
  2. write ink into a WPF ink area, and talk,
  3. press stop,
  4. recorded voice and ink animation get saved into a video file in some encoding.
A: 

If you don't have to write this application yourself, you can use Windows Media Encoder(*) and restrict the screen capture to a single window. Just set your WPF control to fill the entire window and remove the window border. WME has support for voice recording during screen captures.

(*) or any other screencast software with these features

dtb