1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>deinterlace</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7 <link rel="home" href="index.html" title="GStreamer Good Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9 <link rel="prev" href="gst-plugins-good-plugins-dcaparse.html" title="dcaparse">
10 <link rel="next" href="gst-plugins-good-plugins-deinterleave.html" title="deinterleave">
11 <meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
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-good-plugins-dcaparse.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 Good Plugins 0.10 Plugins Reference Manual</th>
21 <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>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-deinterlace.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-good-plugins-deinterlace.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-good-plugins-deinterlace.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-good-plugins-deinterlace.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32 <a href="#gst-plugins-good-plugins-deinterlace.properties" class="shortcut">Properties</a>
35 <div class="refentry">
36 <a name="gst-plugins-good-plugins-deinterlace"></a><div class="titlepage"></div>
37 <div class="refnamediv"><table width="100%"><tr>
39 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-deinterlace.top_of_page"></a>deinterlace</span></h2>
40 <p>deinterlace — Deinterlace Methods ported from DScaler/TvTime</p>
42 <td valign="top" align="right"></td>
44 <div class="refsynopsisdiv">
45 <a name="gst-plugins-good-plugins-deinterlace.synopsis"></a><h2>Synopsis</h2>
46 <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>;
49 <div class="refsect1">
50 <a name="gst-plugins-good-plugins-deinterlace.object-hierarchy"></a><h2>Object Hierarchy</h2>
51 <pre class="synopsis">
52 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
53 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
54 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
58 <div class="refsect1">
59 <a name="gst-plugins-good-plugins-deinterlace.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
61 GstDeinterlace implements
62 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstChildProxy.html">GstChildProxy</a>.</p>
64 <div class="refsect1">
65 <a name="gst-plugins-good-plugins-deinterlace.properties"></a><h2>Properties</h2>
66 <pre class="synopsis">
67 "<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
68 "<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
69 "<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
70 "<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
73 <div class="refsect1">
74 <a name="gst-plugins-good-plugins-deinterlace.description"></a><h2>Description</h2>
76 deinterlace deinterlaces interlaced video frames to progressive video frames.
77 For this different algorithms can be selected which will be described later.
81 <div class="refsect2">
82 <a name="idp8051920"></a><h3>Example launch line</h3>
83 <div class="informalexample">
84 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
87 <td class="listing_lines" align="right"><pre>1</pre></td>
88 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch <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> ffmpegcolorspace <span class="gtkdoc opt">!</span> deinterlace <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> autovideosink</pre></td>
93 This pipeline deinterlaces a video file with the default deinterlacing options.
97 <div class="refsynopsisdiv">
99 <div class="refsect2">
100 <a name="idp7099456"></a><h3>Element Information</h3>
101 <div class="variablelist"><table border="0">
102 <col align="left" valign="top">
105 <td><p><span class="term">plugin</span></p></td>
107 <a class="link" href="gst-plugins-good-plugins-plugin-deinterlace.html#plugin-deinterlace">deinterlace</a>
111 <td><p><span class="term">author</span></p></td>
112 <td>Martin Eikermann <meiker@upb.de>, Sebastian Dröge <sebastian.droege@collabora.co.uk></td>
115 <td><p><span class="term">class</span></p></td>
116 <td>Filter/Effect/Video/Deinterlace</td>
122 <div class="refsect2">
123 <a name="idp12340128"></a><h3>Element Pads</h3>
124 <div class="variablelist"><table border="0">
125 <col align="left" valign="top">
128 <td><p><span class="term">name</span></p></td>
132 <td><p><span class="term">direction</span></p></td>
136 <td><p><span class="term">presence</span></p></td>
140 <td><p><span class="term">details</span></p></td>
141 <td>video/x-raw-yuv, format=(fourcc){ AYUV, Y444, YUY2, YVYU, UYVY, Y42B, I420, YV12, Y41B, NV12, NV21 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
144 <td><p><span class="term"></span></p></td>
145 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
148 <td><p><span class="term"></span></p></td>
149 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
152 <td><p><span class="term"></span></p></td>
153 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
156 <td><p><span class="term"></span></p></td>
157 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
160 <td><p><span class="term"></span></p></td>
161 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
164 <td><p><span class="term"></span></p></td>
165 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
168 <td><p><span class="term"></span></p></td>
169 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
172 <td><p><span class="term"></span></p></td>
173 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
176 <td><p><span class="term"></span></p></td>
177 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
180 <td><p><span class="term"></span></p></td>
181 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
185 <div class="variablelist"><table border="0">
186 <col align="left" valign="top">
189 <td><p><span class="term">name</span></p></td>
193 <td><p><span class="term">direction</span></p></td>
197 <td><p><span class="term">presence</span></p></td>
201 <td><p><span class="term">details</span></p></td>
202 <td>video/x-raw-yuv, format=(fourcc){ AYUV, Y444, YUY2, YVYU, UYVY, Y42B, I420, YV12, Y41B, NV12, NV21 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
205 <td><p><span class="term"></span></p></td>
206 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
209 <td><p><span class="term"></span></p></td>
210 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
213 <td><p><span class="term"></span></p></td>
214 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
217 <td><p><span class="term"></span></p></td>
218 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
221 <td><p><span class="term"></span></p></td>
222 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
225 <td><p><span class="term"></span></p></td>
226 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
229 <td><p><span class="term"></span></p></td>
230 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
233 <td><p><span class="term"></span></p></td>
234 <td> video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
237 <td><p><span class="term"></span></p></td>
238 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
241 <td><p><span class="term"></span></p></td>
242 <td> video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
251 <div class="refsect1">
252 <a name="gst-plugins-good-plugins-deinterlace.details"></a><h2>Details</h2>
253 <div class="refsect2">
254 <a name="GstDeinterlace-struct"></a><h3>struct GstDeinterlace</h3>
255 <pre class="programlisting">struct GstDeinterlace;</pre>
260 <div class="refsect1">
261 <a name="gst-plugins-good-plugins-deinterlace.property-details"></a><h2>Property Details</h2>
262 <div class="refsect2">
263 <a name="GstDeinterlace--fields"></a><h3>The <code class="literal">"fields"</code> property</h3>
264 <pre class="programlisting"> "fields" <span class="type">GstDeinterlaceFields</span> : Read / Write</pre>
266 This selects which fields should be output. If "all" is selected
267 the output framerate will be double.
269 <p>Default value: All fields</p>
272 <div class="refsect2">
273 <a name="GstDeinterlace--method"></a><h3>The <code class="literal">"method"</code> property</h3>
274 <pre class="programlisting"> "method" <span class="type">GstDeinterlaceMethods</span> : Read / Write</pre>
276 Selects the different deinterlacing algorithms that can be used.
277 These provide different quality and CPU usage.
280 Some methods provide parameters which can be set by getting
281 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
282 setting the appropiate properties on it.
286 <div class="itemizedlist"><ul class="itemizedlist" type="disc">
287 <li class="listitem"><p>
289 Motion Adaptive: Motion Search
291 <li class="listitem"><p>
293 Motion Adaptive: Advanced Detection
295 <li class="listitem"><p>
297 Motion Adaptive: Simple Detection
299 <li class="listitem"><p>
303 <li class="listitem"><p>
307 <li class="listitem"><p>
309 Linear interpolation in time domain. Any motion causes significant
310 ghosting, so this method should not be used.
312 <li class="listitem"><p>
316 <li class="listitem"><p>
318 Weave. Bad quality, do not use.
320 <li class="listitem"><p>
322 Progressive: Top Field First. Bad quality, do not use.
324 <li class="listitem"><p>
326 Progressive: Bottom Field First. Bad quality, do not use.
331 <p>Default value: Television: Full resolution</p>
334 <div class="refsect2">
335 <a name="GstDeinterlace--mode"></a><h3>The <code class="literal">"mode"</code> property</h3>
336 <pre class="programlisting"> "mode" <span class="type">GstDeinterlaceModes</span> : Read / Write</pre>
338 This selects whether the deinterlacing methods should
339 always be applied or if they should only be applied
340 on content that has the "interlaced" flag on the caps.
342 <p>Default value: Auto detection</p>
345 <div class="refsect2">
346 <a name="GstDeinterlace--tff"></a><h3>The <code class="literal">"tff"</code> property</h3>
347 <pre class="programlisting"> "tff" <span class="type">GstDeinterlaceFieldLayout</span> : Read / Write</pre>
348 <p>Deinterlace top field first.</p>
349 <p>Default value: Auto detection</p>
355 Generated by GTK-Doc V1.17</div>