76
76
and the man-page of the mplex tool documents the properties of this element,
77
77
which are shared with the mplex tool.
79
<div class="refsect2" title="Example pipeline">
80
<a name="id626159"></a><h3>Example pipeline</h3>
81
<div class="refsect2">
82
<a name="idp14250288"></a><h3>Example pipeline</h3>
81
83
<div class="informalexample">
82
84
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
85
87
<td class="listing_lines" align="right"><pre>1</pre></td>
86
<td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch <span class="symbol">-</span>v videotestsrc num<span class="symbol">-</span>buffers<span class="symbol">=</span><span class="number">1000</span> <span class="symbol">!</span> mpeg2enc <span class="symbol">!</span> mplex <span class="symbol">!</span> filesink location<span class="symbol">=</span>videotestsrc<span class="symbol">.</span>mpg</pre></td>
88
<td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch <span class="gtkdoc opt">-</span>v videotestsrc num<span class="gtkdoc opt">-</span>buffers<span class="gtkdoc opt">=</span><span class="number">1000</span> <span class="gtkdoc opt">!</span> mpeg2enc <span class="gtkdoc opt">!</span> mplex <span class="gtkdoc opt">!</span> filesink location<span class="gtkdoc opt">=</span>videotestsrc<span class="gtkdoc opt">.</span>mpg</pre></td>
101
<div class="refsect1" title="Details">
104
<div class="refsynopsisdiv">
106
<div class="refsect2">
107
<a name="idp5890176"></a><h3>Element Information</h3>
108
<div class="variablelist"><table border="0">
109
<col align="left" valign="top">
112
<td><p><span class="term">plugin</span></p></td>
114
<a class="link" href="gst-plugins-bad-plugins-plugin-mplex.html#plugin-mplex">mplex</a>
118
<td><p><span class="term">author</span></p></td>
119
<td>Andrew Stevens <andrew.stevens@nexgo.de>
120
Ronald Bultje <rbultje@ronald.bitfreak.net>
121
Mark Nauwelaerts <mnauw@users.sourceforge.net</td>
124
<td><p><span class="term">class</span></p></td>
131
<div class="refsect2">
132
<a name="idp9249456"></a><h3>Element Pads</h3>
133
<div class="variablelist"><table border="0">
134
<col align="left" valign="top">
137
<td><p><span class="term">name</span></p></td>
141
<td><p><span class="term">direction</span></p></td>
145
<td><p><span class="term">presence</span></p></td>
149
<td><p><span class="term">details</span></p></td>
150
<td>audio/mpeg, mpegversion=(int)1, layer=(int)[ 1, 3 ], channels=(int)[ 1, 8 ], rate=(int)[ 8000, 96000 ]</td>
153
<td><p><span class="term"></span></p></td>
154
<td> audio/x-ac3, channels=(int)[ 1, 8 ], rate=(int)[ 8000, 96000 ]</td>
157
<td><p><span class="term"></span></p></td>
158
<td> audio/x-dts</td>
161
<td><p><span class="term"></span></p></td>
162
<td> audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int){ 16, 20, 24 }, depth=(int){ 16, 20, 24 }, rate=(int){ 48000, 96000 }, channels=(int)[ 1, 6 ]</td>
166
<div class="variablelist"><table border="0">
167
<col align="left" valign="top">
170
<td><p><span class="term">name</span></p></td>
174
<td><p><span class="term">direction</span></p></td>
178
<td><p><span class="term">presence</span></p></td>
182
<td><p><span class="term">details</span></p></td>
183
<td>video/mpeg, mpegversion=(int){ 1, 2 }, systemstream=(boolean)false, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
187
<div class="variablelist"><table border="0">
188
<col align="left" valign="top">
191
<td><p><span class="term">name</span></p></td>
195
<td><p><span class="term">direction</span></p></td>
199
<td><p><span class="term">presence</span></p></td>
203
<td><p><span class="term">details</span></p></td>
204
<td>video/mpeg, systemstream=(boolean)true</td>
213
<div class="refsect1">
102
214
<a name="gst-plugins-bad-plugins-mplex.details"></a><h2>Details</h2>
103
<div class="refsect2" title="GstMplex">
215
<div class="refsect2">
104
216
<a name="GstMplex-struct"></a><h3>GstMplex</h3>
105
217
<pre class="programlisting">typedef struct _GstMplex GstMplex;</pre>
110
<div class="refsect1" title="Property Details">
222
<div class="refsect1">
111
223
<a name="gst-plugins-bad-plugins-mplex.property-details"></a><h2>Property Details</h2>
112
<div class="refsect2" title='The "bufsize" property'>
224
<div class="refsect2">
113
225
<a name="GstMplex--bufsize"></a><h3>The <code class="literal">"bufsize"</code> property</h3>
114
226
<pre class="programlisting"> "bufsize" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
115
227
<p>Target decoders video buffer size (kB) [default determined by format if not explicitly set].</p>
117
229
<p>Default value: 46</p>
120
<div class="refsect2" title='The "format" property'>
232
<div class="refsect2">
121
233
<a name="GstMplex--format"></a><h3>The <code class="literal">"format"</code> property</h3>
122
234
<pre class="programlisting"> "format" <span class="type">GstMplexFormat</span> : Read / Write</pre>
123
235
<p>Encoding profile format.</p>
124
236
<p>Default value: Generic MPEG-1</p>
127
<div class="refsect2" title='The "mux-bitrate" property'>
239
<div class="refsect2">
128
240
<a name="GstMplex--mux-bitrate"></a><h3>The <code class="literal">"mux-bitrate"</code> property</h3>
129
241
<pre class="programlisting"> "mux-bitrate" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
130
242
<p>Bitrate of output stream in kbps (0 = autodetect).</p>
148
260
<p>Default value: 2048</p>
151
<div class="refsect2" title='The "system-headers" property'>
263
<div class="refsect2">
152
264
<a name="GstMplex--system-headers"></a><h3>The <code class="literal">"system-headers"</code> property</h3>
153
265
<pre class="programlisting"> "system-headers" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
154
266
<p>Create system header in every pack for generic formats.</p>
155
267
<p>Default value: FALSE</p>
158
<div class="refsect2" title='The "vbr" property'>
270
<div class="refsect2">
159
271
<a name="GstMplex--vbr"></a><h3>The <code class="literal">"vbr"</code> property</h3>
160
272
<pre class="programlisting"> "vbr" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
161
273
<p>Whether the input video stream is variable bitrate.</p>
162
274
<p>Default value: FALSE</p>
165
<div class="refsect1" title="See Also">
277
<div class="refsect1">
166
278
<a name="gst-plugins-bad-plugins-mplex.see-also"></a><h2>See Also</h2>
170
282
<div class="footer">
172
Generated by GTK-Doc V1.15</div>
284
Generated by GTK-Doc V1.17</div>
b'\\ No newline at end of file'