4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>encodebin</title>
5
<title>GStreamer Base Plugins 1.0 Plugins Reference Manual: encodebin</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Plugins Reference Manual">
8
8
<link rel="up" href="ch01.html" title="gst-plugins-base Elements">
9
9
<link rel="prev" href="gst-plugins-base-plugins-decodebin.html" title="decodebin">
10
10
<link rel="next" href="gst-plugins-base-plugins-videoconvert.html" title="videoconvert">
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
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-base-plugins-decodebin.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 Base Plugins 1.0 Plugins Reference Manual</th>
21
<td><a accesskey="n" href="gst-plugins-base-plugins-videoconvert.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-base-plugins-encodebin.synopsis" class="shortcut">Top</a>
26
<a href="#gst-plugins-base-plugins-encodebin.description" class="shortcut">Description</a>
28
<a href="#gst-plugins-base-plugins-encodebin.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#gst-plugins-base-plugins-encodebin.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
<a href="#gst-plugins-base-plugins-encodebin.properties" class="shortcut">Properties</a>
34
<a href="#gst-plugins-base-plugins-encodebin.signals" class="shortcut">Signals</a>
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><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-encodebin.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#gst-plugins-base-plugins-encodebin.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
20
<a href="#gst-plugins-base-plugins-encodebin.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
21
<a href="#gst-plugins-base-plugins-encodebin.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
22
<a href="#gst-plugins-base-plugins-encodebin.signals" class="shortcut">Signals</a></span>
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
25
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
26
<td><a accesskey="p" href="gst-plugins-base-plugins-decodebin.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
27
<td><a accesskey="n" href="gst-plugins-base-plugins-videoconvert.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
37
29
<div class="refentry">
38
30
<a name="gst-plugins-base-plugins-encodebin"></a><div class="titlepage"></div>
39
31
<div class="refnamediv"><table width="100%"><tr>
41
33
<h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-encodebin.top_of_page"></a>encodebin</span></h2>
42
34
<p>encodebin — Convenience encoding/muxing element</p>
44
<td valign="top" align="right"></td>
36
<td class="gallery_image" valign="top" align="right"></td>
45
37
</tr></table></div>
46
<div class="refsynopsisdiv">
47
<a name="gst-plugins-base-plugins-encodebin.synopsis"></a><h2>Synopsis</h2>
48
<a name="GstEncodeBin"></a><pre class="synopsis"> <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin-struct" title="GstEncodeBin">GstEncodeBin</a>;
38
<div class="refsect1">
39
<a name="gst-plugins-base-plugins-encodebin.properties"></a><h2>Properties</h2>
40
<div class="informaltable"><table border="0">
42
<col width="150px" class="properties_type">
43
<col width="300px" class="properties_name">
44
<col width="200px" class="properties_flags">
48
<td class="property_type"><span class="type">guint64</span></td>
49
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--audio-jitter-tolerance" title="The “audio-jitter-tolerance” property">audio-jitter-tolerance</a></td>
50
<td class="property_flags">Read / Write</td>
53
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
54
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--avoid-reencoding" title="The “avoid-reencoding” property">avoid-reencoding</a></td>
55
<td class="property_flags">Read / Write</td>
58
<td class="property_type">
59
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> *</td>
60
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--profile" title="The “profile” property">profile</a></td>
61
<td class="property_flags">Read / Write</td>
64
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
65
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--queue-buffers-max" title="The “queue-buffers-max” property">queue-buffers-max</a></td>
66
<td class="property_flags">Read / Write</td>
69
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
70
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--queue-bytes-max" title="The “queue-bytes-max” property">queue-bytes-max</a></td>
71
<td class="property_flags">Read / Write</td>
74
<td class="property_type"><span class="type">guint64</span></td>
75
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--queue-time-max" title="The “queue-time-max” property">queue-time-max</a></td>
76
<td class="property_flags">Read / Write</td>
79
<td class="property_type"><span class="type">GstEncodeBinFlags</span></td>
80
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--flags" title="The “flags” property">flags</a></td>
81
<td class="property_flags">Read / Write</td>
86
<div class="refsect1">
87
<a name="gst-plugins-base-plugins-encodebin.signals"></a><h2>Signals</h2>
88
<div class="informaltable"><table border="0">
90
<col width="150px" class="signals_return">
91
<col width="300px" class="signals_name">
92
<col width="200px" class="signals_flags">
96
<td class="signal_type">
97
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="returnvalue">GstPad</span></a>*</td>
98
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin-request-pad" title="The “request-pad” signal">request-pad</a></td>
99
<td class="signal_flags">Action</td>
102
<td class="signal_type">
103
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="returnvalue">GstPad</span></a>*</td>
104
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin-request-profile-pad" title="The “request-profile-pad” signal">request-profile-pad</a></td>
105
<td class="signal_flags">Action</td>
110
<a name="GstEncodeBin"></a><div class="refsect1">
111
<a name="gst-plugins-base-plugins-encodebin.other"></a><h2>Types and Values</h2>
112
<div class="informaltable"><table width="100%" border="0">
114
<col width="150px" class="name">
115
<col class="description">
118
<td class="datatype_keyword"> </td>
119
<td class="function_name"><a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin-struct" title="GstEncodeBin">GstEncodeBin</a></td>
51
123
<div class="refsect1">
52
124
<a name="gst-plugins-base-plugins-encodebin.object-hierarchy"></a><h2>Object Hierarchy</h2>
53
<pre class="synopsis">
54
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
55
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
56
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
57
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
58
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html">GstBin</a>
125
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
126
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
127
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
128
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
129
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html">GstBin</a>
130
<span class="lineart">╰──</span> GstEncodeBin
62
133
<div class="refsect1">
66
137
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstChildProxy.html">GstChildProxy</a>.</p>
68
139
<div class="refsect1">
69
<a name="gst-plugins-base-plugins-encodebin.properties"></a><h2>Properties</h2>
70
<pre class="synopsis">
71
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--audio-jitter-tolerance" title='The "audio-jitter-tolerance" property'>audio-jitter-tolerance</a>" <span class="type">guint64</span> : Read / Write
72
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--avoid-reencoding" title='The "avoid-reencoding" property'>avoid-reencoding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
73
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--profile" title='The "profile" property'>profile</a>" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a>* : Read / Write
74
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--queue-buffers-max" title='The "queue-buffers-max" property'>queue-buffers-max</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
75
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--queue-bytes-max" title='The "queue-bytes-max" property'>queue-bytes-max</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
76
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--queue-time-max" title='The "queue-time-max" property'>queue-time-max</a>" <span class="type">guint64</span> : Read / Write
77
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--flags" title='The "flags" property'>flags</a>" <span class="type">GstEncodeBinFlags</span> : Read / Write
80
<div class="refsect1">
81
<a name="gst-plugins-base-plugins-encodebin.signals"></a><h2>Signals</h2>
82
<pre class="synopsis">
83
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin-request-pad" title='The "request-pad" signal'>request-pad</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
84
"<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin-request-profile-pad" title='The "request-profile-pad" signal'>request-profile-pad</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
87
<div class="refsect1">
88
140
<a name="gst-plugins-base-plugins-encodebin.description"></a><h2>Description</h2>
90
EncodeBin provides a bin for encoding/muxing various streams according to
91
a specified <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a>.
94
Based on the profile that was set (via the <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--profile" title='The "profile" property'><span class="type">"profile"</span></a> property),
141
<p>EncodeBin provides a bin for encoding/muxing various streams according to
142
a specified <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a>.</p>
143
<p>Based on the profile that was set (via the <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin--profile" title="The “profile” property"><span class="type">“profile”</span></a> property),
95
144
EncodeBin will internally select and configure the required elements
96
145
(encoders, muxers, but also audio and video converters) so that you can
97
146
provide it raw or pre-encoded streams of data in input and have your
98
encoded/muxed/converted stream in output.
147
encoded/muxed/converted stream in output.</p>
102
148
<div class="refsect2">
103
<a name="id-1.2.14.8.4.1"></a><h3>Features</h3>
149
<a name="id-1.2.14.9.4"></a><h3>Features</h3>
104
150
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
105
151
<li class="listitem">
106
152
Automatic encoder and muxer selection based on elements available on the
305
352
<div class="refsect1">
306
353
<a name="gst-plugins-base-plugins-encodebin.property-details"></a><h2>Property Details</h2>
307
354
<div class="refsect2">
308
<a name="GstEncodeBin--audio-jitter-tolerance"></a><h3>The <code class="literal">"audio-jitter-tolerance"</code> property</h3>
309
<pre class="programlisting"> "audio-jitter-tolerance" <span class="type">guint64</span> : Read / Write</pre>
355
<a name="GstEncodeBin--audio-jitter-tolerance"></a><h3>The <code class="literal">“audio-jitter-tolerance”</code> property</h3>
356
<pre class="programlisting"> “audio-jitter-tolerance” <span class="type">guint64</span></pre>
310
357
<p>Amount of timestamp jitter/imperfection to allow on audio streams before inserting/dropping samples (ns).</p>
358
<p>Flags: Read / Write</p>
311
359
<p>Default value: 20000000</p>
314
362
<div class="refsect2">
315
<a name="GstEncodeBin--avoid-reencoding"></a><h3>The <code class="literal">"avoid-reencoding"</code> property</h3>
316
<pre class="programlisting"> "avoid-reencoding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
363
<a name="GstEncodeBin--avoid-reencoding"></a><h3>The <code class="literal">“avoid-reencoding”</code> property</h3>
364
<pre class="programlisting"> “avoid-reencoding” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
317
365
<p>Whether to re-encode portions of compatible video streams that lay on segment boundaries.</p>
366
<p>Flags: Read / Write</p>
318
367
<p>Default value: FALSE</p>
321
370
<div class="refsect2">
322
<a name="GstEncodeBin--profile"></a><h3>The <code class="literal">"profile"</code> property</h3>
323
<pre class="programlisting"> "profile" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a>* : Read / Write</pre>
325
The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> to use. This property must be set before going
326
to <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#GST-STATE-PAUSED:CAPS"><code class="literal">GST_STATE_PAUSED</code></a> or higher.
371
<a name="GstEncodeBin--profile"></a><h3>The <code class="literal">“profile”</code> property</h3>
372
<pre class="programlisting"> “profile” <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> *</pre>
373
<p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> to use. This property must be set before going
374
to <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#GST-STATE-PAUSED:CAPS"><code class="literal">GST_STATE_PAUSED</code></a> or higher.</p>
375
<p>Flags: Read / Write</p>
330
378
<div class="refsect2">
331
<a name="GstEncodeBin--queue-buffers-max"></a><h3>The <code class="literal">"queue-buffers-max"</code> property</h3>
332
<pre class="programlisting"> "queue-buffers-max" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
379
<a name="GstEncodeBin--queue-buffers-max"></a><h3>The <code class="literal">“queue-buffers-max”</code> property</h3>
380
<pre class="programlisting"> “queue-buffers-max” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
333
381
<p>Max. number of buffers in the queue (0=disable).</p>
382
<p>Flags: Read / Write</p>
334
383
<p>Default value: 200</p>
337
386
<div class="refsect2">
338
<a name="GstEncodeBin--queue-bytes-max"></a><h3>The <code class="literal">"queue-bytes-max"</code> property</h3>
339
<pre class="programlisting"> "queue-bytes-max" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
387
<a name="GstEncodeBin--queue-bytes-max"></a><h3>The <code class="literal">“queue-bytes-max”</code> property</h3>
388
<pre class="programlisting"> “queue-bytes-max” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
340
389
<p>Max. amount of data in the queue (bytes, 0=disable).</p>
390
<p>Flags: Read / Write</p>
341
391
<p>Default value: 10485760</p>
344
394
<div class="refsect2">
345
<a name="GstEncodeBin--queue-time-max"></a><h3>The <code class="literal">"queue-time-max"</code> property</h3>
346
<pre class="programlisting"> "queue-time-max" <span class="type">guint64</span> : Read / Write</pre>
395
<a name="GstEncodeBin--queue-time-max"></a><h3>The <code class="literal">“queue-time-max”</code> property</h3>
396
<pre class="programlisting"> “queue-time-max” <span class="type">guint64</span></pre>
347
397
<p>Max. amount of data in the queue (in ns, 0=disable).</p>
398
<p>Flags: Read / Write</p>
348
399
<p>Default value: 1000000000</p>
351
402
<div class="refsect2">
352
<a name="GstEncodeBin--flags"></a><h3>The <code class="literal">"flags"</code> property</h3>
353
<pre class="programlisting"> "flags" <span class="type">GstEncodeBinFlags</span> : Read / Write</pre>
355
Control the behaviour of encodebin.
403
<a name="GstEncodeBin--flags"></a><h3>The <code class="literal">“flags”</code> property</h3>
404
<pre class="programlisting"> “flags” <span class="type">GstEncodeBinFlags</span></pre>
405
<p>Control the behaviour of encodebin.</p>
406
<p>Flags: Read / Write</p>
359
409
<div class="refsect1">
360
410
<a name="gst-plugins-base-plugins-encodebin.signal-details"></a><h2>Signal Details</h2>
361
411
<div class="refsect2">
362
<a name="GstEncodeBin-request-pad"></a><h3>The <code class="literal">"request-pad"</code> signal</h3>
363
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="returnvalue">GstPad</span></a>* user_function (<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> *encodebin,
364
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
365
<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-ACTION:CAPS"><code class="literal">Action</code></a></pre>
367
Use this method to request an unused sink request <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> that can take the
368
provided <em class="parameter"><code>caps</code></em> as input. You must release the pad with
369
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-release-request-pad"><code class="function">gst_element_release_request_pad()</code></a> when you are done with it.
371
<div class="variablelist"><table border="0" class="variablelist">
412
<a name="GstEncodeBin-request-pad"></a><h3>The <code class="literal">“request-pad”</code> signal</h3>
413
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="returnvalue">GstPad</span></a>*
414
user_function (<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> *encodebin,
415
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
416
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
417
<p>Use this method to request an unused sink request <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> that can take the
418
provided <em class="parameter"><code>caps</code></em>
419
as input. You must release the pad with
420
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-release-request-pad"><code class="function">gst_element_release_request_pad()</code></a> when you are done with it.</p>
421
<div class="refsect3">
422
<a name="id-1.2.14.13.2.5"></a><h4>Parameters</h4>
423
<div class="informaltable"><table width="100%" border="0">
373
<col align="left" valign="top">
425
<col width="150px" class="parameters_name">
426
<col class="parameters_description">
427
<col width="200px" class="parameters_annotations">
378
<td><p><span class="term"><em class="parameter"><code>encodebin</code></em> :</span></p></td>
379
<td>a <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> instance</td>
382
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
383
<td>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>
387
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
388
<td>user data set when the signal handler was connected.</td>
391
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
392
<td>A compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> could be
393
created or is available.</td>
431
<td class="parameter_name"><p>encodebin</p></td>
432
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> instance</p></td>
433
<td class="parameter_annotations"> </td>
436
<td class="parameter_name"><p>caps</p></td>
437
<td class="parameter_description"><p>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a></p></td>
438
<td class="parameter_annotations"> </td>
441
<td class="parameter_name"><p>user_data</p></td>
442
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
443
<td class="parameter_annotations"> </td>
448
<div class="refsect3">
449
<a name="id-1.2.14.13.2.6"></a><h4>Returns</h4>
450
<p> A compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> could be
451
created or is available.</p>
399
457
<div class="refsect2">
400
<a name="GstEncodeBin-request-profile-pad"></a><h3>The <code class="literal">"request-profile-pad"</code> signal</h3>
401
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="returnvalue">GstPad</span></a>* user_function (<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> *encodebin,
402
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *profilename,
403
<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-ACTION:CAPS"><code class="literal">Action</code></a></pre>
405
Use this method to request an unused sink request <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> from the profile
406
<em class="parameter"><code>profilename</code></em>. You must release the pad with
407
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-release-request-pad"><code class="function">gst_element_release_request_pad()</code></a> when you are done with it.
409
<div class="variablelist"><table border="0" class="variablelist">
458
<a name="GstEncodeBin-request-profile-pad"></a><h3>The <code class="literal">“request-profile-pad”</code> signal</h3>
459
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="returnvalue">GstPad</span></a>*
460
user_function (<a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> *encodebin,
461
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *profilename,
462
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
463
<p>Use this method to request an unused sink request <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> from the profile
464
<em class="parameter"><code>profilename</code></em>
465
. You must release the pad with
466
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-release-request-pad"><code class="function">gst_element_release_request_pad()</code></a> when you are done with it.</p>
467
<div class="refsect3">
468
<a name="id-1.2.14.13.3.5"></a><h4>Parameters</h4>
469
<div class="informaltable"><table width="100%" border="0">
411
<col align="left" valign="top">
471
<col width="150px" class="parameters_name">
472
<col class="parameters_description">
473
<col width="200px" class="parameters_annotations">
416
<td><p><span class="term"><em class="parameter"><code>encodebin</code></em> :</span></p></td>
417
<td>a <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> instance</td>
420
<td><p><span class="term"><em class="parameter"><code>profilename</code></em> :</span></p></td>
421
<td>the name of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a>
425
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
426
<td>user data set when the signal handler was connected.</td>
429
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
430
<td>A compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> could be
431
created or is available.</td>
477
<td class="parameter_name"><p>encodebin</p></td>
478
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-plugins-encodebin.html#GstEncodeBin"><span class="type">GstEncodeBin</span></a> instance</p></td>
479
<td class="parameter_annotations"> </td>
482
<td class="parameter_name"><p>profilename</p></td>
483
<td class="parameter_description"><p>the name of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a></p></td>
484
<td class="parameter_annotations"> </td>
487
<td class="parameter_name"><p>user_data</p></td>
488
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
489
<td class="parameter_annotations"> </td>
494
<div class="refsect3">
495
<a name="id-1.2.14.13.3.6"></a><h4>Returns</h4>
496
<p> A compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no compatible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> could be
497
created or is available.</p>
438
504
<div class="footer">
440
Generated by GTK-Doc V1.19</div>
506
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'