windows_media library
Provides access to WinRT APIs from the Windows.Media
namespace using FFI.
Classes
- AdvancedCapturedPhoto
- Represents a photo captured using system-provided computational photography techniques provided by the AdvancedPhotoCapture class.
- AdvancedPhotoCapture
- Provides methods for capturing photos using system-provided computational photography techniques.
- AdvancedPhotoCaptureSettings
- Represents settings for an AdvancedPhotoControl object.
- AdvancedPhotoControl
- Provides functionality for controlling the advanced photo capture behavior on a capture device.
- AudioBuffer
- Represents a buffer containing audio data.
- AudioDeviceController
- Controls device settings on the microphone.
- AudioEncodingProperties
- Describes the encoding properties of an audio stream.
- AudioFrame
- Represents a single frame of audio data.
- AudioMediaFrame
- Represents a frame of audio data retreived from a MediaFrameSource.
- AudioStreamDescriptor
- Represents a description an audio media stream.
- BufferMediaFrame
- Represents a frame from a MediaFrameSource that provides data in an IBuffer.
- CameraIntrinsics
- Represents the intrinsics that describe the camera distortion model.
- CameraOcclusionInfo
- Provides information about the occlusion state of a camera device.
- CameraOcclusionState
- Represents the occlusion state of a camera device.
- CapturedFrame
- Represents a captured video frame.
- CapturedFrameControlValues
- Provides information about the capture device settings that were used for a frame in a variable photo sequence.
- CapturedPhoto
- Represents a photo taken from a capture device such as a webcam attached.
- ContainerEncodingProperties
- Describes a media container format.
- Maps 2D points in a MediaFrameSource to 3D space or to a frame from a different MediaFrameSource using data from a DepthMediaFrame.
- DepthMediaFrame
- Represents a VideoMediaFrame that contains depth video data.
- DepthMediaFrameFormat
- Describes the format of a DepthMediaFrame.
- DigitalWindowBounds
- Represents the bounds of the digital window captured when the DigitalWindowControl is active.
- DigitalWindowCapability
- Represents the digital window capture capabilities of the capture device.
- DigitalWindowControl
- Allows apps to capture a subregion of the capture device's sensor. For cameras that offer high-resolution native sensors, this feature enables digital pan, tilt, and zoom and allow apps to obtain higher detail images of such objects without the need to change media resolutions.
- ExposureCompensationControl
- Provides functionality for modifying exposure levels of captured photos.
- ExposureControl
- Provides functionality for controlling the exposure settings on a capture device.
- ExposurePriorityVideoControl
- When supported, allows an app to specify whether the camera driver can dynamically adjust the frame rate of video capture in order to improve video quality in low-light conditions.
- FlashControl
- Provides functionality for controlling the flash settings on a capture device.
- FocusControl
- Provides functionality for controlling the focus settings on a capture device.
- FocusSettings
- Represents settings for a FocusControl object.
- FrameControlCapabilities
- Provides information about the variable photo sequence capabilities of the capture device.
- FrameController
- Represents the settings for a frame in a variable photo sequence.
- FrameExposureCapabilities
- Provides information about the exposure time capabilities of the capture device for frames in a variable photo sequences.
- FrameExposureCompensationCapabilities
- Provides information about the exposure compensation capabilities of the capture device for frames in a variable photo sequences.
- FrameExposureCompensationControl
- Represents the exposure compensation settings for a frame in a variable photo sequence.
- FrameExposureControl
- Represents the exposure time settings for a frame in a variable photo sequence.
- FrameFlashCapabilities
- Provides information about the flash capabilities of the capture device for frames in a variable photo sequences.
- FrameFlashControl
- Represents the flash settings for a frame in a variable photo sequence.
- FrameFocusCapabilities
- Provides information about the focus capabilities of the capture device for frames in a variable photo sequences.
- FrameFocusControl
- Represents the focus settings for a frame in a variable photo sequence.
- FrameIsoSpeedCapabilities
- Provides information about the ISO speed capabilities of the capture device for frames in a variable photo sequences.
- FrameIsoSpeedControl
- Represents the ISO speed settings for a frame in a variable photo sequence.
- HdrVideoControl
- When supported, allows an app to enable High Dynamic Range (HDR) video recording on the capture device.
- IAdvancedCapturedPhoto
- IAdvancedCapturedPhoto2
- IAdvancedPhotoCapture
- IAdvancedPhotoCaptureSettings
- IAdvancedPhotoControl
- IAdvancedVideoCaptureDeviceController
- IAdvancedVideoCaptureDeviceController10
- IAdvancedVideoCaptureDeviceController11
- IAdvancedVideoCaptureDeviceController2
- IAdvancedVideoCaptureDeviceController3
- IAdvancedVideoCaptureDeviceController4
- IAdvancedVideoCaptureDeviceController5
- IAdvancedVideoCaptureDeviceController6
- IAdvancedVideoCaptureDeviceController7
- IAdvancedVideoCaptureDeviceController8
- IAdvancedVideoCaptureDeviceController9
- IAudioBuffer
- IAudioDeviceController
- IAudioEffectDefinition
- Exposes the methods and properties of an AudioEffectDefinition object. Implement this interface when you create a custom audio effect definition.
- IAudioEncodingProperties
- IAudioEncodingProperties2
- IAudioEncodingProperties3
- IAudioEncodingPropertiesWithFormatUserData
- IAudioFrame
- IAudioMediaFrame
- IAudioStreamDescriptor
- IAudioStreamDescriptor2
- IAudioStreamDescriptor3
- IBufferMediaFrame
- ICameraIntrinsics
- ICameraIntrinsics2
- ICameraOcclusionInfo
- ICameraOcclusionState
- ICapturedFrame
- ICapturedFrame2
- ICapturedFrameControlValues
- ICapturedFrameControlValues2
- ICapturedFrameWithSoftwareBitmap
- ICapturedPhoto
- IContainerEncodingProperties
- IContainerEncodingProperties2
- IDepthMediaFrame
- IDepthMediaFrame2
- IDepthMediaFrameFormat
- IDigitalWindowBounds
- IDigitalWindowCapability
- IDigitalWindowControl
- IExposureCompensationControl
- IExposureControl
- IExposurePriorityVideoControl
- IFlashControl
- IFlashControl2
- IFocusControl
- IFocusControl2
- IFocusSettings
- IFrameControlCapabilities
- IFrameControlCapabilities2
- IFrameController
- IFrameController2
- IFrameExposureCapabilities
- IFrameExposureCompensationCapabilities
- IFrameExposureCompensationControl
- IFrameExposureControl
- IFrameFlashCapabilities
- IFrameFlashControl
- IFrameFocusCapabilities
- IFrameFocusControl
- IFrameIsoSpeedCapabilities
- IFrameIsoSpeedControl
- IHdrVideoControl
- IImageEncodingProperties
- IImageEncodingProperties2
- IInfraredMediaFrame
- IInfraredTorchControl
- IIsoSpeedControl
- IIsoSpeedControl2
- ILowLagMediaRecording
- ILowLagMediaRecording2
- ILowLagMediaRecording3
- ILowLagPhotoCapture
- ILowLagPhotoControl
- ILowLagPhotoSequenceCapture
- ILowLagPhotoSequenceControl
- ImageEncodingProperties
- Describes the format of an image stream.
- IMediaCapture
- IMediaCapture2
- IMediaCapture3
- IMediaCapture4
- IMediaCapture5
- IMediaCapture6
- IMediaCapture7
- IMediaCaptureInitializationSettings
- IMediaCaptureInitializationSettings2
- IMediaCaptureInitializationSettings3
- IMediaCaptureInitializationSettings4
- IMediaCaptureInitializationSettings5
- IMediaCaptureInitializationSettings6
- IMediaCaptureInitializationSettings7
- IMediaCapturePauseResult
- IMediaCaptureRelativePanelWatcher
- IMediaCaptureSettings
- IMediaCaptureSettings2
- IMediaCaptureSettings3
- IMediaCaptureStopResult
- IMediaCaptureVideoPreview
- IMediaCaptureVideoProfile
- IMediaCaptureVideoProfile2
- IMediaCaptureVideoProfileMediaDescription
- IMediaCaptureVideoProfileMediaDescription2
- IMediaDeviceControl
- IMediaDeviceControlCapabilities
- IMediaDeviceController
- IMediaEncodingProfile
- IMediaEncodingProfile2
- IMediaEncodingProfile3
- IMediaEncodingProperties
- Describes the format of a media stream or media container.
- IMediaExtension
- Encapsulates the method needed to set the configuration properties on a registered media parser or codec.
- IMediaFrame
- IMediaFrameFormat
- IMediaFrameFormat2
- IMediaFrameReader
- IMediaFrameReader2
- IMediaFrameReference
- IMediaFrameReference2
- IMediaFrameSource
- IMediaFrameSourceController
- IMediaFrameSourceController2
- IMediaFrameSourceController3
- IMediaFrameSourceGetPropertyResult
- IMediaFrameSourceGroup
- IMediaFrameSourceInfo
- IMediaFrameSourceInfo2
- IMediaFrameSourceInfo3
- IMediaFrameSourceInfo4
- IMediaRatio
- IMediaSource
- Represents a media source that delivers media samples to a media pipeline.
- IMediaStreamDescriptor
- IMediaStreamDescriptor2
- IMultiSourceMediaFrameReader
- IMultiSourceMediaFrameReader2
- IMultiSourceMediaFrameReference
- InfraredMediaFrame
- Represents a VideoMediaFrame that contains infrared video data.
- InfraredTorchControl
- Provides functionality for controlling the infrared torch LED settings on a capture device.
- IOcrEngine
- IOcrLine
- IOcrResult
- IOcrWord
- IOpticalImageStabilizationControl
- IPanelBasedOptimizationControl
- IPhotoConfirmationControl
- IRegionOfInterest
- IRegionOfInterest2
- IRegionsOfInterestControl
- ISceneModeControl
- IsoSpeedControl
- Provides functionality for controlling the ISO film speed settings on a capture device.
- ITimedMetadataEncodingProperties
- ITimedMetadataStreamDescriptor
- ITorchControl
- IVariablePhotoSequenceCapture
- IVariablePhotoSequenceCapture2
- IVariablePhotoSequenceController
- IVideoDeviceController
- IVideoDeviceControllerGetDevicePropertyResult
- IVideoEffectDefinition
- Exposes the methods and properties of a VideoEffectDefinition object. Implement this interface when you create a custom video effect definition.
- IVideoEncodingProperties
- IVideoEncodingProperties2
- IVideoEncodingProperties3
- IVideoEncodingProperties4
- IVideoEncodingProperties5
- IVideoFrame
- IVideoFrame2
- IVideoMediaFrame
- IVideoMediaFrameFormat
- IVideoStreamDescriptor
- IVideoStreamDescriptor2
- IVideoTemporalDenoisingControl
- IWhiteBalanceControl
- IZoomControl
- IZoomControl2
- IZoomSettings
- LowLagMediaRecording
- Provides methods for taking a low lag media recording.
- LowLagPhotoCapture
- Provides methods for taking a low shutter lag photo.
- LowLagPhotoControl
- Provides functionality for managing the low shutter lag photo capture mode on the capture device.
- LowLagPhotoSequenceCapture
- Provides methods for taking a rapid sequence of low shutter lag photos.
- LowLagPhotoSequenceControl
- Provides functionality for managing the low shutter lag photo sequence mode on the capture device.
- MediaCapture
- Provides functionality for capturing photos, audio, and videos from a capture device, such as a webcam.
- MediaCaptureInitializationSettings
- Contains initialization settings for the MediaCapture object which are passed to the MediaCapture.InitializeAsync method.
- MediaCapturePauseResult
- Provides the last frame captured and the recorded duration of a media capture operation that has been paused.
- MediaCaptureRelativePanelWatcher
- Monitors the panel associated with a DisplayRegion, so that the app receives notifications when the relative location of the panel changes.
- MediaCaptureSettings
- Contains read-only configuration settings for the MediaCapture object.
- MediaCaptureStopResult
- Provides the last frame captured and the recorded duration of a media capture operation that has been stopped.
- MediaCaptureVideoProfile
- Represents a video profile that indicates a configuration supported by the video capture device.
- MediaCaptureVideoProfileMediaDescription
- Represents a description of media that is supported by a video profile.
- MediaDeviceControl
- Gets or sets a device setting on a camera.
- MediaDeviceControlCapabilities
- Gets the capabilities of a camera setting.
- MediaEncodingProfile
- Describes the encoding profile for an audio or video file. The encoding profile includes descriptions of the audio and video encoding formats, and a description of the media container.
- MediaFrameFormat
- Describes the format of a media frame obtained from a MediaFrameSource and represented by a MediaFrameReference.
- MediaFrameReader
- Provides access to frames from a MediaFrameSource and notification when a new frame arrives.
- MediaFrameReference
- 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.
- MediaFrameSource
- Represents a source of media frames, such as a color or infrared camera.
- MediaFrameSourceController
- 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.
- MediaFrameSourceGetPropertyResult
- Represents the value of a MediaFrameSource property, if it was successfully retrieved, and the result status of the get operation.
- MediaFrameSourceGroup
- Represents a group of media frame sources that can be used simultaneously by a MediaCapture.
- MediaFrameSourceInfo
- Provides information about a MediaFrameSource.
- MediaPropertySet
- Represents a set of media properties.
- MediaRatio
- Represents ratios used in media operations.
- MediaTimeRange
- Represents a time range within media content.
- MseTimeRange
- Describes the start and end of a time range.
- MultiSourceMediaFrameReader
- 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.
- MultiSourceMediaFrameReference
- 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.
- OcrEngine
- Provides optical character recognition (OCR) functionality.
- OcrLine
- Represents a single line of text recognized by the OCR engine and returned as part of the OcrResult.
- OcrResult
- Contains the results of Optical Character Recognition (OCR).
- OcrWord
- Represents a single word in a line of text recognized by the OCR engine and returned as part of the OcrLine.
- OpticalImageStabilizationControl
- When supported, allows an app to enable optical image stabilization on the capture device.
- PanelBasedOptimizationControl
- When supported, allows an app to enable the capture device driver to optimize camera capture functionality based on the panel location of the camera.
- PhotoConfirmationControl
- Provides functionality for controlling the photo confirmation settings on a capture device.
- RegionOfInterest
- Represents a region of interest which is a rectangular region on the image which is used for functions such as focus and exposure.
- RegionsOfInterestControl
- Provides functionality to mange the regions of interest on a device.
- SceneModeControl
- Provides functionality for controlling the scene mode settings on a capture device.
- TimedMetadataEncodingProperties
- Describes the encoding properties of a timed metadata stream. Timed metadata streams are used to encode data that is neither audio or video. For example, a media file may contain a video stream and a timed metadata stream containing GPS coordinates correlated to the video.
- TimedMetadataStreamDescriptor
- Represents a description a timed metada media stream.
- TorchControl
- Provides functionality for controlling the torch LED settings on a capture device.
- VariablePhotoSequenceCapture
- Provides methods and events that enable the capture of variable photo sequences.
- VariablePhotoSequenceController
- Represents the settings for a variable photo sequence.
- VideoDeviceController
- Controls device settings on the camera.
- VideoDeviceControllerGetDevicePropertyResult
- Represents the result of an operation to get the value of a video device controller driver property.
- VideoEncodingProperties
- Describes the encoding properties of a video stream.
- VideoFrame
- Represents a single frame of video data.
- VideoMediaFrame
- Represents a frame from a MediaFrameSource that provides data in a video frame represented by a IDirect3DSurface or SoftwareBitmap.
- VideoMediaFrameFormat
- Describes the image format of a VideoMediaFrame.
- VideoStreamDescriptor
- Represents a description a video media stream.
- VideoTemporalDenoisingControl
- When supported, allows an app to enable temporal denoising for video capture.
- WhiteBalanceControl
- Provides functionality for controlling the white balance settings on a capture device.
- WhiteBalanceGain
- Represents the red, green, and blue values of a white balance gain setting.
- ZoomControl
- Provides functionality for controlling the zoom settings on a capture device.
- ZoomSettings
- Represents zoom settings that can be applied to the ZoomControl by calling the Configure method.
Enums
- AdvancedPhotoMode
- Defines the advanced photo capture modes.
- AudioBufferAccessMode
- Defines the access mode of an AudioBuffer returned by AudioFrame.LockBuffer.
- AudioEncodingQuality
- Describes the level of quality of the audio encoding. The higher the quality, the better the audio fidelity, and the larger the resulting file.
- AudioProcessing
- Defines the audio processing modes.
- AutoFocusRange
- Defines the options for auto focus range.
- CameraOcclusionKind
- Specifies the kind of occlusion that is blocking a camera.
- CameraStreamState
- Defines the state of a camera stream.
- CaptureSceneMode
- Defines the possible capture scene modes.
- CaptureUse
- Defines the values for the primary use of the capture device.
- ColorTemperaturePreset
- Defines the values for the possible color temperature presets.
- DigitalWindowMode
- Specifies the modes of the DigitalWindowControl.
- FocusMode
- Defines the values for focus mode.
- FocusPreset
- Defines the values for the possible focus presets.
- FrameFlashMode
- Specifies the flash mode for a frame in a variable photo sequence.
- HdrVideoMode
- Defines the High Dynamic Range (HDR) video modes.
- InfraredTorchMode
- Defines the Infrared torch modes.
- IsoSpeedPreset
- Defines the possible values for ISO speed presets.
- KnownVideoProfile
- Specifies the names of video recording profiles that are known by the system.
- ManualFocusDistance
- Defines the options for manual focus distance.
- MediaCaptureDeviceExclusiveControlReleaseMode
- Specifies the condition under which exclusive access to the camera is released.
- MediaCaptureFocusState
- Defines the different focus states the capture device can be in.
- MediaCaptureMemoryPreference
- Specifies the preferred memory location for captured video frames.
- MediaCaptureOptimization
- Defines the optimizations that the media capture device can use.
- MediaCapturePauseBehavior
- Defines the behavior when media capture is paused with a call to PauseAsync or PauseRecordAsync.
- MediaCaptureSharingMode
- Specifies the media frame source sharing mode for a MediaCapture object.
- MediaCaptureThermalStatus
- Specifies the thermal status of a media capture device.
- MediaCategory
- Defines values for types of media categories.
- MediaFrameReaderAcquisitionMode
- 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.
- MediaFrameReaderStartStatus
- Specifies the result of a call to StartAsync to start the reading of media frames by a MediaFrameReader.
- MediaFrameSourceGetPropertyStatus
- Specifies the result of a MediaFrameSourceController.GetPropertyAsync or MediaFrameSourceController.GetPropertyByExtendedIdAsync operation.
- MediaFrameSourceKind
- Specifies the kind of data produced by a MediaFrameSource.
- MediaFrameSourceSetPropertyStatus
- Specifies the result of a MediaFrameSourceController.SetPropertyAsync operation.
- MediaPixelFormat
- Defines values for media pixel formats.
- MediaStreamType
- Specifies a type of stream on a media capture device.
- MediaThumbnailFormat
- Defines values for media formats for thumbnails.
- MultiSourceMediaFrameReaderStartStatus
- Specifies the status of a MultiSourceMediaFrameReader start operation. A value from this enumeration is returned by the MultiSourceMediaFrameReader.StartAsync method.
- OpticalImageStabilizationMode
- Defines the optical image stabilization modes.
- PhotoCaptureSource
- Specifies which stream on a video camera is used to capture photos.
- PowerlineFrequency
- Specifies the local power line frequency.
- RegionOfInterestType
- Defines the different types of regions of interest that can be detected the capture device.
- SphericalVideoFrameFormat
- Specifies the format of a spherical video frame.
- StereoscopicVideoPackingMode
- Specifies the stereoscopic video packing mode of a video stream.
- StreamingCaptureMode
- Specifies the streaming mode for a media capture device.
- VideoDeviceCharacteristic
- Indicates which video streams are independent of each other.
- VideoDeviceControllerGetDevicePropertyStatus
- Specifies the status of an operation to get the value of a video device controller driver property.
- VideoDeviceControllerSetDevicePropertyStatus
- Specifies the status of an operation to set the value of a video device controller driver property.
- VideoEncodingQuality
- Determines the video encoding format.
- VideoRotation
- Specifies the rotation of the video stream.
- VideoTemporalDenoisingMode
- Defines the video temporal denoising modes.
- VoiceGender
- Specifies the gender preferences available for speech synthesis (if supported by the specified speech synthesis engine).
- ZoomTransitionMode
- Defines the zoom transition modes.