Capturing or rendering audio, video, and images (Windows Store apps using C#/VB/C++ and XAML)
This section contains information on how to capture photos and videos from a capture device, such as a webcam, and how to render audio streams in a Windows Store app using C++, C#, or Visual Basic.
The control to capture media in a Windows Store app using C++, C#, or Visual Basic is CaptureElement. This is defined in the Windows.UI.Xaml.Controls namespace. Windows.Media.Capture contains the majority of the API used in capturing media.
For samples that use media capture in a Windows Store app using C++, C#, or Visual Basic, see the Media capture sample and the other samples listed in the Samples section in the Related topics below.
If you’d like to try working with media capture and other key Windows 8 features, download the hands-on labs for Windows 8. These labs provide a modular, step-by-step introduction to creating a sample Windows Store app in the programming language of your choice (JavaScript and HTML or C# and XAML).
In this section
| Topic | Description |
|---|---|
|
You can preview live video from a camera or webcam by using a CaptureElement object and the Windows.Media.Capture API. | |
|
You can rotate video captured from a camera by using the SetPreviewRotation and SetRecordRotation methods on the MediaCapture class. | |
|
The VideoStabilization effect can help reduce shakiness in video, such as from a hand-held camera. |
Related topics
- Roadmaps
- Roadmap for Windows Store apps using C# and Visual Basic
- Roadmap for Windows Store apps using C++
- Designing UX for apps
- Samples
- Media capture sample
- Camera capture UI sample
- Camera options UI sample
- Device enumeration sample
- Media extension sample
- Real-Time communication sample
- Hands-on labs for Windows 8
- Reference
- Windows.Media
- Windows.Media.Capture
- Windows.Media.Devices
- Windows.Media.MediaProperties
- Other resources
- Supported audio and video formats
- Optimize media resources
Build date: 6/21/2013
