Camera Capture Graph

Windows Mobile 6.5
Windows Mobile SupportedWindows Embedded CE Not Supported

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.

Feature Area

Relevant APIs

ICaptureGraphBuilder2 interface

  1. 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 SDK\Samples\PocketPC\CPP\win32\CameraCapture

    Microsoft Visual Studio 2005 launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

SDK: Windows Mobile 6 Professional SDK and Windows Mobile 6 Standard SDK

Development Environment: Visual Studio 2005.

ActiveSync: Version 4.5.

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".

Community Additions