4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>shapewipe</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
<link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
8
8
<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9
9
<link rel="prev" href="gst-plugins-bad-plugins-sdpdemux.html" title="sdpdemux">
10
10
<link rel="next" href="gst-plugins-bad-plugins-speed.html" title="speed">
33
33
<a href="#gst-plugins-bad-plugins-shapewipe.properties" class="shortcut">Properties</a>
36
<div class="refentry" lang="en">
36
<div class="refentry" title="shapewipe">
37
37
<a name="gst-plugins-bad-plugins-shapewipe"></a><div class="titlepage"></div>
38
38
<div class="refnamediv"><table width="100%"><tr>
43
43
<td valign="top" align="right"></td>
44
44
</tr></table></div>
45
<div class="refsynopsisdiv">
45
<div class="refsynopsisdiv" title="Synopsis">
46
46
<a name="gst-plugins-bad-plugins-shapewipe.synopsis"></a><h2>Synopsis</h2>
47
47
<a name="GstShapeWipe"></a><pre class="synopsis">
48
48
<a class="link" href="gst-plugins-bad-plugins-shapewipe.html#GstShapeWipe-struct" title="GstShapeWipe">GstShapeWipe</a>;
51
<div class="refsect1" lang="en">
51
<div class="refsect1" title="Object Hierarchy">
52
52
<a name="gst-plugins-bad-plugins-shapewipe.object-hierarchy"></a><h2>Object Hierarchy</h2>
53
53
<pre class="synopsis">
55
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
55
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
58
href="../gstreamer-0.10/GstObject.html"
61
href="../gstreamer-0.10/GstElement.html"
62
<div class="refsect1" lang="en">
66
<div class="refsect1" title="Properties">
63
67
<a name="gst-plugins-bad-plugins-shapewipe.properties"></a><h2>Properties</h2>
64
68
<pre class="synopsis">
65
69
"<a class="link" href="gst-plugins-bad-plugins-shapewipe.html#GstShapeWipe--border" title='The "border" property'>border</a>" <a
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
70
href="../glib/glib-Basic-Types.html#gfloat"
67
71
>gfloat</a> : Read / Write
68
72
"<a class="link" href="gst-plugins-bad-plugins-shapewipe.html#GstShapeWipe--position" title='The "position" property'>position</a>" <a
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
73
href="../glib/glib-Basic-Types.html#gfloat"
70
74
>gfloat</a> : Read / Write
73
<div class="refsect1" lang="en">
77
<div class="refsect1" title="Description">
74
78
<a name="gst-plugins-bad-plugins-shapewipe.description"></a><h2>Description</h2>
76
80
The shapewipe element provides custom transitions on video streams
88
<div class="refsect2" lang="en">
89
<a name="id3070807"></a><h3>Example launch line</h3>
92
<div class="refsect2" title="Example launch line">
93
<a name="id2893212"></a><h3>Example launch line</h3>
90
94
<div class="informalexample"><pre class="programlisting">
91
95
gst-launch -v videotestsrc ! video/x-raw-yuv,width=640,height=480 ! shapewipe position=0.5 name=shape ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink filesrc location=mask.png ! typefind ! decodebin2 ! ffmpegcolorspace ! videoscale ! queue ! shape.mask_sink videotestsrc pattern=snow ! video/x-raw-yuv,width=640,height=480 ! queue ! mixer.
92
96
</pre></div> This pipeline adds the transition from mask.png with position 0.5 to an SMPTE test screen and snow.
94
<div class="refsynopsisdiv">
98
<div class="refsynopsisdiv" title="Synopsis">
96
<div class="refsect2" lang="en">
97
<a name="id3070796"></a><h3>Element Information</h3>
100
<div class="refsect2" title="Element Information">
101
<a name="id2893193"></a><h3>Element Information</h3>
98
102
<div class="variablelist"><table border="0">
99
103
<col align="left" valign="top">
119
<div class="refsect2" lang="en">
120
<a name="id3003890"></a><h3>Element Pads</h3>
123
<div class="refsect2" title="Element Pads">
124
<a name="id2893130"></a><h3>Element Pads</h3>
121
125
<div class="variablelist"><table border="0">
122
126
<col align="left" valign="top">
137
141
<td><p><span class="term">details</span></p></td>
138
142
<td>video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
145
<td><p><span class="term"></span></p></td>
146
<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>
149
<td><p><span class="term"></span></p></td>
150
<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>
142
154
<div class="variablelist"><table border="0">
183
195
<td><p><span class="term">details</span></p></td>
184
196
<td>video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
199
<td><p><span class="term"></span></p></td>
200
<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>
203
<td><p><span class="term"></span></p></td>
204
<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>
193
<div class="refsect1" lang="en">
213
<div class="refsect1" title="Details">
194
214
<a name="gst-plugins-bad-plugins-shapewipe.details"></a><h2>Details</h2>
195
<div class="refsect2" lang="en">
215
<div class="refsect2" title="GstShapeWipe">
196
216
<a name="GstShapeWipe-struct"></a><h3>GstShapeWipe</h3>
197
217
<pre class="programlisting">typedef struct _GstShapeWipe GstShapeWipe;</pre>
202
<div class="refsect1" lang="en">
222
<div class="refsect1" title="Property Details">
203
223
<a name="gst-plugins-bad-plugins-shapewipe.property-details"></a><h2>Property Details</h2>
204
<div class="refsect2" lang="en">
224
<div class="refsect2" title='The "border" property'>
205
225
<a name="GstShapeWipe--border"></a><h3>The <code class="literal">"border"</code> property</h3>
206
226
<pre class="programlisting"> "border" <a
207
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
227
href="../glib/glib-Basic-Types.html#gfloat"
208
228
>gfloat</a> : Read / Write</pre>
209
229
<p>Border of the mask.</p>
210
230
<p>Allowed values: [0,1]</p>
211
231
<p>Default value: 0</p>
214
<div class="refsect2" lang="en">
234
<div class="refsect2" title='The "position" property'>
215
235
<a name="GstShapeWipe--position"></a><h3>The <code class="literal">"position"</code> property</h3>
216
236
<pre class="programlisting"> "position" <a
217
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
237
href="../glib/glib-Basic-Types.html#gfloat"
218
238
>gfloat</a> : Read / Write</pre>
219
239
<p>Position of the mask.</p>
220
240
<p>Allowed values: [0,1]</p>