Reputation:
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
Upvotes: 1
Views: 2191
Reputation: 6472
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.
Upvotes: 0
Reputation: 4716
You can automate Windows Media Encoder there are some samples for C# and VB.NET in the SDK
Upvotes: 1
Reputation: 3845
I would recommend you to use CamStudio to record user activities of your program. It is also open-source.
Upvotes: 0
Reputation: 7219
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..
Upvotes: 1