Come on you've all asked your selves this before .

Well basically I'm wanting to do make (or see if any of you lot already have made) a program that will basically take a sceen shot every say 30ms and put this together into a video file. My first thought is that AVI might not be a too good idea becuase the if the resolution is at even 1024x768 then the file size/memory usage is going to get big quick.

So if I use something like mpeg then I have the trouble of working out how to use the thing. And then wether I can constantly compress each frame as it come in and basically stream record the mpeg. The major problem with this might be speed considering I would like to be able to use this while playing a game say to record a few seconds worth of gameplay.

It would be amazing if someonehas already doe this and doesn't mind sharing but otherwise I'd love to hear anyones input on how I could pull this off.

As for getting the individual screen shots I was thinking maybe using the send Keys function to invoke the Ctrl+PrintScreen method. But I was also thinking about I might be able to use the DesktopDC to Blt from, does anyone know if that works even in games?

Thanx for any help .