views:

258

answers:

1

Hello everyone,

I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3 SDK. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples?

thanks in advance, George

+1  A: 

Wrong kind of tool, Expression Encoder is a transcoder. It requires a video format as input and encodes it to a different output format.

You'll need to create a video of the screen first. Capturing a screen shot is easy enough, Graphics.CopyFromScreen() can do that. Generating a video would require doing this repeatedly and writing to a simple format like AVI. The code here could help.

Doing this fast enough so you capture enough frames per second is the ultimate challenge. If that was easy then the companies that sell Jingo and Camtasia would quickly be out of business.

Hans Passant
Hi Hans, any C# sample codes of using Expression Encoder SDK to write screen capture application?
George2