Редагувати

Поділитися через


SimpleCapture Sample

[The feature associated with this page, MFPlay, is a legacy feature. It has been superseded by MediaPlayer and IMFMediaEngine. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer and IMFMediaEngine instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Shows how to preview video from a video capture device, using the MFPlay API.

APIs Demonstrated

This sample demonstrates the following Microsoft Media Foundation interfaces:

Requirements

Product Version
Windows SDK Windows 7

 

Downloading the Sample

This sample is available in the Windows classic samples github repository.

Audio/Video Capture

Media Foundation SDK Samples