1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>videoflip</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Good Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9 <link rel="prev" href="gst-plugins-good-plugins-videocrop.html" title="videocrop">
10 <link rel="next" href="gst-plugins-good-plugins-videomixer.html" title="videomixer">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gst-plugins-good-plugins-videocrop.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Good Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-good-plugins-videomixer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-videoflip.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-good-plugins-videoflip.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-good-plugins-videoflip.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-good-plugins-videoflip.properties" class="shortcut">Properties</a>
33 <div class="refentry">
34 <a name="gst-plugins-good-plugins-videoflip"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
37 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-videoflip.top_of_page"></a>videoflip</span></h2>
38 <p>videoflip — Flips and rotates video</p>
40 <td valign="top" align="right"></td>
42 <div class="refsynopsisdiv">
43 <a name="gst-plugins-good-plugins-videoflip.synopsis"></a><h2>Synopsis</h2>
44 <a name="GstVideoFlip"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlip-struct" title="struct GstVideoFlip">GstVideoFlip</a>;
45 enum <a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlipMethod" title="enum GstVideoFlipMethod">GstVideoFlipMethod</a>;
48 <div class="refsect1">
49 <a name="gst-plugins-good-plugins-videoflip.object-hierarchy"></a><h2>Object Hierarchy</h2>
50 <pre class="synopsis">
51 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
52 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
53 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
54 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseTransform.html">GstBaseTransform</a>
55 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideofilter.html#GstVideoFilter">GstVideoFilter</a>
59 <div class="refsect1">
60 <a name="gst-plugins-good-plugins-videoflip.properties"></a><h2>Properties</h2>
61 <pre class="synopsis">
62 "<a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlip--method" title='The "method" property'>method</a>" <a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlipMethod" title="enum GstVideoFlipMethod"><span class="type">GstVideoFlipMethod</span></a> : Read / Write
65 <div class="refsect1">
66 <a name="gst-plugins-good-plugins-videoflip.description"></a><h2>Description</h2>
68 Flips and rotates video.
72 <div class="refsect2">
73 <a name="idp20492112"></a><h3>Example launch line</h3>
74 <div class="informalexample">
75 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
78 <td class="listing_lines" align="right"><pre>1</pre></td>
79 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch videotestsrc <span class="gtkdoc opt">!</span> videoflip method<span class="gtkdoc opt">=</span>clockwise <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> ximagesink</pre></td>
84 This pipeline flips the test image 90 degrees clockwise.
89 Last reviewed on 2010-04-18 (0.10.22)
91 <div class="refsynopsisdiv">
93 <div class="refsect2">
94 <a name="idp22762512"></a><h3>Element Information</h3>
95 <div class="variablelist"><table border="0">
96 <col align="left" valign="top">
99 <td><p><span class="term">plugin</span></p></td>
101 <a class="link" href="gst-plugins-good-plugins-plugin-videofilter.html#plugin-videofilter">videofilter</a>
105 <td><p><span class="term">author</span></p></td>
106 <td>David Schleef <ds@schleef.org></td>
109 <td><p><span class="term">class</span></p></td>
110 <td>Filter/Effect/Video</td>
116 <div class="refsect2">
117 <a name="idp23411136"></a><h3>Element Pads</h3>
118 <div class="variablelist"><table border="0">
119 <col align="left" valign="top">
122 <td><p><span class="term">name</span></p></td>
126 <td><p><span class="term">direction</span></p></td>
130 <td><p><span class="term">presence</span></p></td>
134 <td><p><span class="term">details</span></p></td>
135 <td>video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
138 <td><p><span class="term"></span></p></td>
139 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
142 <td><p><span class="term"></span></p></td>
143 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
146 <td><p><span class="term"></span></p></td>
147 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
150 <td><p><span class="term"></span></p></td>
151 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
154 <td><p><span class="term"></span></p></td>
155 <td> video/x-raw-yuv, format=(fourcc)Y444, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
158 <td><p><span class="term"></span></p></td>
159 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
162 <td><p><span class="term"></span></p></td>
163 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
166 <td><p><span class="term"></span></p></td>
167 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
170 <td><p><span class="term"></span></p></td>
171 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
174 <td><p><span class="term"></span></p></td>
175 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
178 <td><p><span class="term"></span></p></td>
179 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
182 <td><p><span class="term"></span></p></td>
183 <td> video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
186 <td><p><span class="term"></span></p></td>
187 <td> video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
190 <td><p><span class="term"></span></p></td>
191 <td> video/x-raw-yuv, format=(fourcc)IYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
194 <td><p><span class="term"></span></p></td>
195 <td> video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
198 <td><p><span class="term"></span></p></td>
199 <td> video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
202 <td><p><span class="term"></span></p></td>
203 <td> video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
207 <div class="variablelist"><table border="0">
208 <col align="left" valign="top">
211 <td><p><span class="term">name</span></p></td>
215 <td><p><span class="term">direction</span></p></td>
219 <td><p><span class="term">presence</span></p></td>
223 <td><p><span class="term">details</span></p></td>
224 <td>video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
227 <td><p><span class="term"></span></p></td>
228 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
231 <td><p><span class="term"></span></p></td>
232 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
235 <td><p><span class="term"></span></p></td>
236 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
239 <td><p><span class="term"></span></p></td>
240 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
243 <td><p><span class="term"></span></p></td>
244 <td> video/x-raw-yuv, format=(fourcc)Y444, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
247 <td><p><span class="term"></span></p></td>
248 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
251 <td><p><span class="term"></span></p></td>
252 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
255 <td><p><span class="term"></span></p></td>
256 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
259 <td><p><span class="term"></span></p></td>
260 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
263 <td><p><span class="term"></span></p></td>
264 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
267 <td><p><span class="term"></span></p></td>
268 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
271 <td><p><span class="term"></span></p></td>
272 <td> video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
275 <td><p><span class="term"></span></p></td>
276 <td> video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
279 <td><p><span class="term"></span></p></td>
280 <td> video/x-raw-yuv, format=(fourcc)IYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
283 <td><p><span class="term"></span></p></td>
284 <td> video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
287 <td><p><span class="term"></span></p></td>
288 <td> video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
291 <td><p><span class="term"></span></p></td>
292 <td> video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
301 <div class="refsect1">
302 <a name="gst-plugins-good-plugins-videoflip.details"></a><h2>Details</h2>
303 <div class="refsect2">
304 <a name="GstVideoFlip-struct"></a><h3>struct GstVideoFlip</h3>
305 <pre class="programlisting">struct GstVideoFlip;</pre>
307 Opaque datastructure.
311 <div class="refsect2">
312 <a name="GstVideoFlipMethod"></a><h3>enum GstVideoFlipMethod</h3>
313 <pre class="programlisting">typedef enum {
314 GST_VIDEO_FLIP_METHOD_IDENTITY,
315 GST_VIDEO_FLIP_METHOD_90R,
316 GST_VIDEO_FLIP_METHOD_180,
317 GST_VIDEO_FLIP_METHOD_90L,
318 GST_VIDEO_FLIP_METHOD_HORIZ,
319 GST_VIDEO_FLIP_METHOD_VERT,
320 GST_VIDEO_FLIP_METHOD_TRANS,
321 GST_VIDEO_FLIP_METHOD_OTHER
322 } GstVideoFlipMethod;
325 The different flip methods.
327 <div class="variablelist"><table border="0">
328 <col align="left" valign="top">
331 <td><p><a name="GST-VIDEO-FLIP-METHOD-IDENTITY:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_IDENTITY</code></span></p></td>
332 <td>Identity (no rotation)
336 <td><p><a name="GST-VIDEO-FLIP-METHOD-90R:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_90R</code></span></p></td>
337 <td>Rotate clockwise 90 degrees
341 <td><p><a name="GST-VIDEO-FLIP-METHOD-180:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_180</code></span></p></td>
342 <td>Rotate 180 degrees
346 <td><p><a name="GST-VIDEO-FLIP-METHOD-90L:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_90L</code></span></p></td>
347 <td>Rotate counter-clockwise 90 degrees
351 <td><p><a name="GST-VIDEO-FLIP-METHOD-HORIZ:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_HORIZ</code></span></p></td>
352 <td>Flip horizontally
356 <td><p><a name="GST-VIDEO-FLIP-METHOD-VERT:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_VERT</code></span></p></td>
361 <td><p><a name="GST-VIDEO-FLIP-METHOD-TRANS:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_TRANS</code></span></p></td>
362 <td>Flip across upper left/lower right diagonal
366 <td><p><a name="GST-VIDEO-FLIP-METHOD-OTHER:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_FLIP_METHOD_OTHER</code></span></p></td>
367 <td>Flip across upper right/lower left diagonal
374 <div class="refsect1">
375 <a name="gst-plugins-good-plugins-videoflip.property-details"></a><h2>Property Details</h2>
376 <div class="refsect2">
377 <a name="GstVideoFlip--method"></a><h3>The <code class="literal">"method"</code> property</h3>
378 <pre class="programlisting"> "method" <a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlipMethod" title="enum GstVideoFlipMethod"><span class="type">GstVideoFlipMethod</span></a> : Read / Write</pre>
380 <p>Default value: Identity (no rotation)</p>
386 Generated by GTK-Doc V1.18</div>