VideoEffects class

Applies to Windows and Windows Phone

Provides video-related effects.

Syntax


public static class VideoEffects

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

Members

The VideoEffects class has these types of members:

Methods

The VideoEffects class inherits methods from the Object class (C#/VB/C++).

Properties

The VideoEffects class has these properties.

PropertyAccess typeDescription

VideoStabilization

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

 

Examples

The following 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();


Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

Samples
Media extension sample

 

 

Show:
© 2014 Microsoft