How to save camera video to as a video file (.avi,etc)

Hi , How can I save the camera live video to a video file ?
thx in advance .

@ karamafrooz - the USB camera will only take a few frames per second. not enough for a video file. to my knowledge, nobody has done this yet.

@ Mike -

thank u , what if I want to save the camera image on my hard drive or sd card ?

@ karamafrooz - in the system name space of the premium library the is a utility class. within that class there is a method which will help you write a bitmap to a file.