• 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>qtmux: GStreamer Good 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 Good Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9<link rel="prev" href="gst-plugins-good-plugins-qtmoovrecover.html" title="qtmoovrecover">
10<link rel="next" href="gst-plugins-good-plugins-quarktv.html" title="quarktv">
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-good-plugins-qtmux.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#gst-plugins-good-plugins-qtmux.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span20                  <a href="#gst-plugins-good-plugins-qtmux.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span21                  <a href="#gst-plugins-good-plugins-qtmux.properties" class="shortcut">Properties</a></span>
22</td>
23<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25<td><a accesskey="p" href="gst-plugins-good-plugins-qtmoovrecover.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26<td><a accesskey="n" href="gst-plugins-good-plugins-quarktv.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27</tr></table>
28<div class="refentry">
29<a name="gst-plugins-good-plugins-qtmux"></a><div class="titlepage"></div>
30<div class="refnamediv"><table width="100%"><tr>
31<td valign="top">
32<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-qtmux.top_of_page"></a>qtmux</span></h2>
33<p>qtmux — Muxer for quicktime(.mov) files</p>
34</td>
35<td class="gallery_image" valign="top" align="right"></td>
36</tr></table></div>
37<div class="refsect1">
38<a name="gst-plugins-good-plugins-qtmux.properties"></a><h2>Properties</h2>
39<div class="informaltable"><table class="informaltable" border="0">
40<colgroup>
41<col width="150px" class="properties_type">
42<col width="300px" class="properties_name">
43<col width="200px" class="properties_flags">
44</colgroup>
45<tbody>
46<tr>
47<td class="property_type"><span class="type">GstQTMuxDtsMethods</span></td>
48<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--dts-method" title="The “dts-method” property">dts-method</a></td>
49<td class="property_flags">Read / Write / Construct</td>
50</tr>
51<tr>
52<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
53<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--faststart" title="The “faststart” property">faststart</a></td>
54<td class="property_flags">Read / Write</td>
55</tr>
56<tr>
57<td class="property_type">
58<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
59<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--faststart-file" title="The “faststart-file” property">faststart-file</a></td>
60<td class="property_flags">Read / Write / Construct</td>
61</tr>
62<tr>
63<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
64<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--fragment-duration" title="The “fragment-duration” property">fragment-duration</a></td>
65<td class="property_flags">Read / Write / Construct</td>
66</tr>
67<tr>
68<td class="property_type">
69<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
70<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--moov-recovery-file" title="The “moov-recovery-file” property">moov-recovery-file</a></td>
71<td class="property_flags">Read / Write / Construct</td>
72</tr>
73<tr>
74<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
75<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--movie-timescale" title="The “movie-timescale” property">movie-timescale</a></td>
76<td class="property_flags">Read / Write / Construct</td>
77</tr>
78<tr>
79<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
80<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--presentation-time" title="The “presentation-time” property">presentation-time</a></td>
81<td class="property_flags">Read / Write / Construct</td>
82</tr>
83<tr>
84<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
85<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--streamable" title="The “streamable” property">streamable</a></td>
86<td class="property_flags">Read / Write / Construct</td>
87</tr>
88<tr>
89<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
90<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--trak-timescale" title="The “trak-timescale” property">trak-timescale</a></td>
91<td class="property_flags">Read / Write / Construct</td>
92</tr>
93<tr>
94<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
95<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--reserved-bytes-per-sec" title="The “reserved-bytes-per-sec” property">reserved-bytes-per-sec</a></td>
96<td class="property_flags">Read / Write / Construct</td>
97</tr>
98<tr>
99<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
100<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--reserved-duration-remaining" title="The “reserved-duration-remaining” property">reserved-duration-remaining</a></td>
101<td class="property_flags">Read</td>
102</tr>
103<tr>
104<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
105<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--reserved-max-duration" title="The “reserved-max-duration” property">reserved-max-duration</a></td>
106<td class="property_flags">Read / Write</td>
107</tr>
108<tr>
109<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
110<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--reserved-moov-update-period" title="The “reserved-moov-update-period” property">reserved-moov-update-period</a></td>
111<td class="property_flags">Read / Write</td>
112</tr>
113<tr>
114<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
115<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--interleave-bytes" title="The “interleave-bytes” property">interleave-bytes</a></td>
116<td class="property_flags">Read / Write</td>
117</tr>
118<tr>
119<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
120<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--interleave-time" title="The “interleave-time” property">interleave-time</a></td>
121<td class="property_flags">Read / Write</td>
122</tr>
123<tr>
124<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
125<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--max-raw-audio-drift" title="The “max-raw-audio-drift” property">max-raw-audio-drift</a></td>
126<td class="property_flags">Read / Write</td>
127</tr>
128<tr>
129<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
130<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--reserved-prefill" title="The “reserved-prefill” property">reserved-prefill</a></td>
131<td class="property_flags">Read / Write / Construct</td>
132</tr>
133<tr>
134<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
135<td class="property_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--start-gap-threshold" title="The “start-gap-threshold” property">start-gap-threshold</a></td>
136<td class="property_flags">Read / Write</td>
137</tr>
138</tbody>
139</table></div>
140</div>
141<a name="GstQTMux"></a><div class="refsect1">
142<a name="gst-plugins-good-plugins-qtmux.other"></a><h2>Types and Values</h2>
143<div class="informaltable"><table class="informaltable" width="100%" border="0">
144<colgroup>
145<col width="150px" class="name">
146<col class="description">
147</colgroup>
148<tbody><tr>
149<td class="datatype_keyword">struct</td>
150<td class="function_name"><a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux-struct" title="struct GstQTMux">GstQTMux</a></td>
151</tr></tbody>
152</table></div>
153</div>
154<div class="refsect1">
155<a name="gst-plugins-good-plugins-qtmux.object-hierarchy"></a><h2>Object Hierarchy</h2>
156<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
157    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
158        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
159            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a>
160                <span class="lineart">╰──</span> GstQTMux
161</pre>
162</div>
163<div class="refsect1">
164<a name="gst-plugins-good-plugins-qtmux.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
165<p>
166GstQTMux implements
167 <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagSetter.html#GstTagSetter-struct">GstTagSetter</a>,  GstTagXmpWriter and  <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPreset.html#GstPreset-struct">GstPreset</a>.</p>
168</div>
169<div class="refsect1">
170<a name="gst-plugins-good-plugins-qtmux.description"></a><h2>Description</h2>
171<p>This element merges streams (audio and video) into QuickTime(.mov) files.</p>
172<p>The following background intends to explain why various similar muxers
173are present in this plugin.</p>
174<p>The <a class="ulink" href="http://www.apple.com/quicktime/resources/qtfileformat.pdf" target="_top">
175QuickTime file format specification</a> served as basis for the MP4 file
176format specification (mp4mux), and as such the QuickTime file structure is
177nearly identical to the so-called ISO Base Media file format defined in
178ISO 14496-12 (except for some media specific parts).
179In turn, the latter ISO Base Media format was further specialized as a
180Motion JPEG-2000 file format in ISO 15444-3 (mj2mux)
181and in various 3GPP(2) specs (gppmux).
182The fragmented file features defined (only) in ISO Base Media are used by
183ISMV files making up (a.o.) Smooth Streaming (ismlmux).</p>
184<p>A few properties (<a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--movie-timescale" title="The “movie-timescale” property"><span class="type">“movie-timescale”</span></a>, <a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--trak-timescale" title="The “trak-timescale” property"><span class="type">“trak-timescale”</span></a>,
185<span class="type">“trak-timescale”</span>) allow adjusting some technical parameters,
186which might be useful in (rare) cases to resolve compatibility issues in
187some situations.</p>
188<p>Some other properties influence the result more fundamentally.
189A typical mov/mp4 file's metadata (aka moov) is located at the end of the
190file, somewhat contrary to this usually being called "the header".
191However, a <a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--faststart" title="The “faststart” property"><span class="type">“faststart”</span></a> file will (with some effort) arrange this to
192be located near start of the file, which then allows it e.g. to be played
193while downloading. Alternatively, rather than having one chunk of metadata at
194start (or end), there can be some metadata at start and most of the other
195data can be spread out into fragments of <a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--fragment-duration" title="The “fragment-duration” property"><span class="type">“fragment-duration”</span></a>.
196If such fragmented layout is intended for streaming purposes, then
197<a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux--streamable" title="The “streamable” property"><span class="type">“streamable”</span></a> allows foregoing to add index metadata (at the end of
198file).</p>
199<p>When the maximum duration to be recorded can be known in advance, <a class="link" href="gst-plugins-good-plugins-qtmux.html#GstQTMux"><span class="type">GstQTMux</span></a>
200also supports a 'Robust Muxing' mode. In robust muxing mode,  space for the
201headers are reserved at the start of muxing, and rewritten at a configurable
202interval, so that the output file is always playable, even if the recording
203is interrupted uncleanly by a crash. Robust muxing mode requires a seekable
204output, such as filesink, because it needs to rewrite the start of the file.</p>
205<p>To enable robust muxing mode, set the <span class="type">“reserved-moov-update-period”</span>
206and <span class="type">“reserved-max-duration”</span> property. Also present is the
207<span class="type">“reserved-bytes-per-sec”</span> property, which can be increased if
208for some reason the default is not large enough and the initial reserved
209space for headers is too small. Applications can monitor the
210<span class="type">“reserved-duration-remaining”</span> property to see how close to full
211the reserved space is becoming.</p>
212<p>Applications that wish to be able to use/edit a file while it is being
213written to by live content, can use the "Robust Prefill Muxing" mode. That
214mode is a variant of the "Robust Muxing" mode in that it will pre-allocate a
215completely valid header from the start for all tracks (i.e. it appears as
216though the file is "reserved-max-duration" long with all samples
217present). This mode can be enabled by setting the
218<span class="type">“reserved-moov-update-period”</span> and <span class="type">“reserved-prefill”</span>
219properties. Note that this mode is only possible with input streams that have
220a fixed sample size (such as raw audio and Prores Video) and that don't
221have reordered samples.</p>
222<div class="refsect2">
223<a name="id-1.2.123.8.10"></a><h3>Example pipelines</h3>
224<div class="informalexample">
225  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
226    <tbody>
227      <tr>
228        <td class="listing_lines" align="right"><pre>1</pre></td>
229        <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> v4l2src num<span class="gtkdoc opt">-</span>buffers<span class="gtkdoc opt">=</span><span class="number">500</span> <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">320</span><span class="gtkdoc opt">,</span>height<span class="gtkdoc opt">=</span><span class="number">240</span> <span class="gtkdoc opt">!</span> videoconvert <span class="gtkdoc opt">!</span> qtmux <span class="gtkdoc opt">!</span> filesink location<span class="gtkdoc opt">=</span>video<span class="gtkdoc opt">.</span>mov</pre></td>
230      </tr>
231    </tbody>
232  </table>
233</div>
234
235Records a video stream captured from a v4l2 device and muxes it into a qt file.
236</div>
237<div class="refsynopsisdiv">
238<h2>Synopsis</h2>
239<div class="refsect2">
240<a name="id-1.2.123.8.11.1"></a><h3>Element Information</h3>
241<div class="variablelist"><table border="0" class="variablelist">
242<colgroup>
243<col align="left" valign="top">
244<col>
245</colgroup>
246<tbody>
247<tr>
248<td><p><span class="term">plugin</span></p></td>
249<td>
250            <a class="link" href="gst-plugins-good-plugins-plugin-isomp4.html#plugin-isomp4">isomp4</a>
251          </td>
252</tr>
253<tr>
254<td><p><span class="term">author</span></p></td>
255<td>Thiago Sousa Santos &lt;thiagoss@embedded.ufcg.edu.br&gt;</td>
256</tr>
257<tr>
258<td><p><span class="term">class</span></p></td>
259<td>Codec/Muxer</td>
260</tr>
261</tbody>
262</table></div>
263</div>
264<hr>
265<div class="refsect2">
266<a name="id-1.2.123.8.11.2"></a><h3>Element Pads</h3>
267<div class="variablelist"><table border="0" class="variablelist">
268<colgroup>
269<col align="left" valign="top">
270<col>
271</colgroup>
272<tbody>
273<tr>
274<td><p><span class="term">name</span></p></td>
275<td>audio_%u</td>
276</tr>
277<tr>
278<td><p><span class="term">direction</span></p></td>
279<td>sink</td>
280</tr>
281<tr>
282<td><p><span class="term">presence</span></p></td>
283<td>request</td>
284</tr>
285<tr>
286<td><p><span class="term">details</span></p></td>
287<td>audio/x-raw, format=(string){ S32LE, S32BE, S24LE, S24BE, S16LE, S16BE, S8, U8 }, layout=(string)interleaved, channels=(int)[ 1, 2 ], rate=(int)[ 1, 2147483647 ]</td>
288</tr>
289<tr>
290<td><p><span class="term"></span></p></td>
291<td> audio/x-raw, format=(string){ S32LE, S32BE, S24LE, S24BE, S16LE, S16BE, S8, U8 }, layout=(string)interleaved, channel-mask=(bitmask)0x0000000000000000, channels=(int)[ 1, 16 ], rate=(int)[ 1, 2147483647 ]</td>
292</tr>
293<tr>
294<td><p><span class="term"></span></p></td>
295<td> audio/mpeg, mpegversion=(int)1, layer=(int)[ 1, 3 ], channels=(int)[ 1, 2 ], rate=(int)[ 1, 2147483647 ]</td>
296</tr>
297<tr>
298<td><p><span class="term"></span></p></td>
299<td> audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, channels=(int)[ 1, 8 ], rate=(int)[ 1, 2147483647 ]</td>
300</tr>
301<tr>
302<td><p><span class="term"></span></p></td>
303<td> audio/x-ac3, channels=(int)[ 1, 6 ], rate=(int)[ 1, 2147483647 ]</td>
304</tr>
305<tr>
306<td><p><span class="term"></span></p></td>
307<td> audio/x-adpcm, layout=(string)dvi, block_align=(int)[ 64, 8096 ], channels=(int)[ 1, 2 ], rate=(int)[ 1, 2147483647 ]</td>
308</tr>
309<tr>
310<td><p><span class="term"></span></p></td>
311<td> audio/x-alaw, channels=(int)[ 1, 2 ], rate=(int)[ 1, 2147483647 ]</td>
312</tr>
313<tr>
314<td><p><span class="term"></span></p></td>
315<td> audio/x-mulaw, channels=(int)[ 1, 2 ], rate=(int)[ 1, 2147483647 ]</td>
316</tr>
317<tr>
318<td><p><span class="term"></span></p></td>
319<td> audio/AMR, rate=(int)8000, channels=(int)[ 1, 2 ]</td>
320</tr>
321<tr>
322<td><p><span class="term"></span></p></td>
323<td> audio/AMR-WB, rate=(int)16000, channels=(int)[ 1, 2 ]</td>
324</tr>
325<tr>
326<td><p><span class="term"></span></p></td>
327<td> audio/x-alac, channels=(int)[ 1, 2 ], rate=(int)[ 1, 2147483647 ]</td>
328</tr>
329<tr>
330<td><p><span class="term"></span></p></td>
331<td> audio/x-opus, channel-mapping-family=(int)[ 0, 255 ], channels=(int)[ 1, 8 ], rate=(int)[ 1, 2147483647 ]</td>
332</tr>
333</tbody>
334</table></div>
335<div class="variablelist"><table border="0" class="variablelist">
336<colgroup>
337<col align="left" valign="top">
338<col>
339</colgroup>
340<tbody>
341<tr>
342<td><p><span class="term">name</span></p></td>
343<td>caption_%u</td>
344</tr>
345<tr>
346<td><p><span class="term">direction</span></p></td>
347<td>sink</td>
348</tr>
349<tr>
350<td><p><span class="term">presence</span></p></td>
351<td>request</td>
352</tr>
353<tr>
354<td><p><span class="term">details</span></p></td>
355<td>closedcaption/x-cea-608, format=(string)s334-1a</td>
356</tr>
357<tr>
358<td><p><span class="term"></span></p></td>
359<td> closedcaption/x-cea-708, format=(string)cdp</td>
360</tr>
361</tbody>
362</table></div>
363<div class="variablelist"><table border="0" class="variablelist">
364<colgroup>
365<col align="left" valign="top">
366<col>
367</colgroup>
368<tbody>
369<tr>
370<td><p><span class="term">name</span></p></td>
371<td>subtitle_%u</td>
372</tr>
373<tr>
374<td><p><span class="term">direction</span></p></td>
375<td>sink</td>
376</tr>
377<tr>
378<td><p><span class="term">presence</span></p></td>
379<td>request</td>
380</tr>
381<tr>
382<td><p><span class="term">details</span></p></td>
383<td>text/x-raw, format=(string)utf8</td>
384</tr>
385</tbody>
386</table></div>
387<div class="variablelist"><table border="0" class="variablelist">
388<colgroup>
389<col align="left" valign="top">
390<col>
391</colgroup>
392<tbody>
393<tr>
394<td><p><span class="term">name</span></p></td>
395<td>video_%u</td>
396</tr>
397<tr>
398<td><p><span class="term">direction</span></p></td>
399<td>sink</td>
400</tr>
401<tr>
402<td><p><span class="term">presence</span></p></td>
403<td>request</td>
404</tr>
405<tr>
406<td><p><span class="term">details</span></p></td>
407<td>video/x-raw, format=(string){ RGB, UYVY, v210 }, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
408</tr>
409<tr>
410<td><p><span class="term"></span></p></td>
411<td> video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
412</tr>
413<tr>
414<td><p><span class="term"></span></p></td>
415<td> video/x-divx, divxversion=(int)5, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
416</tr>
417<tr>
418<td><p><span class="term"></span></p></td>
419<td> video/x-prores, variant=(string){ standard, lt, hq, proxy, 4444, 4444xq }, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
420</tr>
421<tr>
422<td><p><span class="term"></span></p></td>
423<td> video/x-cineform, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
424</tr>
425<tr>
426<td><p><span class="term"></span></p></td>
427<td> video/x-h263, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
428</tr>
429<tr>
430<td><p><span class="term"></span></p></td>
431<td> video/x-h264, stream-format=(string)avc, alignment=(string)au, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
432</tr>
433<tr>
434<td><p><span class="term"></span></p></td>
435<td> video/x-h265, stream-format=(string){ hvc1, hev1 }, alignment=(string)au, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
436</tr>
437<tr>
438<td><p><span class="term"></span></p></td>
439<td> video/x-svq, svqversion=(int)3, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
440</tr>
441<tr>
442<td><p><span class="term"></span></p></td>
443<td> video/x-dv, systemstream=(boolean)false, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
444</tr>
445<tr>
446<td><p><span class="term"></span></p></td>
447<td> image/jpeg, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
448</tr>
449<tr>
450<td><p><span class="term"></span></p></td>
451<td> image/png, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
452</tr>
453<tr>
454<td><p><span class="term"></span></p></td>
455<td> video/x-vp8, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
456</tr>
457<tr>
458<td><p><span class="term"></span></p></td>
459<td> video/x-vp9, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
460</tr>
461<tr>
462<td><p><span class="term"></span></p></td>
463<td> video/x-dirac, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
464</tr>
465<tr>
466<td><p><span class="term"></span></p></td>
467<td> video/x-qt-part, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
468</tr>
469<tr>
470<td><p><span class="term"></span></p></td>
471<td> video/x-av1, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]</td>
472</tr>
473</tbody>
474</table></div>
475<div class="variablelist"><table border="0" class="variablelist">
476<colgroup>
477<col align="left" valign="top">
478<col>
479</colgroup>
480<tbody>
481<tr>
482<td><p><span class="term">name</span></p></td>
483<td>src</td>
484</tr>
485<tr>
486<td><p><span class="term">direction</span></p></td>
487<td>source</td>
488</tr>
489<tr>
490<td><p><span class="term">presence</span></p></td>
491<td>always</td>
492</tr>
493<tr>
494<td><p><span class="term">details</span></p></td>
495<td>video/quicktime, variant=(string)apple</td>
496</tr>
497<tr>
498<td><p><span class="term"></span></p></td>
499<td> video/quicktime</td>
500</tr>
501</tbody>
502</table></div>
503</div>
504</div>
505</div>
506<div class="refsect1">
507<a name="gst-plugins-good-plugins-qtmux.functions_details"></a><h2>Functions</h2>
508<p></p>
509</div>
510<div class="refsect1">
511<a name="gst-plugins-good-plugins-qtmux.other_details"></a><h2>Types and Values</h2>
512<div class="refsect2">
513<a name="GstQTMux-struct"></a><h3>struct GstQTMux</h3>
514<pre class="programlisting">struct GstQTMux;</pre>
515</div>
516</div>
517<div class="refsect1">
518<a name="gst-plugins-good-plugins-qtmux.property-details"></a><h2>Property Details</h2>
519<div class="refsect2">
520<a name="GstQTMux--dts-method"></a><h3>The <code class="literal">“dts-method”</code> property</h3>
521<pre class="programlisting">  “dts-method”               <span class="type">GstQTMuxDtsMethods</span></pre>
522<p>Method to determine DTS time (DEPRECATED).</p>
523<p>Flags: Read / Write / Construct</p>
524<p>Default value: reorder</p>
525</div>
526<hr>
527<div class="refsect2">
528<a name="GstQTMux--faststart"></a><h3>The <code class="literal">“faststart”</code> property</h3>
529<pre class="programlisting">  “faststart”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
530<p>If the file should be formatted for faststart (headers first).</p>
531<p>Flags: Read / Write</p>
532<p>Default value: FALSE</p>
533</div>
534<hr>
535<div class="refsect2">
536<a name="GstQTMux--faststart-file"></a><h3>The <code class="literal">“faststart-file”</code> property</h3>
537<pre class="programlisting">  “faststart-file”           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
538<p>File that will be used temporarily to store data from the stream when creating a faststart file. If null a filepath will be created automatically.</p>
539<p>Flags: Read / Write / Construct</p>
540<p>Default value: NULL</p>
541</div>
542<hr>
543<div class="refsect2">
544<a name="GstQTMux--fragment-duration"></a><h3>The <code class="literal">“fragment-duration”</code> property</h3>
545<pre class="programlisting">  “fragment-duration”        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
546<p>Fragment durations in ms (produce a fragmented file if &gt; 0).</p>
547<p>Flags: Read / Write / Construct</p>
548<p>Default value: 0</p>
549</div>
550<hr>
551<div class="refsect2">
552<a name="GstQTMux--moov-recovery-file"></a><h3>The <code class="literal">“moov-recovery-file”</code> property</h3>
553<pre class="programlisting">  “moov-recovery-file”       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
554<p>File to be used to store data for moov atom making movie file recovery possible in case of a crash during muxing. Null for disabled. (Experimental).</p>
555<p>Flags: Read / Write / Construct</p>
556<p>Default value: NULL</p>
557</div>
558<hr>
559<div class="refsect2">
560<a name="GstQTMux--movie-timescale"></a><h3>The <code class="literal">“movie-timescale”</code> property</h3>
561<pre class="programlisting">  “movie-timescale”          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
562<p>Timescale to use in the movie (units per second, 0 == default).</p>
563<p>Flags: Read / Write / Construct</p>
564<p>Default value: 0</p>
565</div>
566<hr>
567<div class="refsect2">
568<a name="GstQTMux--presentation-time"></a><h3>The <code class="literal">“presentation-time”</code> property</h3>
569<pre class="programlisting">  “presentation-time”        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
570<p>Calculate and include presentation/composition time (in addition to decoding time).</p>
571<p>Flags: Read / Write / Construct</p>
572<p>Default value: TRUE</p>
573</div>
574<hr>
575<div class="refsect2">
576<a name="GstQTMux--streamable"></a><h3>The <code class="literal">“streamable”</code> property</h3>
577<pre class="programlisting">  “streamable”               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
578<p>If set to true, the output should be as if it is to be streamed and hence no indexes written or duration written. (DEPRECATED, only valid for fragmented MP4).</p>
579<p>Flags: Read / Write / Construct</p>
580<p>Default value: FALSE</p>
581</div>
582<hr>
583<div class="refsect2">
584<a name="GstQTMux--trak-timescale"></a><h3>The <code class="literal">“trak-timescale”</code> property</h3>
585<pre class="programlisting">  “trak-timescale”           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
586<p>Timescale to use for the tracks (units per second, 0 is automatic).</p>
587<p>Flags: Read / Write / Construct</p>
588<p>Default value: 0</p>
589</div>
590<hr>
591<div class="refsect2">
592<a name="GstQTMux--reserved-bytes-per-sec"></a><h3>The <code class="literal">“reserved-bytes-per-sec”</code> property</h3>
593<pre class="programlisting">  “reserved-bytes-per-sec”   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
594<p>Multiplier for converting reserved-max-duration into bytes of header to reserve, per second, per track.</p>
595<p>Flags: Read / Write / Construct</p>
596<p>Allowed values: &lt;= 10000</p>
597<p>Default value: 550</p>
598</div>
599<hr>
600<div class="refsect2">
601<a name="GstQTMux--reserved-duration-remaining"></a><h3>The <code class="literal">“reserved-duration-remaining”</code> property</h3>
602<pre class="programlisting">  “reserved-duration-remaining” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
603<p>Reports the approximate amount of remaining moov header space reserved using reserved-max-duration.</p>
604<p>Flags: Read</p>
605<p>Default value: 0</p>
606</div>
607<hr>
608<div class="refsect2">
609<a name="GstQTMux--reserved-max-duration"></a><h3>The <code class="literal">“reserved-max-duration”</code> property</h3>
610<pre class="programlisting">  “reserved-max-duration”    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
611<p>When set to a value &gt; 0, reserves space for index tables at the beginning of the file.</p>
612<p>Flags: Read / Write</p>
613<p>Default value: 18446744073709551615</p>
614</div>
615<hr>
616<div class="refsect2">
617<a name="GstQTMux--reserved-moov-update-period"></a><h3>The <code class="literal">“reserved-moov-update-period”</code> property</h3>
618<pre class="programlisting">  “reserved-moov-update-period” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
619<p>When used with reserved-max-duration, periodically updates the index tables with information muxed so far.</p>
620<p>Flags: Read / Write</p>
621<p>Default value: 18446744073709551615</p>
622</div>
623<hr>
624<div class="refsect2">
625<a name="GstQTMux--interleave-bytes"></a><h3>The <code class="literal">“interleave-bytes”</code> property</h3>
626<pre class="programlisting">  “interleave-bytes”         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
627<p>Interleave between streams in bytes.</p>
628<p>Flags: Read / Write</p>
629<p>Default value: 0</p>
630</div>
631<hr>
632<div class="refsect2">
633<a name="GstQTMux--interleave-time"></a><h3>The <code class="literal">“interleave-time”</code> property</h3>
634<pre class="programlisting">  “interleave-time”          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
635<p>Interleave between streams in nanoseconds.</p>
636<p>Flags: Read / Write</p>
637<p>Default value: 250000000</p>
638</div>
639<hr>
640<div class="refsect2">
641<a name="GstQTMux--max-raw-audio-drift"></a><h3>The <code class="literal">“max-raw-audio-drift”</code> property</h3>
642<pre class="programlisting">  “max-raw-audio-drift”      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
643<p>Maximum allowed drift of raw audio samples vs. timestamps in nanoseconds.</p>
644<p>Flags: Read / Write</p>
645<p>Default value: 40000000</p>
646</div>
647<hr>
648<div class="refsect2">
649<a name="GstQTMux--reserved-prefill"></a><h3>The <code class="literal">“reserved-prefill”</code> property</h3>
650<pre class="programlisting">  “reserved-prefill”         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
651<p>Prefill samples table of reserved duration.</p>
652<p>Flags: Read / Write / Construct</p>
653<p>Default value: FALSE</p>
654</div>
655<hr>
656<div class="refsect2">
657<a name="GstQTMux--start-gap-threshold"></a><h3>The <code class="literal">“start-gap-threshold”</code> property</h3>
658<pre class="programlisting">  “start-gap-threshold”      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
659<p>Threshold for creating an edit list for gaps at the start in nanoseconds.</p>
660<p>Flags: Read / Write</p>
661<p>Default value: 0</p>
662</div>
663</div>
664</div>
665<div class="footer">
666<hr>Generated by GTK-Doc V1.28</div>
667</body>
668</html>