Media. Capture. Frames Namespace
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This namespace provides APIs for obtaining media frames from one or more MediaFrameSource objects representing capture devices.
MediaFrameSourceGroup objects are used to discover groups of media frame sources that can be used simultaneously. A MediaFrameReader is used to acquire frames from a frame source. Frames can arrive in several different formats depending on what type of media frame source is providing the frames. Frame types include VideoMediaFrame, DepthMediaFrame, InfraredMediaFrame, and BufferMediaFrame.
For how-to guidance on using MediaFrameSource to capture frames, see Process media frames with MediaFrameReader.
Represents a frame of audio data retreived from a MediaFrameSource.
Represents a frame from a MediaFrameSource that provides data in an IBuffer.
Represents a VideoMediaFrame that contains depth video data.
Describes the format of a DepthMediaFrame.
Represents a VideoMediaFrame that contains infrared video data.
Provides data for the MediaFrameReader.FrameArrived event.
Describes the format of a media frame obtained from a MediaFrameSource and represented by a MediaFrameReference.
Provides access to frames from a MediaFrameSource and notification when a new frame arrives.
A wrapper class that represents a frame obtained from a MediaFrameSource. Use the properties of this class to access the specific frame type provided by the source, such as a VideoMediaFrame or BufferMediaFrame.
Represents a source of media frames, such as a color or infrared camera.
Allows you to get and set properties of a MediaFrameSource and to get a VideoDeviceController, which provides camera controls such as exposure, focus, and zoom.
Represents the value of a MediaFrameSource property, if it was successfully retrieved, and the result status of the get operation.
Represents a group of media frame sources that can be used simultaneously by a MediaCapture.
Provides information about a MediaFrameSource.
Provides data for the MultiSourceMediaFrameReader.FrameArrived event.
Provides access to time-correlated frames from multiple MediaFrameSource and provides notifications when new frames arrive. This is useful if you need to process frames from different sources, such as a depth camera and an rbg camera, and you need to make sure that the frames from each source were captured close to each other in time.
A wrapper class that provides access to time-correlated frames obtained from one or more MediaFrameSource objects. Call TryGetFrameReferenceBySourceId to get the MediaFrameReference representing a frame from a particular media frame source.
Represents a frame from a MediaFrameSource that provides data in a video frame represented by a IDirect3DSurface or SoftwareBitmap.
Describes the image format of a VideoMediaFrame.
Specifies the way that the system should manage frames acquired from a MediaFrameReader or a MultiSourceMediaFrameReader when a new frame arrives before the app has finished processing the previous frame.
Specifies the result of a call to StartAsync to start the reading of media frames by a MediaFrameReader.
Specifies the result of a MediaFrameSourceController.GetPropertyAsync or MediaFrameSourceController.GetPropertyByExtendedIdAsync operation.
Specifies the kind of data produced by a MediaFrameSource.
Specifies the result of a MediaFrameSourceController.SetPropertyAsync operation.
Specifies the status of a MultiSourceMediaFrameReader start operation. A value from this enumeration is returned by the MultiSourceMediaFrameReader.StartAsync method.
Submit and view feedback for