Table of Contents

Class VideoEffectFlipVertical

Namespace
VisioForge.Core.Types.VideoEffects
Assembly
VisioForge.Core.dll

Represents a vertical flip effect that inverts the video image along the horizontal axis.

public class VideoEffectFlipVertical : VideoEffect, IVideoEffectFlipRight, IVideoEffect

Inheritance

Implements

Inherited Members

Remarks

SDK Availability: VideoCaptureCore, MediaPlayerCore, VideoEditCore (Windows only)

Platform Support: Windows only

The vertical flip effect creates a mirror image of the video by flipping it upside down, rotating the content 180 degrees around the horizontal axis. The top of the video becomes the bottom and vice versa, while the left-right orientation remains unchanged.

This effect is commonly used for:

  • Correcting videos captured with inverted camera orientation
  • Creating artistic mirror effects and visual transitions
  • Adjusting footage from upside-down mounted cameras
  • Video composition and creative editing effects

The flip operation is performed in real-time during video processing with minimal performance impact. Unlike rotation effects, flipping does not require interpolation or introduce quality degradation.

For horizontal mirroring effects, see VisioForge.Core.Types.VideoEffects.VideoEffectMirrorHorizontal. For complete 180-degree rotation, consider combining this effect with a horizontal flip.

Constructors

VideoEffectFlipVertical(bool, string, TimeSpan, TimeSpan)

Initializes a new instance of the VisioForge.Core.Types.VideoEffects.VideoEffectFlipVertical class with specified parameters.

public VideoEffectFlipVertical(bool enabled, string name = "FlipRight", TimeSpan startTime = default, TimeSpan stopTime = default)

Parameters

enabled bool

true to enable the effect immediately; false to create the effect in a disabled state. The effect can be enabled later by setting the VisioForge.Core.Types.VideoEffects.VideoEffect.Enabled property.

name string

An optional name identifier for this effect instance. Default is "FlipRight". This name can be used to retrieve and control the effect through the video processing pipeline.

startTime TimeSpan

The time at which the effect should start being applied. Default is zero (from beginning). Use Zero to apply the effect from the start of the video.

stopTime TimeSpan

The time at which the effect should stop being applied. Default is zero (until end). Use Zero to apply the effect until the end of the video. When both startTime and stopTime are zero, the effect applies to the entire video.

Remarks

The vertical flip effect has no additional configuration parameters beyond the base effect properties. Once created and enabled, it immediately inverts the video vertically without requiring further setup.

Time-based control allows the flip effect to be applied only during specific portions of the video, which is useful for transitions, corrections in specific scenes, or creative editing sequences.

Methods

GetEffectType()

Gets the specific type of this video effect.

public VideoEffectType GetEffectType()

Returns

VideoEffectType

Returns VisioForge.Core.Types.VideoEffects.VideoEffectType.FlipRight to identify this as a vertical flip effect.

Remarks

This method is used by the video processing pipeline to route the effect to the appropriate vertical flip processor. The effect type determines which internal transformation algorithm will be applied to the video frames.