videoflip

Flips and rotates video.

Example launch line

 gst-launch-1.0 videotestsrc ! videoflip method=clockwise ! videoconvert ! ximagesink

This pipeline flips the test image 90 degrees clockwise.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstVideoFilter
                        ╰──videoflip

Factory details

Authors: – David Schleef

Classification:Filter/Effect/Video

Rank – none

Plugin – gstvideofilter

Package – GStreamer Good Plug-ins git

Pad Templates

sink

video/x-raw:
         format: { AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, I420, YV12, IYUV, YUY2, UYVY, YVYU, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink


src

video/x-raw:
         format: { AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, I420, YV12, IYUV, YUY2, UYVY, YVYU, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc


Properties

method

“method” Video-flip-method

method (deprecated, use video-direction instead)

Flags : Read / Write / Construct

Default value : none (0)


name

“name” gchararray *

The name of the object

Flags : Read / Write / Construct

Default value : NULL


parent

“parent” GstObject *

The parent of the object

Flags : Read / Write


qos

“qos” gboolean *

Handle Quality-of-Service events

Flags : Read / Write

Default value : true


video-direction

“video-direction” Video-orientation-method

Video direction: rotation and flipping

Flags : Read / Write / Construct

Default value : identity (0)


Named constants

Video-flip-method

The different flip methods.

Members

none (0) – Identity (no rotation)
clockwise (1) – Rotate clockwise 90 degrees
rotate-180 (2) – Rotate 180 degrees
counterclockwise (3) – Rotate counter-clockwise 90 degrees
horizontal-flip (4) – Flip horizontally
vertical-flip (5) – Flip vertically
upper-left-diagonal (6) – Flip across upper left/lower right diagonal
upper-right-diagonal (7) – Flip across upper right/lower left diagonal
automatic (8) – Select flip method based on image-orientation tag

Video-orientation-method

Members

identity (0) – GST_VIDEO_ORIENTATION_IDENTITY
90r (1) – GST_VIDEO_ORIENTATION_90R
180 (2) – GST_VIDEO_ORIENTATION_180
90l (3) – GST_VIDEO_ORIENTATION_90L
horiz (4) – GST_VIDEO_ORIENTATION_HORIZ
vert (5) – GST_VIDEO_ORIENTATION_VERT
ul-lr (6) – GST_VIDEO_ORIENTATION_UL_LR
ur-ll (7) – GST_VIDEO_ORIENTATION_UR_LL
auto (8) – GST_VIDEO_ORIENTATION_AUTO
custom (9) – GST_VIDEO_ORIENTATION_CUSTOM

The results of the search are