views:

88

answers:

1

Hello guys, I need a to build a application (.NET) that given the pid of another app continually makes printscreens of that app to make a video... I'm using the API call: new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, PixelFormat.Format32bppArgb);

the problem I've is speed....

Any ideas ?

A: 

If you need high speed capture you might want to check DirectShow api, so you can build a screen capture graph and save output as a movie (avi, wmv etc).. Some information on that you can find there: DirectShow.NET.

You can check for example PlayCap example. What you need is screen capture source filter. (You can see MediaLooks or PushSourceDesktop from Windows sdk samples I'm sure there are more choices ..)

bezieur