1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>videotestsrc: GStreamer Base Plugins 1.0 Plugins Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-base Elements"> 9<link rel="prev" href="gst-plugins-base-plugins-videoscale.html" title="videoscale"> 10<link rel="next" href="gst-plugins-base-plugins-volume.html" title="volume"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 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="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-base-plugins-videotestsrc.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-base-plugins-videotestsrc.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 20 <a href="#gst-plugins-base-plugins-videotestsrc.properties" class="shortcut">Properties</a></span> 21</td> 22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 23<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="gst-plugins-base-plugins-videoscale.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="gst-plugins-base-plugins-volume.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 26</tr></table> 27<div class="refentry"> 28<a name="gst-plugins-base-plugins-videotestsrc"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-videotestsrc.top_of_page"></a>videotestsrc</span></h2> 32<p>videotestsrc</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<div class="refsect1"> 37<a name="gst-plugins-base-plugins-videotestsrc.properties"></a><h2>Properties</h2> 38<div class="informaltable"><table class="informaltable" border="0"> 39<colgroup> 40<col width="150px" class="properties_type"> 41<col width="300px" class="properties_name"> 42<col width="200px" class="properties_flags"> 43</colgroup> 44<tbody> 45<tr> 46<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td> 47<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--background-color" title="The “background-color” property">background-color</a></td> 48<td class="property_flags">Read / Write</td> 49</tr> 50<tr> 51<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td> 52<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--foreground-color" title="The “foreground-color” property">foreground-color</a></td> 53<td class="property_flags">Read / Write</td> 54</tr> 55<tr> 56<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 57<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--horizontal-speed" title="The “horizontal-speed” property">horizontal-speed</a></td> 58<td class="property_flags">Read / Write</td> 59</tr> 60<tr> 61<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 62<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--is-live" title="The “is-live” property">is-live</a></td> 63<td class="property_flags">Read / Write</td> 64</tr> 65<tr> 66<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 67<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--k0" title="The “k0” property">k0</a></td> 68<td class="property_flags">Read / Write</td> 69</tr> 70<tr> 71<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 72<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kt" title="The “kt” property">kt</a></td> 73<td class="property_flags">Read / Write</td> 74</tr> 75<tr> 76<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 77<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kt2" title="The “kt2” property">kt2</a></td> 78<td class="property_flags">Read / Write</td> 79</tr> 80<tr> 81<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 82<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kx" title="The “kx” property">kx</a></td> 83<td class="property_flags">Read / Write</td> 84</tr> 85<tr> 86<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 87<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kx2" title="The “kx2” property">kx2</a></td> 88<td class="property_flags">Read / Write</td> 89</tr> 90<tr> 91<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 92<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kxt" title="The “kxt” property">kxt</a></td> 93<td class="property_flags">Read / Write</td> 94</tr> 95<tr> 96<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 97<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kxy" title="The “kxy” property">kxy</a></td> 98<td class="property_flags">Read / Write</td> 99</tr> 100<tr> 101<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 102<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--ky" title="The “ky” property">ky</a></td> 103<td class="property_flags">Read / Write</td> 104</tr> 105<tr> 106<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 107<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--ky2" title="The “ky2” property">ky2</a></td> 108<td class="property_flags">Read / Write</td> 109</tr> 110<tr> 111<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 112<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--kyt" title="The “kyt” property">kyt</a></td> 113<td class="property_flags">Read / Write</td> 114</tr> 115<tr> 116<td class="property_type"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrcPattern" title="enum GstVideoTestSrcPattern"><span class="type">GstVideoTestSrcPattern</span></a></td> 117<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--pattern" title="The “pattern” property">pattern</a></td> 118<td class="property_flags">Read / Write</td> 119</tr> 120<tr> 121<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td> 122<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--timestamp-offset" title="The “timestamp-offset” property">timestamp-offset</a></td> 123<td class="property_flags">Read / Write</td> 124</tr> 125<tr> 126<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 127<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--xoffset" title="The “xoffset” property">xoffset</a></td> 128<td class="property_flags">Read / Write</td> 129</tr> 130<tr> 131<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 132<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--yoffset" title="The “yoffset” property">yoffset</a></td> 133<td class="property_flags">Read / Write</td> 134</tr> 135<tr> 136<td class="property_type"><span class="type">GstVideoTestSrcAnimationMode</span></td> 137<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--animation-mode" title="The “animation-mode” property">animation-mode</a></td> 138<td class="property_flags">Read / Write</td> 139</tr> 140<tr> 141<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 142<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--flip" title="The “flip” property">flip</a></td> 143<td class="property_flags">Read / Write</td> 144</tr> 145<tr> 146<td class="property_type"><span class="type">GstVideoTestSrcMotionType</span></td> 147<td class="property_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--motion" title="The “motion” property">motion</a></td> 148<td class="property_flags">Read / Write</td> 149</tr> 150</tbody> 151</table></div> 152</div> 153<a name="GstVideoTestSrc"></a><div class="refsect1"> 154<a name="gst-plugins-base-plugins-videotestsrc.other"></a><h2>Types and Values</h2> 155<div class="informaltable"><table class="informaltable" width="100%" border="0"> 156<colgroup> 157<col width="150px" class="name"> 158<col class="description"> 159</colgroup> 160<tbody> 161<tr> 162<td class="datatype_keyword">struct</td> 163<td class="function_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc-struct" title="struct GstVideoTestSrc">GstVideoTestSrc</a></td> 164</tr> 165<tr> 166<td class="datatype_keyword">enum</td> 167<td class="function_name"><a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrcPattern" title="enum GstVideoTestSrcPattern">GstVideoTestSrcPattern</a></td> 168</tr> 169</tbody> 170</table></div> 171</div> 172<div class="refsect1"> 173<a name="gst-plugins-base-plugins-videotestsrc.object-hierarchy"></a><h2>Object Hierarchy</h2> 174<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 175 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 176 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 177 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a> 178 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseSrc.html#GstBaseSrc-struct">GstBaseSrc</a> 179 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstPushSrc.html#GstPushSrc-struct">GstPushSrc</a> 180 <span class="lineart">╰──</span> GstVideoTestSrc 181</pre> 182</div> 183<div class="refsect1"> 184<a name="gst-plugins-base-plugins-videotestsrc.description"></a><h2>Description</h2> 185<p>The videotestsrc element is used to produce test video data in a wide variety 186of formats. The video test data produced can be controlled with the "pattern" 187property.</p> 188<p>By default the videotestsrc will generate data indefinitely, but if the 189<a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseSrc.html#GstBaseSrc--num-buffers"><span class="type">“num-buffers”</span></a> property is non-zero it will instead generate a 190fixed number of video frames and then send EOS.</p> 191<div class="refsect3"> 192<a name="id-1.2.110.7.4"></a><h4>Example launch line</h4> 193<div class="informalexample"> 194 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 195 <tbody> 196 <tr> 197 <td class="listing_lines" align="right"><pre>1</pre></td> 198 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> <span class="gtkdoc opt">-</span>v 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>width<span class="gtkdoc opt">=</span><span class="number">1280</span><span class="gtkdoc opt">,</span>height<span class="gtkdoc opt">=</span><span class="number">720</span> <span class="gtkdoc opt">!</span> autovideosink</pre></td> 199 </tr> 200 </tbody> 201 </table> 202</div> 203 204<p> 205 Shows random noise in a video window.</p> 206</div> 207<div class="refsynopsisdiv"> 208<h2>Synopsis</h2> 209<div class="refsect2"> 210<a name="id-1.2.110.7.5.1"></a><h3>Element Information</h3> 211<div class="variablelist"><table border="0" class="variablelist"> 212<colgroup> 213<col align="left" valign="top"> 214<col> 215</colgroup> 216<tbody> 217<tr> 218<td><p><span class="term">plugin</span></p></td> 219<td> 220 <a class="link" href="gst-plugins-base-plugins-plugin-videotestsrc.html#plugin-videotestsrc">videotestsrc</a> 221 </td> 222</tr> 223<tr> 224<td><p><span class="term">author</span></p></td> 225<td>David A. Schleef <ds@schleef.org></td> 226</tr> 227<tr> 228<td><p><span class="term">class</span></p></td> 229<td>Source/Video</td> 230</tr> 231</tbody> 232</table></div> 233</div> 234<hr> 235<div class="refsect2"> 236<a name="id-1.2.110.7.5.2"></a><h3>Element Pads</h3> 237<div class="variablelist"><table border="0" class="variablelist"> 238<colgroup> 239<col align="left" valign="top"> 240<col> 241</colgroup> 242<tbody> 243<tr> 244<td><p><span class="term">name</span></p></td> 245<td>src</td> 246</tr> 247<tr> 248<td><p><span class="term">direction</span></p></td> 249<td>source</td> 250</tr> 251<tr> 252<td><p><span class="term">presence</span></p></td> 253<td>always</td> 254</tr> 255<tr> 256<td><p><span class="term">details</span></p></td> 257<td>video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }</td> 258</tr> 259<tr> 260<td><p><span class="term"></span></p></td> 261<td> video/x-bayer, format=(string){ bggr, rggb, grbg, gbrg }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }</td> 262</tr> 263</tbody> 264</table></div> 265</div> 266</div> 267</div> 268<div class="refsect1"> 269<a name="gst-plugins-base-plugins-videotestsrc.functions_details"></a><h2>Functions</h2> 270<p></p> 271</div> 272<div class="refsect1"> 273<a name="gst-plugins-base-plugins-videotestsrc.other_details"></a><h2>Types and Values</h2> 274<div class="refsect2"> 275<a name="GstVideoTestSrc-struct"></a><h3>struct GstVideoTestSrc</h3> 276<pre class="programlisting">struct GstVideoTestSrc;</pre> 277<p>Opaque data structure.</p> 278</div> 279<hr> 280<div class="refsect2"> 281<a name="GstVideoTestSrcPattern"></a><h3>enum GstVideoTestSrcPattern</h3> 282<p>The test pattern to produce.</p> 283<p>The Gamut pattern creates a checkerboard pattern of colors at the 284edge of the YCbCr gamut and nearby colors that are out of gamut. 285The pattern is divided into 4 regions: black, white, red, and blue. 286After conversion to RGB, the out-of-gamut colors should be converted 287to the same value as their in-gamut neighbors. If the checkerboard 288pattern is still visible after conversion, this indicates a faulty 289conversion. Image manipulation, such as adjusting contrast or 290brightness, can also cause the pattern to be visible.</p> 291<p>The Zone Plate pattern is based on BBC R&D Report 1978/23, and can 292be used to test spatial frequency response of a system. This 293pattern generator is controlled by the xoffset and yoffset parameters 294and also by all the parameters starting with 'k'. The default 295parameters produce a grey pattern. Try 'videotestsrc 296pattern=zone-plate kx2=20 ky2=20 kt=1' to produce something 297interesting.</p> 298<div class="refsect3"> 299<a name="GstVideoTestSrcPattern.members"></a><h4>Members</h4> 300<div class="informaltable"><table class="informaltable" width="100%" border="0"> 301<colgroup> 302<col width="300px" class="enum_members_name"> 303<col class="enum_members_description"> 304<col width="200px" class="enum_members_annotations"> 305</colgroup> 306<tbody> 307<tr> 308<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-SMPTE:CAPS"></a>GST_VIDEO_TEST_SRC_SMPTE</p></td> 309<td class="enum_member_description"> 310<p>A standard SMPTE test pattern</p> 311</td> 312<td class="enum_member_annotations"> </td> 313</tr> 314<tr> 315<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-SNOW:CAPS"></a>GST_VIDEO_TEST_SRC_SNOW</p></td> 316<td class="enum_member_description"> 317<p>Random noise</p> 318</td> 319<td class="enum_member_annotations"> </td> 320</tr> 321<tr> 322<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-BLACK:CAPS"></a>GST_VIDEO_TEST_SRC_BLACK</p></td> 323<td class="enum_member_description"> 324<p>A black image</p> 325</td> 326<td class="enum_member_annotations"> </td> 327</tr> 328<tr> 329<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-WHITE:CAPS"></a>GST_VIDEO_TEST_SRC_WHITE</p></td> 330<td class="enum_member_description"> 331<p>A white image</p> 332</td> 333<td class="enum_member_annotations"> </td> 334</tr> 335<tr> 336<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-RED:CAPS"></a>GST_VIDEO_TEST_SRC_RED</p></td> 337<td class="enum_member_description"> 338<p>A red image</p> 339</td> 340<td class="enum_member_annotations"> </td> 341</tr> 342<tr> 343<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-GREEN:CAPS"></a>GST_VIDEO_TEST_SRC_GREEN</p></td> 344<td class="enum_member_description"> 345<p>A green image</p> 346</td> 347<td class="enum_member_annotations"> </td> 348</tr> 349<tr> 350<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-BLUE:CAPS"></a>GST_VIDEO_TEST_SRC_BLUE</p></td> 351<td class="enum_member_description"> 352<p>A blue image</p> 353</td> 354<td class="enum_member_annotations"> </td> 355</tr> 356<tr> 357<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-CHECKERS1:CAPS"></a>GST_VIDEO_TEST_SRC_CHECKERS1</p></td> 358<td class="enum_member_description"> 359<p>Checkers pattern (1px)</p> 360</td> 361<td class="enum_member_annotations"> </td> 362</tr> 363<tr> 364<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-CHECKERS2:CAPS"></a>GST_VIDEO_TEST_SRC_CHECKERS2</p></td> 365<td class="enum_member_description"> 366<p>Checkers pattern (2px)</p> 367</td> 368<td class="enum_member_annotations"> </td> 369</tr> 370<tr> 371<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-CHECKERS4:CAPS"></a>GST_VIDEO_TEST_SRC_CHECKERS4</p></td> 372<td class="enum_member_description"> 373<p>Checkers pattern (4px)</p> 374</td> 375<td class="enum_member_annotations"> </td> 376</tr> 377<tr> 378<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-CHECKERS8:CAPS"></a>GST_VIDEO_TEST_SRC_CHECKERS8</p></td> 379<td class="enum_member_description"> 380<p>Checkers pattern (8px)</p> 381</td> 382<td class="enum_member_annotations"> </td> 383</tr> 384<tr> 385<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-CIRCULAR:CAPS"></a>GST_VIDEO_TEST_SRC_CIRCULAR</p></td> 386<td class="enum_member_description"> 387<p>Circular pattern</p> 388</td> 389<td class="enum_member_annotations"> </td> 390</tr> 391<tr> 392<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-BLINK:CAPS"></a>GST_VIDEO_TEST_SRC_BLINK</p></td> 393<td class="enum_member_description"> 394<p>Alternate between black and white</p> 395</td> 396<td class="enum_member_annotations"> </td> 397</tr> 398<tr> 399<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-SMPTE75:CAPS"></a>GST_VIDEO_TEST_SRC_SMPTE75</p></td> 400<td class="enum_member_description"> 401<p>SMPTE test pattern (75% color bars)</p> 402</td> 403<td class="enum_member_annotations"> </td> 404</tr> 405<tr> 406<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-ZONE-PLATE:CAPS"></a>GST_VIDEO_TEST_SRC_ZONE_PLATE</p></td> 407<td class="enum_member_description"> 408<p>Zone plate</p> 409</td> 410<td class="enum_member_annotations"> </td> 411</tr> 412<tr> 413<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-GAMUT:CAPS"></a>GST_VIDEO_TEST_SRC_GAMUT</p></td> 414<td class="enum_member_description"> 415<p>Gamut checking pattern</p> 416</td> 417<td class="enum_member_annotations"> </td> 418</tr> 419<tr> 420<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-CHROMA-ZONE-PLATE:CAPS"></a>GST_VIDEO_TEST_SRC_CHROMA_ZONE_PLATE</p></td> 421<td class="enum_member_description"> 422<p>Chroma zone plate</p> 423</td> 424<td class="enum_member_annotations"> </td> 425</tr> 426<tr> 427<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-SOLID:CAPS"></a>GST_VIDEO_TEST_SRC_SOLID</p></td> 428<td class="enum_member_description"> 429<p>A solid color, defined by the 430<a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrc--foreground-color" title="The “foreground-color” property"><span class="type">“foreground-color”</span></a> property</p> 431</td> 432<td class="enum_member_annotations"> </td> 433</tr> 434<tr> 435<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-BALL:CAPS"></a>GST_VIDEO_TEST_SRC_BALL</p></td> 436<td class="enum_member_description"> 437<p>Moving ball</p> 438</td> 439<td class="enum_member_annotations"> </td> 440</tr> 441<tr> 442<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-SMPTE100:CAPS"></a>GST_VIDEO_TEST_SRC_SMPTE100</p></td> 443<td class="enum_member_description"> 444<p>SMPTE test pattern (100% color bars)</p> 445</td> 446<td class="enum_member_annotations"> </td> 447</tr> 448<tr> 449<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-BAR:CAPS"></a>GST_VIDEO_TEST_SRC_BAR</p></td> 450<td class="enum_member_description"> 451<p>Bar with foreground color</p> 452</td> 453<td class="enum_member_annotations"> </td> 454</tr> 455<tr> 456<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-PINWHEEL:CAPS"></a>GST_VIDEO_TEST_SRC_PINWHEEL</p></td> 457<td class="enum_member_description"> 458<p>Pinwheel</p> 459</td> 460<td class="enum_member_annotations"> </td> 461</tr> 462<tr> 463<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-SPOKES:CAPS"></a>GST_VIDEO_TEST_SRC_SPOKES</p></td> 464<td class="enum_member_description"> 465<p>Spokes</p> 466</td> 467<td class="enum_member_annotations"> </td> 468</tr> 469<tr> 470<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-GRADIENT:CAPS"></a>GST_VIDEO_TEST_SRC_GRADIENT</p></td> 471<td class="enum_member_description"> 472<p>Gradient</p> 473</td> 474<td class="enum_member_annotations"> </td> 475</tr> 476<tr> 477<td class="enum_member_name"><p><a name="GST-VIDEO-TEST-SRC-COLORS:CAPS"></a>GST_VIDEO_TEST_SRC_COLORS</p></td> 478<td class="enum_member_description"> 479<p>All colors</p> 480</td> 481<td class="enum_member_annotations"> </td> 482</tr> 483</tbody> 484</table></div> 485</div> 486</div> 487</div> 488<div class="refsect1"> 489<a name="gst-plugins-base-plugins-videotestsrc.property-details"></a><h2>Property Details</h2> 490<div class="refsect2"> 491<a name="GstVideoTestSrc--background-color"></a><h3>The <code class="literal">“background-color”</code> property</h3> 492<pre class="programlisting"> “background-color” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> 493<p>Color to use for background color of some patterns. Default is 494black (0xff000000).</p> 495<p>Flags: Read / Write</p> 496<p>Default value: 4278190080</p> 497</div> 498<hr> 499<div class="refsect2"> 500<a name="GstVideoTestSrc--foreground-color"></a><h3>The <code class="literal">“foreground-color”</code> property</h3> 501<pre class="programlisting"> “foreground-color” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> 502<p>Color to use for solid-color pattern and foreground color of other 503patterns. Default is white (0xffffffff).</p> 504<p>Flags: Read / Write</p> 505<p>Default value: 4294967295</p> 506</div> 507<hr> 508<div class="refsect2"> 509<a name="GstVideoTestSrc--horizontal-speed"></a><h3>The <code class="literal">“horizontal-speed”</code> property</h3> 510<pre class="programlisting"> “horizontal-speed” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 511<p>Scroll image number of pixels per frame (positive is scroll to the left).</p> 512<p>Flags: Read / Write</p> 513<p>Default value: 0</p> 514</div> 515<hr> 516<div class="refsect2"> 517<a name="GstVideoTestSrc--is-live"></a><h3>The <code class="literal">“is-live”</code> property</h3> 518<pre class="programlisting"> “is-live” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 519<p>Whether to act as a live source.</p> 520<p>Flags: Read / Write</p> 521<p>Default value: FALSE</p> 522</div> 523<hr> 524<div class="refsect2"> 525<a name="GstVideoTestSrc--k0"></a><h3>The <code class="literal">“k0”</code> property</h3> 526<pre class="programlisting"> “k0” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 527<p>Zoneplate zero order phase, for generating plain fields or phase offsets.</p> 528<p>Flags: Read / Write</p> 529<p>Default value: 0</p> 530</div> 531<hr> 532<div class="refsect2"> 533<a name="GstVideoTestSrc--kt"></a><h3>The <code class="literal">“kt”</code> property</h3> 534<pre class="programlisting"> “kt” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 535<p>Zoneplate 1st order t phase, for generating phase rotation as a function of time.</p> 536<p>Flags: Read / Write</p> 537<p>Default value: 0</p> 538</div> 539<hr> 540<div class="refsect2"> 541<a name="GstVideoTestSrc--kt2"></a><h3>The <code class="literal">“kt2”</code> property</h3> 542<pre class="programlisting"> “kt2” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 543<p>Zoneplate 2nd order t phase, t*t/256 cycles per picture.</p> 544<p>Flags: Read / Write</p> 545<p>Default value: 0</p> 546</div> 547<hr> 548<div class="refsect2"> 549<a name="GstVideoTestSrc--kx"></a><h3>The <code class="literal">“kx”</code> property</h3> 550<pre class="programlisting"> “kx” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 551<p>Zoneplate 1st order x phase, for generating constant horizontal frequencies.</p> 552<p>Flags: Read / Write</p> 553<p>Default value: 0</p> 554</div> 555<hr> 556<div class="refsect2"> 557<a name="GstVideoTestSrc--kx2"></a><h3>The <code class="literal">“kx2”</code> property</h3> 558<pre class="programlisting"> “kx2” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 559<p>Zoneplate 2nd order x phase, normalised to kx2/256 cycles per horizontal pixel at width/2 from origin.</p> 560<p>Flags: Read / Write</p> 561<p>Default value: 0</p> 562</div> 563<hr> 564<div class="refsect2"> 565<a name="GstVideoTestSrc--kxt"></a><h3>The <code class="literal">“kxt”</code> property</h3> 566<pre class="programlisting"> “kxt” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 567<p>Zoneplate x*t product phase, normalised to kxy/256 cycles per vertical pixel at width/2 from origin.</p> 568<p>Flags: Read / Write</p> 569<p>Default value: 0</p> 570</div> 571<hr> 572<div class="refsect2"> 573<a name="GstVideoTestSrc--kxy"></a><h3>The <code class="literal">“kxy”</code> property</h3> 574<pre class="programlisting"> “kxy” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 575<p>Zoneplate x*y product phase.</p> 576<p>Flags: Read / Write</p> 577<p>Default value: 0</p> 578</div> 579<hr> 580<div class="refsect2"> 581<a name="GstVideoTestSrc--ky"></a><h3>The <code class="literal">“ky”</code> property</h3> 582<pre class="programlisting"> “ky” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 583<p>Zoneplate 1st order y phase, for generating contant vertical frequencies.</p> 584<p>Flags: Read / Write</p> 585<p>Default value: 0</p> 586</div> 587<hr> 588<div class="refsect2"> 589<a name="GstVideoTestSrc--ky2"></a><h3>The <code class="literal">“ky2”</code> property</h3> 590<pre class="programlisting"> “ky2” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 591<p>Zoneplate 2nd order y phase, normailsed to ky2/256 cycles per vertical pixel at height/2 from origin.</p> 592<p>Flags: Read / Write</p> 593<p>Default value: 0</p> 594</div> 595<hr> 596<div class="refsect2"> 597<a name="GstVideoTestSrc--kyt"></a><h3>The <code class="literal">“kyt”</code> property</h3> 598<pre class="programlisting"> “kyt” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 599<p>Zoneplate y*t product phase.</p> 600<p>Flags: Read / Write</p> 601<p>Default value: 0</p> 602</div> 603<hr> 604<div class="refsect2"> 605<a name="GstVideoTestSrc--pattern"></a><h3>The <code class="literal">“pattern”</code> property</h3> 606<pre class="programlisting"> “pattern” <a class="link" href="gst-plugins-base-plugins-videotestsrc.html#GstVideoTestSrcPattern" title="enum GstVideoTestSrcPattern"><span class="type">GstVideoTestSrcPattern</span></a></pre> 607<p>Type of test pattern to generate.</p> 608<p>Flags: Read / Write</p> 609<p>Default value: SMPTE 100% color bars</p> 610</div> 611<hr> 612<div class="refsect2"> 613<a name="GstVideoTestSrc--timestamp-offset"></a><h3>The <code class="literal">“timestamp-offset”</code> property</h3> 614<pre class="programlisting"> “timestamp-offset” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre> 615<p>An offset added to timestamps set on buffers (in ns).</p> 616<p>Flags: Read / Write</p> 617<p>Allowed values: >= 0</p> 618<p>Default value: 0</p> 619</div> 620<hr> 621<div class="refsect2"> 622<a name="GstVideoTestSrc--xoffset"></a><h3>The <code class="literal">“xoffset”</code> property</h3> 623<pre class="programlisting"> “xoffset” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 624<p>Zoneplate 2nd order products x offset.</p> 625<p>Flags: Read / Write</p> 626<p>Default value: 0</p> 627</div> 628<hr> 629<div class="refsect2"> 630<a name="GstVideoTestSrc--yoffset"></a><h3>The <code class="literal">“yoffset”</code> property</h3> 631<pre class="programlisting"> “yoffset” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 632<p>Zoneplate 2nd order products y offset.</p> 633<p>Flags: Read / Write</p> 634<p>Default value: 0</p> 635</div> 636<hr> 637<div class="refsect2"> 638<a name="GstVideoTestSrc--animation-mode"></a><h3>The <code class="literal">“animation-mode”</code> property</h3> 639<pre class="programlisting"> “animation-mode” <span class="type">GstVideoTestSrcAnimationMode</span></pre> 640<p>For pattern=ball, which counter defines the position of the ball.</p> 641<p>Flags: Read / Write</p> 642<p>Default value: frame count</p> 643</div> 644<hr> 645<div class="refsect2"> 646<a name="GstVideoTestSrc--flip"></a><h3>The <code class="literal">“flip”</code> property</h3> 647<pre class="programlisting"> “flip” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 648<p>For pattern=ball, invert colors every second.</p> 649<p>Flags: Read / Write</p> 650<p>Default value: FALSE</p> 651</div> 652<hr> 653<div class="refsect2"> 654<a name="GstVideoTestSrc--motion"></a><h3>The <code class="literal">“motion”</code> property</h3> 655<pre class="programlisting"> “motion” <span class="type">GstVideoTestSrcMotionType</span></pre> 656<p>For pattern=ball, what motion the ball does.</p> 657<p>Flags: Read / Write</p> 658<p>Default value: Ball waves back and forth, up and down</p> 659</div> 660</div> 661</div> 662<div class="footer"> 663<hr>Generated by GTK-Doc V1.28</div> 664</body> 665</html>