views:

405

answers:

4

Hi,

As part of test automation framework building, I need to record the activities done by the user in a video. Since i could not find a way to record a video directly in vb, i opted to capture a sequence of screen shots (print screens) and then convert it to a streaming video.

Please suggest a way to do the same.

thanks, pkrg

+1  A: 

maybe you can just run another program behind your application. there are several programs like that.

it is not a professional way but easy way to do this... because probably these programs have already optimized their algorithms...


making avi with jpegs:

there are such a programs that do this too...

again you can search for it..

ufukgun
http://en.wikipedia.org/wiki/List_of_screencasting_software loads of great free(and other licenses) stuff here. All of them are going to produce much better results then a flipbook of jpgs...
Adrian
A: 

I would recommend you to use CamStudio to record user activities of your program. It is also open-source.

waqasahmed
I checked it along with other recorders like WeBEX, QuickScreenRecord etc. But none of these provide apis to 1. Start,pause,resume, stop recording2. Restrict the recording to a maximum of 3 minutes.
A: 

You can automate Windows Media Encoder there are some samples for C# and VB.NET in the SDK

loraderon
A: 

if you want to roll your own, then

http://support.microsoft.com/?kbid=161299

Shows several ways to call windows api, to caputure the screen or parts of. Still I think you will have problems with the mouse cursor though. After capturing the screen you will have to draw the cursor in the correct position.

Adrian
thanks a lot for the answer, will look into the above link.