• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>avwait: GStreamer Bad 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 Bad Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9<link rel="prev" href="gst-plugins-bad-plugins-avdtpsrc.html" title="avdtpsrc">
10<link rel="next" href="gst-plugins-bad-plugins-bayer2rgb.html" title="bayer2rgb">
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">|</span18                  <a href="#gst-plugins-bad-plugins-avwait.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#gst-plugins-bad-plugins-avwait.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#gst-plugins-bad-plugins-avwait.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-bad-plugins-avdtpsrc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="gst-plugins-bad-plugins-bayer2rgb.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-bad-plugins-avwait"></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-bad-plugins-avwait.top_of_page"></a>avwait</span></h2>
32<p>avwait</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-bad-plugins-avwait.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 class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWaitMode" title="enum GstAvWaitMode"><span class="type">GstAvWaitMode</span></a></td>
47<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait--mode" title="The “mode” property">mode</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#guint64"><span class="type">guint64</span></a></td>
52<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait--target-running-time" title="The “target-running-time” property">target-running-time</a></td>
53<td class="property_flags">Read / Write</td>
54</tr>
55<tr>
56<td class="property_type">
57<a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *</td>
58<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait--target-timecode" title="The “target-timecode” property">target-timecode</a></td>
59<td class="property_flags">Read / Write</td>
60</tr>
61<tr>
62<td class="property_type">
63<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
64<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait--target-timecode-string" title="The “target-timecode-string” property">target-timecode-string</a></td>
65<td class="property_flags">Read / Write</td>
66</tr>
67<tr>
68<td class="property_type">
69<a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *</td>
70<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait--end-timecode" title="The “end-timecode” property">end-timecode</a></td>
71<td class="property_flags">Read / Write</td>
72</tr>
73<tr>
74<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
75<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait--recording" title="The “recording” property">recording</a></td>
76<td class="property_flags">Read / Write</td>
77</tr>
78</tbody>
79</table></div>
80</div>
81<a name="GstAvWait"></a><div class="refsect1">
82<a name="gst-plugins-bad-plugins-avwait.other"></a><h2>Types and Values</h2>
83<div class="informaltable"><table class="informaltable" width="100%" border="0">
84<colgroup>
85<col width="150px" class="name">
86<col class="description">
87</colgroup>
88<tbody>
89<tr>
90<td class="datatype_keyword">struct</td>
91<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWait-struct" title="struct GstAvWait">GstAvWait</a></td>
92</tr>
93<tr>
94<td class="datatype_keyword">enum</td>
95<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWaitMode" title="enum GstAvWaitMode">GstAvWaitMode</a></td>
96</tr>
97</tbody>
98</table></div>
99</div>
100<div class="refsect1">
101<a name="gst-plugins-bad-plugins-avwait.object-hierarchy"></a><h2>Object Hierarchy</h2>
102<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
103    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
104        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
105            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a>
106                <span class="lineart">╰──</span> GstAvWait
107</pre>
108</div>
109<div class="refsect1">
110<a name="gst-plugins-bad-plugins-avwait.description"></a><h2>Description</h2>
111<p>This element will drop all buffers until a specific timecode or running
112time has been reached. It will then pass-through both audio and video,
113starting from that specific timecode or running time, making sure that
114audio starts as early as possible after the video (or at the same time as
115the video). In the "video-first" mode, it only drops audio buffers until
116video has started.</p>
117<p>The "recording" property acts essentially like a valve connected before
118everything else. If recording is FALSE, all buffers are dropped regardless
119of settings. If recording is TRUE, the other settings (mode,
120target-timecode, target-running-time, etc) are taken into account. Audio
121will always start and end together with the video, as long as the stream
122itself doesn't start too late or end too early.</p>
123<div class="refsect3">
124<a name="id-1.2.21.7.4"></a><h4>Example launch line</h4>
125<div class="informalexample">
126  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
127    <tbody>
128      <tr>
129        <td class="listing_lines" align="right"><pre>1</pre></td>
130        <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> filesrc location<span class="gtkdoc opt">=</span><span class="string">&quot;my_file&quot;</span> <span class="gtkdoc opt">!</span> decodebin name<span class="gtkdoc opt">=</span>d <span class="gtkdoc opt">!</span> <span class="string">&quot;audio/x-raw&quot;</span> <span class="gtkdoc opt">!</span> avwait name<span class="gtkdoc opt">=</span>l target<span class="gtkdoc opt">-</span>timecode<span class="gtkdoc opt">-</span>str<span class="gtkdoc opt">=</span><span class="string">&quot;00:00:04:00&quot;</span> <span class="gtkdoc opt">!</span> autoaudiosink d<span class="gtkdoc opt">. !</span> <span class="string">&quot;video/x-raw&quot;</span> <span class="gtkdoc opt">!</span> timecodestamper <span class="gtkdoc opt">!</span> l<span class="gtkdoc opt">.</span> l<span class="gtkdoc opt">. !</span> queue <span class="gtkdoc opt">!</span> timeoverlay time<span class="gtkdoc opt">-</span>mode<span class="gtkdoc opt">=</span>time<span class="gtkdoc opt">-</span>code <span class="gtkdoc opt">!</span> autovideosink</pre></td>
131      </tr>
132    </tbody>
133  </table>
134</div>
135
136</div>
137<div class="refsynopsisdiv">
138<h2>Synopsis</h2>
139<div class="refsect2">
140<a name="id-1.2.21.7.5.1"></a><h3>Element Information</h3>
141<div class="variablelist"><table border="0" class="variablelist">
142<colgroup>
143<col align="left" valign="top">
144<col>
145</colgroup>
146<tbody>
147<tr>
148<td><p><span class="term">plugin</span></p></td>
149<td>
150            <a class="link" href="gst-plugins-bad-plugins-plugin-timecode.html#plugin-timecode">timecode</a>
151          </td>
152</tr>
153<tr>
154<td><p><span class="term">author</span></p></td>
155<td>Vivia Nikolaidou &lt;vivia@toolsonair.com&gt;</td>
156</tr>
157<tr>
158<td><p><span class="term">class</span></p></td>
159<td>Filter/Audio/Video</td>
160</tr>
161</tbody>
162</table></div>
163</div>
164<hr>
165<div class="refsect2">
166<a name="id-1.2.21.7.5.2"></a><h3>Element Pads</h3>
167<div class="variablelist"><table border="0" class="variablelist">
168<colgroup>
169<col align="left" valign="top">
170<col>
171</colgroup>
172<tbody>
173<tr>
174<td><p><span class="term">name</span></p></td>
175<td>asink</td>
176</tr>
177<tr>
178<td><p><span class="term">direction</span></p></td>
179<td>sink</td>
180</tr>
181<tr>
182<td><p><span class="term">presence</span></p></td>
183<td>always</td>
184</tr>
185<tr>
186<td><p><span class="term">details</span></p></td>
187<td>audio/x-raw</td>
188</tr>
189</tbody>
190</table></div>
191<div class="variablelist"><table border="0" class="variablelist">
192<colgroup>
193<col align="left" valign="top">
194<col>
195</colgroup>
196<tbody>
197<tr>
198<td><p><span class="term">name</span></p></td>
199<td>vsink</td>
200</tr>
201<tr>
202<td><p><span class="term">direction</span></p></td>
203<td>sink</td>
204</tr>
205<tr>
206<td><p><span class="term">presence</span></p></td>
207<td>always</td>
208</tr>
209<tr>
210<td><p><span class="term">details</span></p></td>
211<td>video/x-raw</td>
212</tr>
213</tbody>
214</table></div>
215<div class="variablelist"><table border="0" class="variablelist">
216<colgroup>
217<col align="left" valign="top">
218<col>
219</colgroup>
220<tbody>
221<tr>
222<td><p><span class="term">name</span></p></td>
223<td>asrc</td>
224</tr>
225<tr>
226<td><p><span class="term">direction</span></p></td>
227<td>source</td>
228</tr>
229<tr>
230<td><p><span class="term">presence</span></p></td>
231<td>always</td>
232</tr>
233<tr>
234<td><p><span class="term">details</span></p></td>
235<td>audio/x-raw</td>
236</tr>
237</tbody>
238</table></div>
239<div class="variablelist"><table border="0" class="variablelist">
240<colgroup>
241<col align="left" valign="top">
242<col>
243</colgroup>
244<tbody>
245<tr>
246<td><p><span class="term">name</span></p></td>
247<td>vsrc</td>
248</tr>
249<tr>
250<td><p><span class="term">direction</span></p></td>
251<td>source</td>
252</tr>
253<tr>
254<td><p><span class="term">presence</span></p></td>
255<td>always</td>
256</tr>
257<tr>
258<td><p><span class="term">details</span></p></td>
259<td>video/x-raw</td>
260</tr>
261</tbody>
262</table></div>
263</div>
264</div>
265</div>
266<div class="refsect1">
267<a name="gst-plugins-bad-plugins-avwait.functions_details"></a><h2>Functions</h2>
268<p></p>
269</div>
270<div class="refsect1">
271<a name="gst-plugins-bad-plugins-avwait.other_details"></a><h2>Types and Values</h2>
272<div class="refsect2">
273<a name="GstAvWait-struct"></a><h3>struct GstAvWait</h3>
274<pre class="programlisting">struct GstAvWait;</pre>
275</div>
276<hr>
277<div class="refsect2">
278<a name="GstAvWaitMode"></a><h3>enum GstAvWaitMode</h3>
279<div class="refsect3">
280<a name="GstAvWaitMode.members"></a><h4>Members</h4>
281<div class="informaltable"><table class="informaltable" width="100%" border="0">
282<colgroup>
283<col width="300px" class="enum_members_name">
284<col class="enum_members_description">
285<col width="200px" class="enum_members_annotations">
286</colgroup>
287<tbody>
288<tr>
289<td class="enum_member_name"><p><a name="MODE-TIMECODE:CAPS"></a>MODE_TIMECODE</p></td>
290<td> </td>
291<td> </td>
292</tr>
293<tr>
294<td class="enum_member_name"><p><a name="MODE-RUNNING-TIME:CAPS"></a>MODE_RUNNING_TIME</p></td>
295<td> </td>
296<td> </td>
297</tr>
298<tr>
299<td class="enum_member_name"><p><a name="MODE-VIDEO-FIRST:CAPS"></a>MODE_VIDEO_FIRST</p></td>
300<td> </td>
301<td> </td>
302</tr>
303</tbody>
304</table></div>
305</div>
306</div>
307</div>
308<div class="refsect1">
309<a name="gst-plugins-bad-plugins-avwait.property-details"></a><h2>Property Details</h2>
310<div class="refsect2">
311<a name="GstAvWait--mode"></a><h3>The <code class="literal">“mode”</code> property</h3>
312<pre class="programlisting">  “mode”                     <a class="link" href="gst-plugins-bad-plugins-avwait.html#GstAvWaitMode" title="enum GstAvWaitMode"><span class="type">GstAvWaitMode</span></a></pre>
313<p>Operation mode: What to wait for.</p>
314<p>Flags: Read / Write</p>
315<p>Default value: time code (default)</p>
316</div>
317<hr>
318<div class="refsect2">
319<a name="GstAvWait--target-running-time"></a><h3>The <code class="literal">“target-running-time”</code> property</h3>
320<pre class="programlisting">  “target-running-time”      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
321<p>Running time to wait for in running-time mode.</p>
322<p>Flags: Read / Write</p>
323<p>Default value: 18446744073709551615</p>
324</div>
325<hr>
326<div class="refsect2">
327<a name="GstAvWait--target-timecode"></a><h3>The <code class="literal">“target-timecode”</code> property</h3>
328<pre class="programlisting">  “target-timecode”          <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *</pre>
329<p>Timecode to wait for in timecode mode (object).</p>
330<p>Flags: Read / Write</p>
331</div>
332<hr>
333<div class="refsect2">
334<a name="GstAvWait--target-timecode-string"></a><h3>The <code class="literal">“target-timecode-string”</code> property</h3>
335<pre class="programlisting">  “target-timecode-string”   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
336<p>Timecode to wait for in timecode mode (string). Must take the form 00:00:00:00.</p>
337<p>Flags: Read / Write</p>
338<p>Default value: "00:00:00:00"</p>
339</div>
340<hr>
341<div class="refsect2">
342<a name="GstAvWait--end-timecode"></a><h3>The <code class="literal">“end-timecode”</code> property</h3>
343<pre class="programlisting">  “end-timecode”             <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *</pre>
344<p>Timecode to end at in timecode mode (object).</p>
345<p>Flags: Read / Write</p>
346</div>
347<hr>
348<div class="refsect2">
349<a name="GstAvWait--recording"></a><h3>The <code class="literal">“recording”</code> property</h3>
350<pre class="programlisting">  “recording”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
351<p>Whether the element is stopped or recording. If set to FALSE, all buffers will be dropped regardless of settings.</p>
352<p>Flags: Read / Write</p>
353<p>Default value: TRUE</p>
354</div>
355</div>
356</div>
357<div class="footer">
358<hr>Generated by GTK-Doc V1.28</div>
359</body>
360</html>