Recording app

Hi guys,
I need to know what the best way to create a video from the application is. I want to be able to let the user record videos of the application being used by them. Something like a screengrab, but just the application. The best way for me to explain this is with Kamcord ( Is there any tool or plugin I should look at so I can do this? Currently, I save frame by frame screenshots, but then i’d need a way to mix this up with a proper encoder / whatever else.