Class FlipRotateVideoEffect
- Namespace
- VisioForge.Core.Types.X.VideoEffects
- Assembly
- VisioForge.Core.dll
Represents a cross-platform video flip and rotation effect for geometric transformations.
public class FlipRotateVideoEffect : BaseVideoEffect, IBaseVideoEffect, IVideoEditXVideoEffectInheritance
Implements
Inherited Members
Remarks
SDK Availability: VideoCaptureCoreX, MediaPlayerCoreX, VideoEditCoreX, Media Blocks SDK (Cross-platform)
Platforms: Windows, Linux, macOS, Android, iOS
This effect provides fast, hardware-accelerated geometric transformations including:
- Flipping: Horizontal (left-right mirror) and vertical (top-bottom mirror)
- Rotation: 90°, 180°, and 270° clockwise rotations
- Combined: Rotation with flipping for complex orientations
Common Use Cases:
- Correcting video orientation from mobile devices
- Mirroring webcam feeds for natural "selfie" view
- Portrait/landscape orientation changes
- Artistic effects (horizontal/vertical flips)
Performance: Highly optimized operation using hardware acceleration on all platforms. Minimal performance impact even on mobile devices.
See Also: For Windows-only applications with arbitrary angle rotation, see
VideoEffectRotate for Classic SDK implementation.
Constructors
FlipRotateVideoEffect(VideoFlipRotateMethod, string)
Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.FlipRotateVideoEffect class.
public FlipRotateVideoEffect(VideoFlipRotateMethod method, string name = "flip-rotate")Parameters
methodVideoFlipRotateMethod-
The flip/rotate transformation method specifying the desired geometric transformation. See VisioForge.Core.Types.X.VideoEffects.VideoFlipRotateMethod for all available options.
namestring-
The unique name identifier for this effect instance. Default value is "flip-rotate".
Fields
DefaultName
The default name for the flip/rotate effect.
public static string DefaultNameField Value
Properties
Method
Gets or sets the geometric transformation method.
public VideoFlipRotateMethod Method { get; set; }Property Value
Remarks
Changing this property dynamically updates the transformation in real-time without recreating the effect.
StartTime
Gets or sets the time when the effect should start being applied.
public TimeSpan StartTime { get; set; }Property Value
StopTime
Gets or sets the time when the effect should stop being applied.
public TimeSpan StopTime { get; set; }Property Value
Methods
GenerateDescription()
Generates the description.
public string GenerateDescription()Returns
- string
-
A string containing the GStreamer element description for the videoflip effect.