Newer
Older
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>deinterlace</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GStreamer Good Plugins 1.0 Plugins Reference Manual">
<link rel="up" href="ch01.html" title="gst-plugins-good Elements">
<link rel="prev" href="gst-plugins-good-plugins-dcaparse.html" title="dcaparse">
<link rel="next" href="gst-plugins-good-plugins-deinterleave.html" title="deinterleave">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gst-plugins-good-plugins-dcaparse.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GStreamer Good Plugins 1.0 Plugins Reference Manual</th>
<td><a accesskey="n" href="gst-plugins-good-plugins-deinterleave.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gst-plugins-good-plugins-deinterlace.synopsis" class="shortcut">Top</a>
|
<a href="#gst-plugins-good-plugins-deinterlace.description" class="shortcut">Description</a>
|
<a href="#gst-plugins-good-plugins-deinterlace.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#gst-plugins-good-plugins-deinterlace.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#gst-plugins-good-plugins-deinterlace.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="gst-plugins-good-plugins-deinterlace"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-deinterlace.top_of_page"></a>deinterlace</span></h2>
<p>deinterlace — Deinterlace Methods ported from DScaler/TvTime</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gst-plugins-good-plugins-deinterlace.synopsis"></a><h2>Synopsis</h2>
<a name="GstDeinterlace"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace-struct" title="struct GstDeinterlace">GstDeinterlace</a>;
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-good-plugins-deinterlace.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
+----GstDeinterlace
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-good-plugins-deinterlace.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GstDeinterlace implements
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstChildProxy.html">GstChildProxy</a>.</p>
</div>
<div class="refsect1">
<a name="gst-plugins-good-plugins-deinterlace.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--fields" title='The "fields" property'>fields</a>" <span class="type">GstDeinterlaceFields</span> : Read / Write
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--method" title='The "method" property'>method</a>" <span class="type">GstDeinterlaceMethods</span> : Read / Write
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--mode" title='The "mode" property'>mode</a>" <span class="type">GstDeinterlaceModes</span> : Read / Write
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--tff" title='The "tff" property'>tff</a>" <span class="type">GstDeinterlaceFieldLayout</span> : Read / Write
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--drop-orphans" title='The "drop-orphans" property'>drop-orphans</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--ignore-obscure" title='The "ignore-obscure" property'>ignore-obscure</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="gst-plugins-good-plugins-deinterlace.html#GstDeinterlace--locking" title='The "locking" property'>locking</a>" <span class="type">GstDeinterlaceLocking</span> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-good-plugins-deinterlace.description"></a><h2>Description</h2>
<p>
deinterlace deinterlaces interlaced video frames to progressive video frames.
For this different algorithms can be selected which will be described later.
</p>
<p>
</p>
<div class="refsect2">
<a name="idp10271408"></a><h3>Example launch line</h3>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<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> <span class="gtkdoc opt">-</span>v filesrc location<span class="gtkdoc opt">=/</span>path<span class="gtkdoc opt">/</span>to<span class="gtkdoc opt">/</span>file <span class="gtkdoc opt">!</span> decodebin2 <span class="gtkdoc opt">!</span> videoconvert <span class="gtkdoc opt">!</span> deinterlace <span class="gtkdoc opt">!</span> videoconvert <span class="gtkdoc opt">!</span> autovideosink</pre></td>
</tr>
</tbody>
</table>
</div>
This pipeline deinterlaces a video file with the default deinterlacing options.
</div>
<p>
</p>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="refsect2">
<a name="idp10539760"></a><h3>Element Information</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">plugin</span></p></td>
<td>
<a class="link" href="gst-plugins-good-plugins-plugin-deinterlace.html#plugin-deinterlace">deinterlace</a>
</td>
</tr>
<tr>
<td><p><span class="term">author</span></p></td>
<td>Martin Eikermann <meiker@upb.de>, Sebastian Dröge <sebastian.droege@collabora.co.uk></td>
</tr>
<tr>
<td><p><span class="term">class</span></p></td>
<td>Filter/Effect/Video/Deinterlace</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="idp8797088"></a><h3>Element Pads</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">name</span></p></td>
<td>sink</td>
</tr>
<tr>
<td><p><span class="term">direction</span></p></td>
<td>sink</td>
</tr>
<tr>
<td><p><span class="term">presence</span></p></td>
<td>always</td>
</tr>
<tr>
<td><p><span class="term">details</span></p></td>
<td>video/x-raw, format=(string){ AYUV, ARGB, ABGR, RGBA, BGRA, Y444, xRGB, xBGR, RGBx, BGRx, RGB, BGR, YUY2, YVYU, UYVY, Y42B, I420, YV12, Y41B, NV12, NV21 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
</tr>
</tbody>
</table></div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">name</span></p></td>
<td>src</td>
</tr>
<tr>
<td><p><span class="term">direction</span></p></td>
<td>source</td>
</tr>
<tr>
<td><p><span class="term">presence</span></p></td>
<td>always</td>
</tr>
<tr>
<td><p><span class="term">details</span></p></td>
<td>video/x-raw, format=(string){ AYUV, ARGB, ABGR, RGBA, BGRA, Y444, xRGB, xBGR, RGBx, BGRx, RGB, BGR, YUY2, YVYU, UYVY, Y42B, I420, YV12, Y41B, NV12, NV21 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="gst-plugins-good-plugins-deinterlace.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GstDeinterlace-struct"></a><h3>struct GstDeinterlace</h3>
<pre class="programlisting">struct GstDeinterlace;</pre>
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-good-plugins-deinterlace.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GstDeinterlace--fields"></a><h3>The <code class="literal">"fields"</code> property</h3>
<pre class="programlisting"> "fields" <span class="type">GstDeinterlaceFields</span> : Read / Write</pre>
<p>
This selects which fields should be output. If "all" is selected
the output framerate will be double.
</p>
<p>Default value: All fields</p>
</div>
<hr>
<div class="refsect2">
<a name="GstDeinterlace--method"></a><h3>The <code class="literal">"method"</code> property</h3>
<pre class="programlisting"> "method" <span class="type">GstDeinterlaceMethods</span> : Read / Write</pre>
<p>
Selects the different deinterlacing algorithms that can be used.
These provide different quality and CPU usage.
</p>
<p>
Some methods provide parameters which can be set by getting
the "method" child via the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstChildProxy.html"><span class="type">GstChildProxy</span></a> interface and
setting the appropiate properties on it.
</p>
<p>
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"><p>
tomsmocomp
Motion Adaptive: Motion Search
</p></li>
<li class="listitem"><p>
greedyh
Motion Adaptive: Advanced Detection
</p></li>
<li class="listitem"><p>
greedyl
Motion Adaptive: Simple Detection
</p></li>
<li class="listitem"><p>
vfir
Blur vertical
</p></li>
<li class="listitem"><p>
linear
Linear interpolation
</p></li>
<li class="listitem"><p>
linearblend
Linear interpolation in time domain. Any motion causes significant
ghosting, so this method should not be used.
</p></li>
<li class="listitem"><p>
scalerbob
Double lines
</p></li>
<li class="listitem"><p>
weave
Weave. Bad quality, do not use.
</p></li>
<li class="listitem"><p>
weavetff
Progressive: Top Field First. Bad quality, do not use.
</p></li>
<li class="listitem"><p>
weavebff
Progressive: Bottom Field First. Bad quality, do not use.
</p></li>
</ul></div>
<p>
</p>
<p>Default value: Television: Full resolution</p>
</div>
<hr>
<div class="refsect2">
<a name="GstDeinterlace--mode"></a><h3>The <code class="literal">"mode"</code> property</h3>
<pre class="programlisting"> "mode" <span class="type">GstDeinterlaceModes</span> : Read / Write</pre>
<p>
This selects whether the deinterlacing methods should
always be applied or if they should only be applied
on content that has the "interlaced" flag on the caps.
</p>
<p>Default value: Auto detection</p>
</div>
<hr>
<div class="refsect2">
<a name="GstDeinterlace--tff"></a><h3>The <code class="literal">"tff"</code> property</h3>
<pre class="programlisting"> "tff" <span class="type">GstDeinterlaceFieldLayout</span> : Read / Write</pre>
<p>Deinterlace top field first.</p>
<p>Default value: Auto detection</p>
</div>
<hr>
<div class="refsect2">
<a name="GstDeinterlace--drop-orphans"></a><h3>The <code class="literal">"drop-orphans"</code> property</h3>
<pre class="programlisting"> "drop-orphans" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>
This selects whether to drop orphan fields at the beginning of telecine
patterns in active locking mode.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 0.10.31</p>
</div>
<hr>
<div class="refsect2">
<a name="GstDeinterlace--ignore-obscure"></a><h3>The <code class="literal">"ignore-obscure"</code> property</h3>
<pre class="programlisting"> "ignore-obscure" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>
This selects whether to ignore obscure/rare telecine patterns.
NTSC 2:3 pulldown variants are the only really common patterns.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 0.10.31</p>
</div>
<hr>
<div class="refsect2">
<a name="GstDeinterlace--locking"></a><h3>The <code class="literal">"locking"</code> property</h3>
<pre class="programlisting"> "locking" <span class="type">GstDeinterlaceLocking</span> : Read / Write</pre>
<p>
This selects which approach to pattern locking is used which affects
processing latency and accuracy of timestamp adjustment for telecine
streams.
</p>
<p>Default value: No pattern locking</p>
<p class="since">Since 0.10.31</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>