1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
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-aacparse.html" title="aacparse">
10 <link rel="next" href="gst-plugins-good-plugins-ac3parse.html" title="ac3parse">
11 <meta name="generator" content="GTK-Doc V1.17 (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-aacparse.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-ac3parse.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-aasink.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-good-plugins-aasink.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-good-plugins-aasink.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-good-plugins-aasink.properties" class="shortcut">Properties</a>
32 <a href="#gst-plugins-good-plugins-aasink.signals" class="shortcut">Signals</a>
35 <div class="refentry">
36 <a name="gst-plugins-good-plugins-aasink"></a><div class="titlepage"></div>
37 <div class="refnamediv"><table width="100%"><tr>
39 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-aasink.top_of_page"></a>aasink</span></h2>
40 <p>aasink — An ASCII art videosink</p>
42 <td valign="top" align="right"></td>
44 <div class="refsynopsisdiv">
45 <a name="gst-plugins-good-plugins-aasink.synopsis"></a><h2>Synopsis</h2>
46 <a name="GstAASink"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink-struct" title="struct GstAASink">GstAASink</a>;
49 <div class="refsect1">
50 <a name="gst-plugins-good-plugins-aasink.object-hierarchy"></a><h2>Object Hierarchy</h2>
51 <pre class="synopsis">
52 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
53 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
54 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
55 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html">GstBaseSink</a>
59 <div class="refsect1">
60 <a name="gst-plugins-good-plugins-aasink.properties"></a><h2>Properties</h2>
61 <pre class="synopsis">
62 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--brightness" title='The "brightness" property'>brightness</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
63 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--contrast" title='The "contrast" property'>contrast</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
64 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--dither" title='The "dither" property'>dither</a>" <span class="type">GstAASinkDitherers</span> : Read / Write
65 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--driver" title='The "driver" property'>driver</a>" <span class="type">GstAASinkDrivers</span> : Read / Write
66 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--frame-time" title='The "frame-time" property'>frame-time</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
67 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--frames-displayed" title='The "frames-displayed" property'>frames-displayed</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
68 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--gamma" title='The "gamma" property'>gamma</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
69 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--height" title='The "height" property'>height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
70 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--inversion" title='The "inversion" property'>inversion</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
71 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--randomval" title='The "randomval" property'>randomval</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
72 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink--width" title='The "width" property'>width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
75 <div class="refsect1">
76 <a name="gst-plugins-good-plugins-aasink.signals"></a><h2>Signals</h2>
77 <pre class="synopsis">
78 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink-frame-displayed" title='The "frame-displayed" signal'>frame-displayed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
79 "<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink-have-size" title='The "have-size" signal'>have-size</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
82 <div class="refsect1">
83 <a name="gst-plugins-good-plugins-aasink.description"></a><h2>Description</h2>
85 Displays video as b/w ascii art.
89 <div class="refsect2">
90 <a name="idp7804576"></a><h3>Example launch line</h3>
91 <div class="informalexample">
92 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
95 <td class="listing_lines" align="right"><pre>1</pre></td>
96 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch filesrc location<span class="gtkdoc opt">=</span>test<span class="gtkdoc opt">.</span>avi <span class="gtkdoc opt">!</span> decodebin <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> aasink</pre></td>
101 This pipeline renders a video to ascii art into a separate window.
102 <div class="informalexample">
103 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
106 <td class="listing_lines" align="right"><pre>1</pre></td>
107 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch filesrc location<span class="gtkdoc opt">=</span>test<span class="gtkdoc opt">.</span>avi <span class="gtkdoc opt">!</span> decodebin <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> aasink driver<span class="gtkdoc opt">=</span>curses</pre></td>
112 This pipeline renders a video to ascii art into the current terminal.
116 <div class="refsynopsisdiv">
118 <div class="refsect2">
119 <a name="idp6504048"></a><h3>Element Information</h3>
120 <div class="variablelist"><table border="0">
121 <col align="left" valign="top">
124 <td><p><span class="term">plugin</span></p></td>
126 <a class="link" href="gst-plugins-good-plugins-plugin-aasink.html#plugin-aasink">aasink</a>
130 <td><p><span class="term">author</span></p></td>
131 <td>Wim Taymans <wim.taymans@chello.be></td>
134 <td><p><span class="term">class</span></p></td>
141 <div class="refsect2">
142 <a name="idp6069824"></a><h3>Element Pads</h3>
143 <div class="variablelist"><table border="0">
144 <col align="left" valign="top">
147 <td><p><span class="term">name</span></p></td>
151 <td><p><span class="term">direction</span></p></td>
155 <td><p><span class="term">presence</span></p></td>
159 <td><p><span class="term">details</span></p></td>
160 <td>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
169 <div class="refsect1">
170 <a name="gst-plugins-good-plugins-aasink.details"></a><h2>Details</h2>
171 <div class="refsect2">
172 <a name="GstAASink-struct"></a><h3>struct GstAASink</h3>
173 <pre class="programlisting">struct GstAASink;</pre>
178 <div class="refsect1">
179 <a name="gst-plugins-good-plugins-aasink.property-details"></a><h2>Property Details</h2>
180 <div class="refsect2">
181 <a name="GstAASink--brightness"></a><h3>The <code class="literal">"brightness"</code> property</h3>
182 <pre class="programlisting"> "brightness" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
184 <p>Default value: 0</p>
187 <div class="refsect2">
188 <a name="GstAASink--contrast"></a><h3>The <code class="literal">"contrast"</code> property</h3>
189 <pre class="programlisting"> "contrast" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
191 <p>Default value: 0</p>
194 <div class="refsect2">
195 <a name="GstAASink--dither"></a><h3>The <code class="literal">"dither"</code> property</h3>
196 <pre class="programlisting"> "dither" <span class="type">GstAASinkDitherers</span> : Read / Write</pre>
198 <p>Default value: no dithering</p>
201 <div class="refsect2">
202 <a name="GstAASink--driver"></a><h3>The <code class="literal">"driver"</code> property</h3>
203 <pre class="programlisting"> "driver" <span class="type">GstAASinkDrivers</span> : Read / Write</pre>
205 <p>Default value: X11 driver 1.1</p>
208 <div class="refsect2">
209 <a name="GstAASink--frame-time"></a><h3>The <code class="literal">"frame-time"</code> property</h3>
210 <pre class="programlisting"> "frame-time" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
212 <p>Default value: 0</p>
215 <div class="refsect2">
216 <a name="GstAASink--frames-displayed"></a><h3>The <code class="literal">"frames-displayed"</code> property</h3>
217 <pre class="programlisting"> "frames-displayed" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
218 <p>frames displayed.</p>
219 <p>Default value: 0</p>
222 <div class="refsect2">
223 <a name="GstAASink--gamma"></a><h3>The <code class="literal">"gamma"</code> property</h3>
224 <pre class="programlisting"> "gamma" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
226 <p>Allowed values: [0,5]</p>
227 <p>Default value: 1</p>
230 <div class="refsect2">
231 <a name="GstAASink--height"></a><h3>The <code class="literal">"height"</code> property</h3>
232 <pre class="programlisting"> "height" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
234 <p>Default value: 0</p>
237 <div class="refsect2">
238 <a name="GstAASink--inversion"></a><h3>The <code class="literal">"inversion"</code> property</h3>
239 <pre class="programlisting"> "inversion" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
241 <p>Default value: TRUE</p>
244 <div class="refsect2">
245 <a name="GstAASink--randomval"></a><h3>The <code class="literal">"randomval"</code> property</h3>
246 <pre class="programlisting"> "randomval" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
248 <p>Default value: 0</p>
251 <div class="refsect2">
252 <a name="GstAASink--width"></a><h3>The <code class="literal">"width"</code> property</h3>
253 <pre class="programlisting"> "width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
255 <p>Default value: 0</p>
258 <div class="refsect1">
259 <a name="gst-plugins-good-plugins-aasink.signal-details"></a><h2>Signal Details</h2>
260 <div class="refsect2">
261 <a name="GstAASink-frame-displayed"></a><h3>The <code class="literal">"frame-displayed"</code> signal</h3>
262 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink"><span class="type">GstAASink</span></a> *gstaasink,
263 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
266 <div class="variablelist"><table border="0">
267 <col align="left" valign="top">
270 <td><p><span class="term"><em class="parameter"><code>gstaasink</code></em> :</span></p></td>
271 <td>the object which received the signal.</td>
274 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
275 <td>user data set when the signal handler was connected.</td>
281 <div class="refsect2">
282 <a name="GstAASink-have-size"></a><h3>The <code class="literal">"have-size"</code> signal</h3>
283 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-good-plugins-aasink.html#GstAASink"><span class="type">GstAASink</span></a> *gstaasink,
284 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg1,
285 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg2,
286 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
289 <div class="variablelist"><table border="0">
290 <col align="left" valign="top">
293 <td><p><span class="term"><em class="parameter"><code>gstaasink</code></em> :</span></p></td>
294 <td>the object which received the signal.</td>
297 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
298 <td>user data set when the signal handler was connected.</td>
304 <div class="refsect1">
305 <a name="gst-plugins-good-plugins-aasink.see-also"></a><h2>See Also</h2>
306 <a class="link" href="gst-plugins-good-plugins-cacasink.html#GstCACASink"><span class="type">GstCACASink</span></a>
311 Generated by GTK-Doc V1.17</div>