videoflip

videoflip — Flips and rotates video

Synopsis

                    GstVideoFlip;
enum                GstVideoFlipMethod;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstVideoFilter
                           +----GstVideoFlip

Properties

  "method"                   GstVideoFlipMethod    : Read / Write

Description

Flips and rotates video.

Example launch line

gst-launch videotestsrc ! videoflip method=clockwise ! ffmpegcolorspace ! ximagesink
This pipeline flips the test image 90 degrees clockwise.

Last reviewed on 2006-03-03 (0.10.3)

Details

GstVideoFlip

typedef struct _GstVideoFlip GstVideoFlip;

Opaque datastructure.


enum GstVideoFlipMethod

typedef enum {
  GST_VIDEO_FLIP_METHOD_IDENTITY,
  GST_VIDEO_FLIP_METHOD_90R,
  GST_VIDEO_FLIP_METHOD_180,
  GST_VIDEO_FLIP_METHOD_90L,
  GST_VIDEO_FLIP_METHOD_HORIZ,
  GST_VIDEO_FLIP_METHOD_VERT,
  GST_VIDEO_FLIP_METHOD_TRANS,
  GST_VIDEO_FLIP_METHOD_OTHER
} GstVideoFlipMethod;

The different flip methods.

GST_VIDEO_FLIP_METHOD_IDENTITY

Identity (no rotation)

GST_VIDEO_FLIP_METHOD_90R

Rotate clockwise 90 degrees

GST_VIDEO_FLIP_METHOD_180

Rotate 180 degrees

GST_VIDEO_FLIP_METHOD_90L

Rotate counter-clockwise 90 degrees

GST_VIDEO_FLIP_METHOD_HORIZ

Flip horizontally

GST_VIDEO_FLIP_METHOD_VERT

Flip vertically

GST_VIDEO_FLIP_METHOD_TRANS

Flip across upper left/lower right diagonal

GST_VIDEO_FLIP_METHOD_OTHER

Flip across upper right/lower left diagonal

Property Details

The "method" property

  "method"                   GstVideoFlipMethod    : Read / Write

method.

Default value: Rotate clockwise 90 degrees