MediaTranscoder.AddVideoEffect MediaTranscoder.AddVideoEffect MediaTranscoder.AddVideoEffect MediaTranscoder.AddVideoEffect MediaTranscoder.AddVideoEffect Method

Definition

Overloads

AddVideoEffect(String) AddVideoEffect(String) AddVideoEffect(String) AddVideoEffect(String) AddVideoEffect(String)

Adds the specified video effect.

AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet)

Adds the specified video effect with configuration properties and indicates whether the effect is required.

AddVideoEffect(String) AddVideoEffect(String) AddVideoEffect(String) AddVideoEffect(String) AddVideoEffect(String)

Adds the specified video effect.

public : void AddVideoEffect(Platform::String activatableClassId)
void AddVideoEffect(winrt::hstring activatableClassId) const;
public void AddVideoEffect(String activatableClassId)
Public Sub AddVideoEffect(activatableClassId As String)
mediaTranscoder.addVideoEffect(activatableClassId);

Parameters

activatableClassId
String String String

The identifier of the video effect.

Examples

The following example adds a video effect to the transcoder.


function doTranscode() {
        // Clear any existing effects.
        transcoder.clearEffects;
        // Add video effect.
        transcoder.addVideoEffect(videoEffect);
        // Add audio effect.
        transcoder.addAudioEffect(audioEffect);
        // Set start and stop times for trimming.
        transcoder.trimStartTime(1000);
        transcoder.trimStopTime(9000);
        // Always reencode the source
        transcoder.alwaysReencode = true;

        return transcoder.prepareFileTranscodeAsync(source, destination, profile);
    }
See also

AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet) AddVideoEffect(String, Boolean, IPropertySet)

Adds the specified video effect with configuration properties and indicates whether the effect is required.

public : void AddVideoEffect(Platform::String activatableClassId, bool effectRequired, IPropertySet configuration)
void AddVideoEffect(winrt::hstring activatableClassId, bool effectRequired, IPropertySet configuration) const;
public void AddVideoEffect(String activatableClassId, Boolean effectRequired, IPropertySet configuration)
Public Sub AddVideoEffect(activatableClassId As String, effectRequired As Boolean, configuration As IPropertySet)
mediaTranscoder.addVideoEffect(activatableClassId, effectRequired, configuration);

Parameters

activatableClassId
String String String

The identifier of the video effect.

effectRequired
Boolean Boolean Boolean

Indicates whether the video effect is required.

configuration
IPropertySet IPropertySet IPropertySet

Configuration properties for the video effect.

See also