Dela via


VideoStabilizationEffect Class

Definition

Represents an effect that stabilizes a video stream.

public ref class VideoStabilizationEffect sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class VideoStabilizationEffect final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class VideoStabilizationEffect
Public NotInheritable Class VideoStabilizationEffect
Inheritance
Object Platform::Object IInspectable VideoStabilizationEffect
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by passing a VideoStabilizationEffectDefinition object into MediaCapture.AddVideoEffectAsync or MediaTranscoder.AddVideoEffect.

For how-to guidance for using the VideoStabilizationEffect, see Effects for video capture.

Properties

Enabled

Gets or sets a value indicating whether video stabilization is enabled.

Methods

GetRecommendedStreamConfiguration(VideoDeviceController, VideoEncodingProperties)

Gets the recommended video stream configuration for video stabilization, given the specified video device controller and encoding properties.

SetProperties(IPropertySet)

Sets properties on the IMediaExtension.

Events

EnabledChanged

Occurs when the value of the VideoStabilizationEffect.Enabled property changes.

Applies to

See also