VideoEffects class

VideoEffects class

Provides video-related effects.

Syntax


public ref class VideoEffects abstract sealed 

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-only

Represents 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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
Samples
Media extension sample

 

 

Show:
© 2016 Microsoft