MediaElement enables you to add both audio and video effects with its
AddAudioEffect methods. (You can later remove them by calling
RemoveAllEffects.) You pass a string ID, a Boolean that states whether the effect is optional, and extra configuration that can be
null if it doesn’t apply.
The Windows Runtime currently includes just one built-in effect: video stabilization. Its ID is
"Windows.Media.VideoStabilizationEffect" but you can just use the static
VideoEffects.VideoStabilization string property instead. You therefore add it to a
mediaElement) as follows:
// Apply the video stabilization effectmediaElement.AddVideoEffect( VideoEffects.VideoStabilization, ...