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>shapewipe</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-shagadelictv.html" title="shagadelictv">
10 <link rel="next" href="gst-plugins-good-plugins-smokedec.html" title="smokedec">
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-shagadelictv.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-smokedec.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-shapewipe.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-good-plugins-shapewipe.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-good-plugins-shapewipe.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-good-plugins-shapewipe.properties" class="shortcut">Properties</a>
33 <div class="refentry">
34 <a name="gst-plugins-good-plugins-shapewipe"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
37 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-shapewipe.top_of_page"></a>shapewipe</span></h2>
38 <p>shapewipe — Adds a shape wipe transition to a video stream</p>
40 <td valign="top" align="right"></td>
42 <div class="refsynopsisdiv">
43 <a name="gst-plugins-good-plugins-shapewipe.synopsis"></a><h2>Synopsis</h2>
44 <a name="GstShapeWipe"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-good-plugins-shapewipe.html#GstShapeWipe-struct" title="struct GstShapeWipe">GstShapeWipe</a>;
47 <div class="refsect1">
48 <a name="gst-plugins-good-plugins-shapewipe.object-hierarchy"></a><h2>Object Hierarchy</h2>
49 <pre class="synopsis">
50 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
51 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
52 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
56 <div class="refsect1">
57 <a name="gst-plugins-good-plugins-shapewipe.properties"></a><h2>Properties</h2>
58 <pre class="synopsis">
59 "<a class="link" href="gst-plugins-good-plugins-shapewipe.html#GstShapeWipe--border" title='The "border" property'>border</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
60 "<a class="link" href="gst-plugins-good-plugins-shapewipe.html#GstShapeWipe--position" title='The "position" property'>position</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
63 <div class="refsect1">
64 <a name="gst-plugins-good-plugins-shapewipe.description"></a><h2>Description</h2>
66 The shapewipe element provides custom transitions on video streams
67 based on a grayscale bitmap. The state of the transition can be
68 controlled by the position property and an optional blended border
69 can be added by the border property.
72 Transition bitmaps can be downloaded from the
73 <a class="ulink" href="http://cinelerra.org/transitions.php" target="_top">Cinelerra transition</a>
78 <div class="refsect2">
79 <a name="idp19852704"></a><h3>Example launch line</h3>
80 <div class="informalexample">
81 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
84 <td class="listing_lines" align="right"><pre>1</pre></td>
85 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch <span class="gtkdoc opt">-</span>v videotestsrc <span class="gtkdoc opt">!</span> video<span class="gtkdoc opt">/</span>x<span class="gtkdoc opt">-</span>raw<span class="gtkdoc opt">-</span>yuv<span class="gtkdoc opt">,</span>format<span class="gtkdoc opt">=(</span>fourcc<span class="gtkdoc opt">)</span>AYUV<span class="gtkdoc opt">,</span>width<span class="gtkdoc opt">=</span><span class="number">640</span><span class="gtkdoc opt">,</span>height<span class="gtkdoc opt">=</span><span class="number">480</span> <span class="gtkdoc opt">!</span> shapewipe position<span class="gtkdoc opt">=</span><span class="number">0.5</span> name<span class="gtkdoc opt">=</span>shape <span class="gtkdoc opt">!</span> videomixer name<span class="gtkdoc opt">=</span>mixer <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> autovideosink filesrc location<span class="gtkdoc opt">=</span>mask<span class="gtkdoc opt">.</span>png <span class="gtkdoc opt">!</span> typefind <span class="gtkdoc opt">!</span> decodebin2 <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> videoscale <span class="gtkdoc opt">!</span> queue <span class="gtkdoc opt">!</span> shape<span class="gtkdoc opt">.</span>mask_sink videotestsrc pattern<span class="gtkdoc opt">=</span>snow <span class="gtkdoc opt">!</span> video<span class="gtkdoc opt">/</span>x<span class="gtkdoc opt">-</span>raw<span class="gtkdoc opt">-</span>yuv<span class="gtkdoc opt">,</span>format<span class="gtkdoc opt">=(</span>fourcc<span class="gtkdoc opt">)</span>AYUV<span class="gtkdoc opt">,</span>width<span class="gtkdoc opt">=</span><span class="number">640</span><span class="gtkdoc opt">,</span>height<span class="gtkdoc opt">=</span><span class="number">480</span> <span class="gtkdoc opt">!</span> queue <span class="gtkdoc opt">!</span> mixer<span class="gtkdoc opt">.</span></pre></td>
90 This pipeline adds the transition from mask.png with position 0.5 to an SMPTE test screen and snow.
94 <div class="refsynopsisdiv">
96 <div class="refsect2">
97 <a name="idp19556048"></a><h3>Element Information</h3>
98 <div class="variablelist"><table border="0">
99 <col align="left" valign="top">
102 <td><p><span class="term">plugin</span></p></td>
104 <a class="link" href="gst-plugins-good-plugins-plugin-shapewipe.html#plugin-shapewipe">shapewipe</a>
108 <td><p><span class="term">author</span></p></td>
109 <td>Sebastian Dröge <sebastian.droege@collabora.co.uk></td>
112 <td><p><span class="term">class</span></p></td>
113 <td>Filter/Editor/Video</td>
119 <div class="refsect2">
120 <a name="idp19645552"></a><h3>Element Pads</h3>
121 <div class="variablelist"><table border="0">
122 <col align="left" valign="top">
125 <td><p><span class="term">name</span></p></td>
129 <td><p><span class="term">direction</span></p></td>
133 <td><p><span class="term">presence</span></p></td>
137 <td><p><span class="term">details</span></p></td>
138 <td>video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)0/1</td>
141 <td><p><span class="term"></span></p></td>
142 <td> video/x-raw-gray, bpp=(int)16, depth=(int)16, endianness=(int)1234, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)0/1</td>
146 <div class="variablelist"><table border="0">
147 <col align="left" valign="top">
150 <td><p><span class="term">name</span></p></td>
154 <td><p><span class="term">direction</span></p></td>
158 <td><p><span class="term">presence</span></p></td>
162 <td><p><span class="term">details</span></p></td>
163 <td>video/x-raw-yuv, format=(fourcc)AYUV, 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)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>
170 <td><p><span class="term"></span></p></td>
171 <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>
174 <td><p><span class="term"></span></p></td>
175 <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>
178 <td><p><span class="term"></span></p></td>
179 <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>
183 <div class="variablelist"><table border="0">
184 <col align="left" valign="top">
187 <td><p><span class="term">name</span></p></td>
191 <td><p><span class="term">direction</span></p></td>
195 <td><p><span class="term">presence</span></p></td>
199 <td><p><span class="term">details</span></p></td>
200 <td>video/x-raw-yuv, format=(fourcc)AYUV, 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)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>
207 <td><p><span class="term"></span></p></td>
208 <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>
211 <td><p><span class="term"></span></p></td>
212 <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>
215 <td><p><span class="term"></span></p></td>
216 <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>
225 <div class="refsect1">
226 <a name="gst-plugins-good-plugins-shapewipe.details"></a><h2>Details</h2>
227 <div class="refsect2">
228 <a name="GstShapeWipe-struct"></a><h3>struct GstShapeWipe</h3>
229 <pre class="programlisting">struct GstShapeWipe;</pre>
234 <div class="refsect1">
235 <a name="gst-plugins-good-plugins-shapewipe.property-details"></a><h2>Property Details</h2>
236 <div class="refsect2">
237 <a name="GstShapeWipe--border"></a><h3>The <code class="literal">"border"</code> property</h3>
238 <pre class="programlisting"> "border" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
239 <p>Border of the mask.</p>
240 <p>Allowed values: [0,1]</p>
241 <p>Default value: 0</p>
244 <div class="refsect2">
245 <a name="GstShapeWipe--position"></a><h3>The <code class="literal">"position"</code> property</h3>
246 <pre class="programlisting"> "position" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
247 <p>Position of the mask.</p>
248 <p>Allowed values: [0,1]</p>
249 <p>Default value: 0</p>
255 Generated by GTK-Doc V1.18</div>