Camera Capture Graph
This code sample is named videocap. It demonstrates how to use the native Camera Capture API. The application allows you to take still pictures and video clips. It captures and encodes a still image into a JPEG file, and video in a WMV file.
-
Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:
C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\PocketPC\CPP\win32\CameraCapture
Microsoft Visual Studio launches and loads the solution.
-
Build the solution (Ctrl+Shift+B).
-
Deploy the solution (F5).
ExTAPIAsync demonstrates how to develop an application that is based on Extended TAPI asynchronous functionality.
You must have a camera-equipped Windows Mobile powered device with a video capture driver installed, to use this application.
The emulator ships with a null capture driver.
The video is saved to the mobile device's root folder with the default file name "video1.asf", and the still image is saved with the default file name "test.jpg".