VideoEffects VideoEffects VideoEffects VideoEffects Class

Provides video-related effects.

Syntax

Declaration

public static class VideoEffectspublic static class VideoEffectsPublic Static Class VideoEffectspublic static class VideoEffects

Remarks

For information in using the effects when capturing video, see Effects for video capture.

Examples

The following JavaScript example adds the VideoStabilization effect to a <video> element. To add a different effect, replace the first parameter with the activatable ClassID of your media extension.

var myVideo = document.getElementById("videoTag1");
myVideo.msAddVideoEffect(
   “Windows.Media.VideoEffects.VideoStabilization”, // ClassID
    true,   // effectRequired
    null);  // config
    myVideo.play();

Properties summary

Represents a video stabilization effect which can be used on a video object to reduce the shakiness in the video.

Properties

  • VideoStabilization
    VideoStabilization
    VideoStabilization
    VideoStabilization

    Represents a video stabilization effect which can be used on a video object to reduce the shakiness in the video.

    public static string VideoStabilization { get; }public static string VideoStabilization { get; }Public Static ReadOnly Property VideoStabilization As stringpublic static string VideoStabilization { get; }

    Property Value

    • string
      string
      string
      string

      The name of the effect: "Windows.Media.VideoStabilizationEffect"

    Remarks

    While the VideoStabilization property is accessible on Windows Phone 8.1, the video stabilization effect itself is not supported on this platform. The effect is supported on Windows 10 Mobile and later.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Media.dll