Table of Contents

Class VideoEffectFlipHorizontal

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

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

public class VideoEffectFlipHorizontal : VideoEffect, IVideoEffectFlipDown, IVideoEffect

Inheritance

Implements

Inherited Members

Remarks

SDK Availability: Video Capture SDK .NET (Classic)

Platform: Windows only (DirectShow-based)

This classic effect flips (mirrors) the video horizontally, creating a left-right mirror image. The right side of the image becomes the left side and vice versa. This is commonly called "horizontal flip" or "mirror horizontally" and is useful for correcting mirror-reversed video or creating symmetrical visual effects.

The horizontal flip effect is commonly used for:

  • Webcam Correction: Many webcams produce mirror-reversed images that need flipping
  • Screen Recording: Correct horizontally flipped screen captures
  • Creative Effects: Create mirror symmetry or unusual perspectives
  • Text Correction: Fix reversed text in video
  • Camera Orientation: Correct video from incorrectly mounted cameras

This is a Windows-only DirectShow filter effect. For cross-platform flip and rotation, use VisioForge.Core.Types.X.VideoEffects.FlipRotateVideoEffect from the Media Blocks SDK which supports multiple platforms and provides more transformation options.

Performance: Real-time capable with minimal overhead. Simple geometric transformation.

Related Effects: See also VisioForge.Core.Types.VideoEffects.VideoEffectFlipVertical for vertical flipping, VisioForge.Core.Types.VideoEffects.VideoEffectMirrorHorizontal (note: naming may refer to same or related operation), and VisioForge.Core.Types.VideoEffects.VideoEffectMirrorVertical for mirror effects.

Note: The original code comment says "Flip down effect" but the class name and type suggest horizontal flipping. This may be a documentation error in the original code.

Constructors

VideoEffectFlipHorizontal(bool, string, TimeSpan, TimeSpan)

Initializes a new instance of the VisioForge.Core.Types.VideoEffects.VideoEffectFlipHorizontal class.

public VideoEffectFlipHorizontal(bool enabled, string name = "FlipDown", TimeSpan startTime = default, TimeSpan stopTime = default)

Parameters

enabled bool

true to enable the effect immediately; false to add it disabled.

name string

The unique name for this effect instance. Used to retrieve and control the effect at runtime. Defaults to "FlipDown".

startTime TimeSpan

The time when the effect should start being applied. Use default (TimeSpan.Zero) to apply from the beginning. Only applicable in Video Edit SDK scenarios with timeline-based effects.

stopTime TimeSpan

The time when the effect should stop being applied. Use default (TimeSpan.Zero) to apply until the end. Only applicable in Video Edit SDK scenarios with timeline-based effects.

Methods

GetEffectType()

Gets type.

public VideoEffectType GetEffectType()

Returns

VideoEffectType

The VisioForge.Core.Types.VideoEffects.VideoEffectType.