<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brandondorf9999</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brandondorf9999"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Brandondorf9999/"/>
	<updated>2026-11-04T23:51:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=26266</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=26266"/>
		<updated>2013-12-12T03:03:48Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* Appendix: Technical summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|400px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time. This is a fundamentally impossible process that must always produce some image degradation, since it ideally requires &amp;quot;temporal interpolation&amp;quot; which involves guessing the movement of every object in the image and applying motion correction to every object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus, the right-click menus or by using [[hotkey] (by default: &#039;&#039;&#039;D&#039;&#039;&#039;). It switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
In the mode &#039;&#039;Automatic&#039;&#039;, VLC will check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced even in animated movies on DVDs. However, the detection is not always reliable. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
The most reliable choice is to switch deinterlacing on/off manually when needed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that if you enable deinterlacing from the menu, the setting will only take effect for the currently playing video. When the video ends, both the on/off/automatic and the mode settings will return to the values set in the preferences. If you want to always enable deinterlacing on every video, type &amp;quot;Deinterlace&amp;quot; in the Video Filter preferences.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Technical detail about Automatic mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The version control history (git log) says the following about the &#039;&#039;Automatic&#039;&#039; mode (see commit [f96b075043c421fb6466829a15ae0c8792b8ffe8]):&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The detection is based on the progressive/interlaced flags transported at the codec level. As such, it is not really reliable (for 25fps at least).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As soon as a picture is detected as interlaced, the configured deinterlace mode is applied. After 30s of progressive video, the filter is removed. The hysteresis helps with unreliable interlaced flags.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU or fastest graphics cards such as NVIDIA Geforce, AMD Radeon or other best graphics cards.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear and Yadif (2x), though it&#039;s a bit smarter about the process. Though, it can also change frame rate on special effects such as the Psychedelic effect if filter is turned on.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;br /&gt;
[[Category:Glossary]]&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=22879</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=22879"/>
		<updated>2012-08-05T16:50:14Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|400px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus, the right-click menus or by using [[hotkey] (by default: &#039;&#039;&#039;D&#039;&#039;&#039;). It switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
In the mode &#039;&#039;Automatic&#039;&#039;, VLC will check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced even in animated movies on DVDs. However, the detection is not always reliable. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
The most reliable choice is to switch deinterlacing on/off manually when needed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that if you enable deinterlacing from the menu, the setting will only take effect for the currently playing video. When the video ends, both the on/off/automatic and the mode settings will return to the values set in the preferences. If you want to always enable deinterlacing on every video, type &amp;quot;Deinterlace&amp;quot; in the Video Filter preferences.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Technical detail about Automatic mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The version control history (git log) says the following about the &#039;&#039;Automatic&#039;&#039; mode (see commit [f96b075043c421fb6466829a15ae0c8792b8ffe8]):&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The detection is based on the progressive/interlaced flags transported at the codec level. As such, it is not really reliable (for 25fps at least).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As soon as a picture is detected as interlaced, the configured deinterlace mode is applied. After 30s of progressive video, the filter is removed. The hysteresis helps with unreliable interlaced flags.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU or fastest graphics cards such as NVIDIA Geforce, AMD Radeon or other best graphics cards.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=22878</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=22878"/>
		<updated>2012-08-05T16:45:59Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|400px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus, the right-click menus or by using [[hotkey] (by default: &#039;&#039;&#039;D&#039;&#039;&#039;). It switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
In the mode &#039;&#039;Automatic&#039;&#039;, VLC will check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced even in animated movies. However, the detection is not always reliable. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
The most reliable choice is to switch deinterlacing on/off manually when needed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that if you enable deinterlacing from the menu, the setting will only take effect for the currently playing video. When the video ends, both the on/off/automatic and the mode settings will return to the values set in the preferences. If you want to always enable deinterlacing on every video, type &amp;quot;Deinterlace&amp;quot; in the Video Filter preferences.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Technical detail about Automatic mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The version control history (git log) says the following about the &#039;&#039;Automatic&#039;&#039; mode (see commit [f96b075043c421fb6466829a15ae0c8792b8ffe8]):&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The detection is based on the progressive/interlaced flags transported at the codec level. As such, it is not really reliable (for 25fps at least).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As soon as a picture is detected as interlaced, the configured deinterlace mode is applied. After 30s of progressive video, the filter is removed. The hysteresis helps with unreliable interlaced flags.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU or fastest graphics cards such as NVIDIA Geforce, AMD Radeon or other best graphics cards.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19879</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19879"/>
		<updated>2011-11-07T05:39:48Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: Those cards will help make that better.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|400px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus, the right-click menus or by using [[hotkey] (by default: &#039;&#039;&#039;D&#039;&#039;&#039;). It switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU or fastest graphics cards such as NVIDIA Geforce, AMD Radeon or other best graphics cards.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Talk:VLC_HowTo/Adjust_image_settings&amp;diff=19878</id>
		<title>Talk:VLC HowTo/Adjust image settings</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Talk:VLC_HowTo/Adjust_image_settings&amp;diff=19878"/>
		<updated>2011-11-06T07:00:59Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Looks like the &amp;quot;Changing brightness permanently&amp;quot; howto is incomplete... [[User:Dionoea|Dionoea]] 09:48, 20 October 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
:They are permanet as i edit photos. I even edit photos rarely to make them a good one.--[[User:Brandondorf9999|Brandondorf9999]] 07:00, 6 November 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Modules/adjust&amp;diff=19877</id>
		<title>Documentation:Modules/adjust</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Modules/adjust&amp;diff=19877"/>
		<updated>2011-11-06T06:49:06Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module|name=adjust|type=Video filter|first_version=0.9.0|description=color adjust video filter}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; this used to be a vout filter in pre 0.9.0 VLC releases.&lt;br /&gt;
&lt;br /&gt;
{{Option&lt;br /&gt;
|name=contrast&lt;br /&gt;
|value=float&lt;br /&gt;
|default=1.0&lt;br /&gt;
|description=Contrast (0.0 - 2.0)&lt;br /&gt;
}}&lt;br /&gt;
{{Option&lt;br /&gt;
|name=brightness&lt;br /&gt;
|value=float&lt;br /&gt;
|default=1.0&lt;br /&gt;
|description=Brightness (0.0 - 2.0)&lt;br /&gt;
}}&lt;br /&gt;
{{Option&lt;br /&gt;
|name=hue&lt;br /&gt;
|value=integer&lt;br /&gt;
|default=0&lt;br /&gt;
|description=Hue (0 - 360)&lt;br /&gt;
}}&lt;br /&gt;
{{Option&lt;br /&gt;
|name=saturation&lt;br /&gt;
|value=float&lt;br /&gt;
|default=1.0&lt;br /&gt;
|description=Saturation (0.0 - 3.0)&lt;br /&gt;
}}&lt;br /&gt;
{{Option&lt;br /&gt;
|name=gamma&lt;br /&gt;
|value=float&lt;br /&gt;
|default=1.0&lt;br /&gt;
|description=Gamma (0.01 - 10.0)&lt;br /&gt;
}}&lt;br /&gt;
{{Option&lt;br /&gt;
|name=brightness-threshold&lt;br /&gt;
|default=disabled&lt;br /&gt;
|description=When this mode is enabled, pixels will be shown as black or white. Also may invert the brightness value. The threshold value will be the brighness defined below&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 % &#039;&#039;&#039;vlc --video-filter &amp;quot;adjust{hue=120,gamma=2.}&amp;quot; somevideo.avi&lt;br /&gt;
&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19876</id>
		<title>VLC Features Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19876"/>
		<updated>2011-11-06T06:47:24Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: adding commas&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a new page that lists the audio/video codecs that VLC can or cannot read. It is still under development, don&#039;t hesitate to add a some FourCC and infos.&lt;br /&gt;
&lt;br /&gt;
It should now be a bit more complete than the official features page on [http://www.videolan.org/vlc/features.html VideoLAN website].&lt;br /&gt;
&lt;br /&gt;
If you have any question about those codecs, just consult our [[Knowledge Base]] or our friends on the [http://wiki.multimedia.cx Multimedia Wiki]. If you don&#039;t find information, search with Wikipedia or Google.&lt;br /&gt;
&lt;br /&gt;
== Video Codecs ==&lt;br /&gt;
&lt;br /&gt;
=== Widely Used Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Most used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Playable !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-1 Part 2&lt;br /&gt;
|| mpeg, mp1v, mpg1, PIM1 || {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 Part 2&lt;br /&gt;
|| mp2v, mpg2, vcr2, hdv1, hdv2, hdv3, mx*n, mx*p|| {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MJPEG (A/B) &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Divx (1, 2, 3) &lt;br /&gt;
|| DIV1, DIV2, DIV3, mp41, mp42, MPG4, MPG3 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DivX 4, 5, 6 , 3ivx D4, MPEG-4 &lt;br /&gt;
|| DIV4, DIV5, DIV6, col1, col0, 3ivd || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-4 Part 2 (AVP), Xvid&lt;br /&gt;
||  DIVX, Xvid, mp4s, m4s2, xvid, mp4v, fmp4, 3iv2, smp4, ... || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.261 &lt;br /&gt;
|| h261 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.262 &lt;br /&gt;
|| h262 || {{Yes}} || {{Yes}} || ffmpeg || Same as MPEG-2 Video&lt;br /&gt;
|-&lt;br /&gt;
! H.263 / H.263i &lt;br /&gt;
|| h263 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.264 / X.264 &lt;br /&gt;
(MPEG-4/AVC) &lt;br /&gt;
(MPEG-4 Part.10)&lt;br /&gt;
|| h264, s264, AVC1, DAVC, H264, X264, VSSH ||{{Yes}} || {{Yes}} || ffmpeg (decode), x264 (encode) || &lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 1 (Quicktime) &lt;br /&gt;
|| SVQ 1 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 3 (Quicktime) &lt;br /&gt;
|| SVQ 3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DV &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Cinepak &lt;br /&gt;
|| cvid ||{{Yes}} || {{No}} || internal, ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Theora &lt;br /&gt;
|| thra || {{Yes}} || {{Yes}}, violated || libtheora ||&lt;br /&gt;
|-&lt;br /&gt;
! WMV 1/2 (7/8) &lt;br /&gt;
|| wmv1, wmv2 || {{Yes}} || {{Yes}} || ffmepg ||&lt;br /&gt;
|- &lt;br /&gt;
! WMV 3 / WMV-9 / VC-1 &lt;br /&gt;
|| wmv3, wvc1, wmva || {{Yes}} || {{No}} || ffmpeg || Not all profiles are supported. See [[DMO]].&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP3,&lt;br /&gt;
|| VP31, VP30, VP3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP5 &lt;br /&gt;
|| VP50, VP5, VP51 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP6 (used by FLV) &lt;br /&gt;
|| VP60, VP61, VP62, VP6F, VP6A || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP7&lt;br /&gt;
|| VP7 || {{No}} || {{No}} ||  ||&lt;br /&gt;
|-&lt;br /&gt;
! Flash Screen Video &lt;br /&gt;
|| FSV1 ||  {{Yes}}  ||  {{Yes}}  || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 3  &lt;br /&gt;
|| IV31, IV32 || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 4/5  &lt;br /&gt;
||IV41, IV51 || {{No}} || {{no}} || ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 1.0, 1.3, 2.0 &lt;br /&gt;
|| RV10, RV13, RV20 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 3.0, 4.0 &lt;br /&gt;
|| RV30, RV40 || {{No}} || {{No}} || ||&lt;br /&gt;
|- &lt;br /&gt;
! Dirac &lt;br /&gt;
|| BBCD || {{Yes}} || {{Yes}} || dirac ||&lt;br /&gt;
|-&lt;br /&gt;
! Huffyuv / Lagarith &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg  ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Rarer Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Less Used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! Apple Animation, Graphics, Video, QuickDraw &lt;br /&gt;
|| &#039;rle&#039;,&#039;smc &#039;,&#039;rpza&#039;, &#039;qdrw&#039; || {{Yes}} || {{No}} ||  ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! SheerVideo &lt;br /&gt;
|| ||  {{No}} || {{No}} || || Professional use, no open source decoders&lt;br /&gt;
|-&lt;br /&gt;
! CorePNG &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! MSU Lossless &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Snow &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! Pixlet &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs (Asus V1, Asus V2) &lt;br /&gt;
|| ASV1, ASV2 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Game Codecs (Some) &lt;br /&gt;
|| || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Tarkin&lt;br /&gt;
|| || {{No}} || {{No}} || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Audio Codecs ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Audio Codecs Status&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-Audio 1 Layer-1/2 &lt;br /&gt;
|| mpga || {{Yes}} || {{Yes}} || libmad (decoding), twolame (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! MP3 &lt;br /&gt;
|| mp3, .mp3, LAME || {{Yes}} || {{Yes}} || libmad (decoding), ffmpeg-mp3lame  || ISO/IEC MPEG - &#039;&#039;&#039;(recompile needed for encoding)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
! AAC&lt;br /&gt;
|| mp4a||  {{Yes}} || {{Yes}} || faad (decode), faac (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! HE-AAC &lt;br /&gt;
|| ||  {{Yes}} || {{Untested}} || faad (decode), libaacplus + ffmpeg (encoding) || ISO/IEC MPEG, AAC+ encoding through libaacplus + ffmpeg (patched) - untested&lt;br /&gt;
&#039;&#039;&#039;RECOMPILE VLC &amp;amp; ffmpeg for this&#039;&#039;&#039; Audio codec&lt;br /&gt;
|-&lt;br /&gt;
! AC-3 &lt;br /&gt;
|| a52, a52b || {{Yes}} || {{Yes}} || liba52 (decode), ffmpeg (encode) ||&lt;br /&gt;
|-&lt;br /&gt;
! ATRAC &lt;br /&gt;
|| atrc ||{{Yes}} || {{No}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! iLBC &lt;br /&gt;
|| ILBC, ilbc || {{Untested}} || {{Untested}} || QuickTime (decode) || (check for encoder and free decoder)&lt;br /&gt;
|-&lt;br /&gt;
! Mu-Law &lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || (check for encoder)&lt;br /&gt;
|-&lt;br /&gt;
! NellyMoser&lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! QCELP (PureVoice)&lt;br /&gt;
|| Qclp ||{{Yes}} || {{No}}? || ffmpeg || Usually in QCP container. [https://trac.videolan.org/vlc/ticket/5347 buggy?]&lt;br /&gt;
|-&lt;br /&gt;
! Real Audio &lt;br /&gt;
|| lpcJ, 28_8, dnet, sipr, cook, atrc, raac, racp, ralf || {{Yes}} || {{No}} || || Some works.  ralf don&#039;t&lt;br /&gt;
|-&lt;br /&gt;
! Shorten &lt;br /&gt;
|| shrn || {{No}} || {{No}} || || ffmpeg and ffplay do it. VLC doesn&#039;t. (It is in the FOURCC list in VLC&#039;s ffmpeg.c [[User:Dionoea|Dionoea]])&lt;br /&gt;
|-&lt;br /&gt;
! Speex &lt;br /&gt;
|| spex || {{Yes}} || {{Yes}} || libspeex ||&lt;br /&gt;
|-&lt;br /&gt;
! Vorbis &lt;br /&gt;
|| vorb || {{Yes}} || {{Yes}} || libvorbis ||&lt;br /&gt;
|-&lt;br /&gt;
! DTS &lt;br /&gt;
|| dts || {{Yes}} || {{No}} || libdca || DTS-HD unsupported&lt;br /&gt;
|- &lt;br /&gt;
! MPC &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! WMA 1/2&lt;br /&gt;
|| wma1, wma2 || {{Yes}} || {{Yes}}, violated || ffmpeg || WMA9 is not supported&lt;br /&gt;
|-&lt;br /&gt;
! Flac &lt;br /&gt;
|| flac || {{Yes}} || {{Yes}} || libflac || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Apple Lossless Audio Codec &lt;br /&gt;
|| alac || {{Yes}} || {{No}} || ffmpeg || lossless &lt;br /&gt;
|-&lt;br /&gt;
! Monkey&#039;s Audio &lt;br /&gt;
||  ||{{Yes}} || {{No}} || || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Musepack &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! ADMPCM (various) &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg and internal ||&lt;br /&gt;
|-&lt;br /&gt;
! AMR &lt;br /&gt;
|| samr || {{Yes}} || {{Yes}} || ffmpeg + libamrnb + libamrwb || &#039;&#039;&#039;RECOMPILE VLC for this&#039;&#039;&#039; Speech codec&lt;br /&gt;
|-&lt;br /&gt;
! Sonic &lt;br /&gt;
|| SONC ||  {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subtitles Codecs ==&lt;br /&gt;
&lt;br /&gt;
See [[SubtitlesCodec]] for the matter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Format/Container/Muxers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Muxer&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! extensions !! Playable !! Savable !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! 3GP&lt;br /&gt;
|| .3gp || {{Yes}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! AIFF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{No}} || &lt;br /&gt;
|-&lt;br /&gt;
! ASF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{Yes}} || &lt;br /&gt;
|-&lt;br /&gt;
! AU&lt;br /&gt;
|| .au || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! AVI&lt;br /&gt;
|| .avi || {{Yes}} || {{Yes}}, violated || &lt;br /&gt;
|-&lt;br /&gt;
! DMF&lt;br /&gt;
|| || {{Untested}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! FLV&lt;br /&gt;
|| .flv || {{Yes}} || {{Yes}} || through ffmpeg&lt;br /&gt;
|-&lt;br /&gt;
! MOV&lt;br /&gt;
|| .mov || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MP4&lt;br /&gt;
|| .mp4 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! OGG&lt;br /&gt;
|| .ogm, .ogg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MKV&lt;br /&gt;
|| .mkv, .mka || {{Yes}} || {{No}}, WIP || Summer of Code 2007 Project&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / TS&lt;br /&gt;
|| .ts, .mpg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / ES, PS, PVA, MP3&lt;br /&gt;
|| .mpg, .mp3, .mp2 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSC&lt;br /&gt;
|| .nsc || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSV&lt;br /&gt;
|| .nsv || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Nut&lt;br /&gt;
|| .nut || {{Yes}} || {{Yes}} || Muxable through libavformat&lt;br /&gt;
|-&lt;br /&gt;
! Real&lt;br /&gt;
|| .ra, .ram, .rm, .rv , .rmbv || {{Partial}} || {{No }} ||  version 4 and 5, no support for version 3&lt;br /&gt;
|-&lt;br /&gt;
! Raw (a52, dts, aac, flac, .dv, .vid)&lt;br /&gt;
|| .a52, .dts, .aac, .flac, .dv, .vid || {{Yes}} || ?? ||&lt;br /&gt;
|-&lt;br /&gt;
! True Audio Codec&lt;br /&gt;
|| .tta, .tac || {{Yes}} ||  {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Ty Tivo&lt;br /&gt;
|| .ty || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Wav &lt;br /&gt;
|| .wav, .dts || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Xa&lt;br /&gt;
|| .xa || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{:HD-Discs}}&lt;br /&gt;
&lt;br /&gt;
[[Category:About VideoLAN]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19875</id>
		<title>VLC Features Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19875"/>
		<updated>2011-11-06T06:46:34Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* Format/Container/Muxers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a new page that lists the audio/video codecs that VLC can or cannot read. It is still under development, don&#039;t hesitate to add a some FourCC and infos.&lt;br /&gt;
&lt;br /&gt;
It should now be a bit more complete than the official features page on [http://www.videolan.org/vlc/features.html VideoLAN website].&lt;br /&gt;
&lt;br /&gt;
If you have any question about those codecs, just consult our [[Knowledge Base]] or our friends on the [http://wiki.multimedia.cx Multimedia Wiki]. If you don&#039;t find information, search with Wikipedia or Google.&lt;br /&gt;
&lt;br /&gt;
== Video Codecs ==&lt;br /&gt;
&lt;br /&gt;
=== Widely Used Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Most used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Playable !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-1 Part 2&lt;br /&gt;
|| mpeg, mp1v, mpg1, PIM1 || {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 Part 2&lt;br /&gt;
|| mp2v, mpg2, vcr2, hdv1, hdv2, hdv3, mx*n, mx*p|| {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MJPEG (A/B) &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Divx (1, 2, 3) &lt;br /&gt;
|| DIV1, DIV2, DIV3, mp41, mp42, MPG4, MPG3 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DivX 4, 5, 6 , 3ivx D4, MPEG-4 &lt;br /&gt;
|| DIV4, DIV5, DIV6, col1, col0, 3ivd || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-4 Part 2 (AVP), Xvid&lt;br /&gt;
||  DIVX, Xvid, mp4s, m4s2, xvid, mp4v, fmp4, 3iv2, smp4, ... || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.261 &lt;br /&gt;
|| h261 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.262 &lt;br /&gt;
|| h262 || {{Yes}} || {{Yes}} || ffmpeg || Same as MPEG-2 Video&lt;br /&gt;
|-&lt;br /&gt;
! H.263 / H.263i &lt;br /&gt;
|| h263 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.264 / X.264 &lt;br /&gt;
(MPEG-4/AVC) &lt;br /&gt;
(MPEG-4 Part.10)&lt;br /&gt;
|| h264, s264, AVC1, DAVC, H264, X264, VSSH ||{{Yes}} || {{Yes}} || ffmpeg (decode), x264 (encode) || &lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 1 (Quicktime) &lt;br /&gt;
|| SVQ 1 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 3 (Quicktime) &lt;br /&gt;
|| SVQ 3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DV &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Cinepak &lt;br /&gt;
|| cvid ||{{Yes}} || {{No}} || internal, ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Theora &lt;br /&gt;
|| thra || {{Yes}} || {{Yes}} violated || libtheora ||&lt;br /&gt;
|-&lt;br /&gt;
! WMV 1/2 (7/8) &lt;br /&gt;
|| wmv1, wmv2 || {{Yes}} || {{Yes}} || ffmepg ||&lt;br /&gt;
|- &lt;br /&gt;
! WMV 3 / WMV-9 / VC-1 &lt;br /&gt;
|| wmv3, wvc1, wmva || {{Yes}} || {{No}} || ffmpeg || Not all profiles are supported. See [[DMO]].&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP3,&lt;br /&gt;
|| VP31, VP30, VP3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP5 &lt;br /&gt;
|| VP50, VP5, VP51 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP6 (used by FLV) &lt;br /&gt;
|| VP60, VP61, VP62, VP6F, VP6A || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP7&lt;br /&gt;
|| VP7 || {{No}} || {{No}} ||  ||&lt;br /&gt;
|-&lt;br /&gt;
! Flash Screen Video &lt;br /&gt;
|| FSV1 ||  {{Yes}}  ||  {{Yes}}  || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 3  &lt;br /&gt;
|| IV31, IV32 || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 4/5  &lt;br /&gt;
||IV41, IV51 || {{No}} || {{no}} || ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 1.0, 1.3, 2.0 &lt;br /&gt;
|| RV10, RV13, RV20 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 3.0, 4.0 &lt;br /&gt;
|| RV30, RV40 || {{No}} || {{No}} || ||&lt;br /&gt;
|- &lt;br /&gt;
! Dirac &lt;br /&gt;
|| BBCD || {{Yes}} || {{Yes}} || dirac ||&lt;br /&gt;
|-&lt;br /&gt;
! Huffyuv / Lagarith &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg  ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Rarer Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Less Used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! Apple Animation, Graphics, Video, QuickDraw &lt;br /&gt;
|| &#039;rle&#039;,&#039;smc &#039;,&#039;rpza&#039;, &#039;qdrw&#039; || {{Yes}} || {{No}} ||  ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! SheerVideo &lt;br /&gt;
|| ||  {{No}} || {{No}} || || Professional use, no open source decoders&lt;br /&gt;
|-&lt;br /&gt;
! CorePNG &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! MSU Lossless &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Snow &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! Pixlet &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs (Asus V1, Asus V2) &lt;br /&gt;
|| ASV1, ASV2 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Game Codecs (Some) &lt;br /&gt;
|| || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Tarkin&lt;br /&gt;
|| || {{No}} || {{No}} || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Audio Codecs ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Audio Codecs Status&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-Audio 1 Layer-1/2 &lt;br /&gt;
|| mpga || {{Yes}} || {{Yes}} || libmad (decoding), twolame (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! MP3 &lt;br /&gt;
|| mp3, .mp3, LAME || {{Yes}} || {{Yes}} || libmad (decoding), ffmpeg-mp3lame  || ISO/IEC MPEG - &#039;&#039;&#039;(recompile needed for encoding)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
! AAC&lt;br /&gt;
|| mp4a||  {{Yes}} || {{Yes}} || faad (decode), faac (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! HE-AAC &lt;br /&gt;
|| ||  {{Yes}} || {{Untested}} || faad (decode), libaacplus + ffmpeg (encoding) || ISO/IEC MPEG, AAC+ encoding through libaacplus + ffmpeg (patched) - untested&lt;br /&gt;
&#039;&#039;&#039;RECOMPILE VLC &amp;amp; ffmpeg for this&#039;&#039;&#039; Audio codec&lt;br /&gt;
|-&lt;br /&gt;
! AC-3 &lt;br /&gt;
|| a52, a52b || {{Yes}} || {{Yes}} || liba52 (decode), ffmpeg (encode) ||&lt;br /&gt;
|-&lt;br /&gt;
! ATRAC &lt;br /&gt;
|| atrc ||{{Yes}} || {{No}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! iLBC &lt;br /&gt;
|| ILBC, ilbc || {{Untested}} || {{Untested}} || QuickTime (decode) || (check for encoder and free decoder)&lt;br /&gt;
|-&lt;br /&gt;
! Mu-Law &lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || (check for encoder)&lt;br /&gt;
|-&lt;br /&gt;
! NellyMoser&lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! QCELP (PureVoice)&lt;br /&gt;
|| Qclp ||{{Yes}} || {{No}}? || ffmpeg || Usually in QCP container. [https://trac.videolan.org/vlc/ticket/5347 buggy?]&lt;br /&gt;
|-&lt;br /&gt;
! Real Audio &lt;br /&gt;
|| lpcJ, 28_8, dnet, sipr, cook, atrc, raac, racp, ralf || {{Yes}} || {{No}} || || Some works.  ralf don&#039;t&lt;br /&gt;
|-&lt;br /&gt;
! Shorten &lt;br /&gt;
|| shrn || {{No}} || {{No}} || || ffmpeg and ffplay do it. VLC doesn&#039;t. (It is in the FOURCC list in VLC&#039;s ffmpeg.c [[User:Dionoea|Dionoea]])&lt;br /&gt;
|-&lt;br /&gt;
! Speex &lt;br /&gt;
|| spex || {{Yes}} || {{Yes}} || libspeex ||&lt;br /&gt;
|-&lt;br /&gt;
! Vorbis &lt;br /&gt;
|| vorb || {{Yes}} || {{Yes}} || libvorbis ||&lt;br /&gt;
|-&lt;br /&gt;
! DTS &lt;br /&gt;
|| dts || {{Yes}} || {{No}} || libdca || DTS-HD unsupported&lt;br /&gt;
|- &lt;br /&gt;
! MPC &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! WMA 1/2&lt;br /&gt;
|| wma1, wma2 || {{Yes}} || {{Yes}} violated || ffmpeg || WMA9 is not supported&lt;br /&gt;
|-&lt;br /&gt;
! Flac &lt;br /&gt;
|| flac || {{Yes}} || {{Yes}} || libflac || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Apple Lossless Audio Codec &lt;br /&gt;
|| alac || {{Yes}} || {{No}} || ffmpeg || lossless &lt;br /&gt;
|-&lt;br /&gt;
! Monkey&#039;s Audio &lt;br /&gt;
||  ||{{Yes}} || {{No}} || || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Musepack &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! ADMPCM (various) &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg and internal ||&lt;br /&gt;
|-&lt;br /&gt;
! AMR &lt;br /&gt;
|| samr || {{Yes}} || {{Yes}} || ffmpeg + libamrnb + libamrwb || &#039;&#039;&#039;RECOMPILE VLC for this&#039;&#039;&#039; Speech codec&lt;br /&gt;
|-&lt;br /&gt;
! Sonic &lt;br /&gt;
|| SONC ||  {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subtitles Codecs ==&lt;br /&gt;
&lt;br /&gt;
See [[SubtitlesCodec]] for the matter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Format/Container/Muxers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Muxer&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! extensions !! Playable !! Savable !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! 3GP&lt;br /&gt;
|| .3gp || {{Yes}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! AIFF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{No}} || &lt;br /&gt;
|-&lt;br /&gt;
! ASF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{Yes}} || &lt;br /&gt;
|-&lt;br /&gt;
! AU&lt;br /&gt;
|| .au || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! AVI&lt;br /&gt;
|| .avi || {{Yes}} || {{Yes}}, violated || &lt;br /&gt;
|-&lt;br /&gt;
! DMF&lt;br /&gt;
|| || {{Untested}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! FLV&lt;br /&gt;
|| .flv || {{Yes}} || {{Yes}} || through ffmpeg&lt;br /&gt;
|-&lt;br /&gt;
! MOV&lt;br /&gt;
|| .mov || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MP4&lt;br /&gt;
|| .mp4 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! OGG&lt;br /&gt;
|| .ogm, .ogg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MKV&lt;br /&gt;
|| .mkv, .mka || {{Yes}} || {{No}}, WIP || Summer of Code 2007 Project&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / TS&lt;br /&gt;
|| .ts, .mpg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / ES, PS, PVA, MP3&lt;br /&gt;
|| .mpg, .mp3, .mp2 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSC&lt;br /&gt;
|| .nsc || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSV&lt;br /&gt;
|| .nsv || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Nut&lt;br /&gt;
|| .nut || {{Yes}} || {{Yes}} || Muxable through libavformat&lt;br /&gt;
|-&lt;br /&gt;
! Real&lt;br /&gt;
|| .ra, .ram, .rm, .rv , .rmbv || {{Partial}} || {{No }} ||  version 4 and 5, no support for version 3&lt;br /&gt;
|-&lt;br /&gt;
! Raw (a52, dts, aac, flac, .dv, .vid)&lt;br /&gt;
|| .a52, .dts, .aac, .flac, .dv, .vid || {{Yes}} || ?? ||&lt;br /&gt;
|-&lt;br /&gt;
! True Audio Codec&lt;br /&gt;
|| .tta, .tac || {{Yes}} ||  {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Ty Tivo&lt;br /&gt;
|| .ty || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Wav &lt;br /&gt;
|| .wav, .dts || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Xa&lt;br /&gt;
|| .xa || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{:HD-Discs}}&lt;br /&gt;
&lt;br /&gt;
[[Category:About VideoLAN]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19874</id>
		<title>VLC Features Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19874"/>
		<updated>2011-11-06T06:46:18Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* Audio Codecs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a new page that lists the audio/video codecs that VLC can or cannot read. It is still under development, don&#039;t hesitate to add a some FourCC and infos.&lt;br /&gt;
&lt;br /&gt;
It should now be a bit more complete than the official features page on [http://www.videolan.org/vlc/features.html VideoLAN website].&lt;br /&gt;
&lt;br /&gt;
If you have any question about those codecs, just consult our [[Knowledge Base]] or our friends on the [http://wiki.multimedia.cx Multimedia Wiki]. If you don&#039;t find information, search with Wikipedia or Google.&lt;br /&gt;
&lt;br /&gt;
== Video Codecs ==&lt;br /&gt;
&lt;br /&gt;
=== Widely Used Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Most used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Playable !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-1 Part 2&lt;br /&gt;
|| mpeg, mp1v, mpg1, PIM1 || {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 Part 2&lt;br /&gt;
|| mp2v, mpg2, vcr2, hdv1, hdv2, hdv3, mx*n, mx*p|| {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MJPEG (A/B) &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Divx (1, 2, 3) &lt;br /&gt;
|| DIV1, DIV2, DIV3, mp41, mp42, MPG4, MPG3 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DivX 4, 5, 6 , 3ivx D4, MPEG-4 &lt;br /&gt;
|| DIV4, DIV5, DIV6, col1, col0, 3ivd || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-4 Part 2 (AVP), Xvid&lt;br /&gt;
||  DIVX, Xvid, mp4s, m4s2, xvid, mp4v, fmp4, 3iv2, smp4, ... || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.261 &lt;br /&gt;
|| h261 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.262 &lt;br /&gt;
|| h262 || {{Yes}} || {{Yes}} || ffmpeg || Same as MPEG-2 Video&lt;br /&gt;
|-&lt;br /&gt;
! H.263 / H.263i &lt;br /&gt;
|| h263 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.264 / X.264 &lt;br /&gt;
(MPEG-4/AVC) &lt;br /&gt;
(MPEG-4 Part.10)&lt;br /&gt;
|| h264, s264, AVC1, DAVC, H264, X264, VSSH ||{{Yes}} || {{Yes}} || ffmpeg (decode), x264 (encode) || &lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 1 (Quicktime) &lt;br /&gt;
|| SVQ 1 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 3 (Quicktime) &lt;br /&gt;
|| SVQ 3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DV &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Cinepak &lt;br /&gt;
|| cvid ||{{Yes}} || {{No}} || internal, ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Theora &lt;br /&gt;
|| thra || {{Yes}} || {{Yes}} violated || libtheora ||&lt;br /&gt;
|-&lt;br /&gt;
! WMV 1/2 (7/8) &lt;br /&gt;
|| wmv1, wmv2 || {{Yes}} || {{Yes}} || ffmepg ||&lt;br /&gt;
|- &lt;br /&gt;
! WMV 3 / WMV-9 / VC-1 &lt;br /&gt;
|| wmv3, wvc1, wmva || {{Yes}} || {{No}} || ffmpeg || Not all profiles are supported. See [[DMO]].&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP3,&lt;br /&gt;
|| VP31, VP30, VP3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP5 &lt;br /&gt;
|| VP50, VP5, VP51 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP6 (used by FLV) &lt;br /&gt;
|| VP60, VP61, VP62, VP6F, VP6A || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP7&lt;br /&gt;
|| VP7 || {{No}} || {{No}} ||  ||&lt;br /&gt;
|-&lt;br /&gt;
! Flash Screen Video &lt;br /&gt;
|| FSV1 ||  {{Yes}}  ||  {{Yes}}  || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 3  &lt;br /&gt;
|| IV31, IV32 || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 4/5  &lt;br /&gt;
||IV41, IV51 || {{No}} || {{no}} || ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 1.0, 1.3, 2.0 &lt;br /&gt;
|| RV10, RV13, RV20 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 3.0, 4.0 &lt;br /&gt;
|| RV30, RV40 || {{No}} || {{No}} || ||&lt;br /&gt;
|- &lt;br /&gt;
! Dirac &lt;br /&gt;
|| BBCD || {{Yes}} || {{Yes}} || dirac ||&lt;br /&gt;
|-&lt;br /&gt;
! Huffyuv / Lagarith &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg  ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Rarer Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Less Used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! Apple Animation, Graphics, Video, QuickDraw &lt;br /&gt;
|| &#039;rle&#039;,&#039;smc &#039;,&#039;rpza&#039;, &#039;qdrw&#039; || {{Yes}} || {{No}} ||  ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! SheerVideo &lt;br /&gt;
|| ||  {{No}} || {{No}} || || Professional use, no open source decoders&lt;br /&gt;
|-&lt;br /&gt;
! CorePNG &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! MSU Lossless &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Snow &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! Pixlet &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs (Asus V1, Asus V2) &lt;br /&gt;
|| ASV1, ASV2 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Game Codecs (Some) &lt;br /&gt;
|| || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Tarkin&lt;br /&gt;
|| || {{No}} || {{No}} || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Audio Codecs ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Audio Codecs Status&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-Audio 1 Layer-1/2 &lt;br /&gt;
|| mpga || {{Yes}} || {{Yes}} || libmad (decoding), twolame (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! MP3 &lt;br /&gt;
|| mp3, .mp3, LAME || {{Yes}} || {{Yes}} || libmad (decoding), ffmpeg-mp3lame  || ISO/IEC MPEG - &#039;&#039;&#039;(recompile needed for encoding)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
! AAC&lt;br /&gt;
|| mp4a||  {{Yes}} || {{Yes}} || faad (decode), faac (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! HE-AAC &lt;br /&gt;
|| ||  {{Yes}} || {{Untested}} || faad (decode), libaacplus + ffmpeg (encoding) || ISO/IEC MPEG, AAC+ encoding through libaacplus + ffmpeg (patched) - untested&lt;br /&gt;
&#039;&#039;&#039;RECOMPILE VLC &amp;amp; ffmpeg for this&#039;&#039;&#039; Audio codec&lt;br /&gt;
|-&lt;br /&gt;
! AC-3 &lt;br /&gt;
|| a52, a52b || {{Yes}} || {{Yes}} || liba52 (decode), ffmpeg (encode) ||&lt;br /&gt;
|-&lt;br /&gt;
! ATRAC &lt;br /&gt;
|| atrc ||{{Yes}} || {{No}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! iLBC &lt;br /&gt;
|| ILBC, ilbc || {{Untested}} || {{Untested}} || QuickTime (decode) || (check for encoder and free decoder)&lt;br /&gt;
|-&lt;br /&gt;
! Mu-Law &lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || (check for encoder)&lt;br /&gt;
|-&lt;br /&gt;
! NellyMoser&lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! QCELP (PureVoice)&lt;br /&gt;
|| Qclp ||{{Yes}} || {{No}}? || ffmpeg || Usually in QCP container. [https://trac.videolan.org/vlc/ticket/5347 buggy?]&lt;br /&gt;
|-&lt;br /&gt;
! Real Audio &lt;br /&gt;
|| lpcJ, 28_8, dnet, sipr, cook, atrc, raac, racp, ralf || {{Yes}} || {{No}} || || Some works.  ralf don&#039;t&lt;br /&gt;
|-&lt;br /&gt;
! Shorten &lt;br /&gt;
|| shrn || {{No}} || {{No}} || || ffmpeg and ffplay do it. VLC doesn&#039;t. (It is in the FOURCC list in VLC&#039;s ffmpeg.c [[User:Dionoea|Dionoea]])&lt;br /&gt;
|-&lt;br /&gt;
! Speex &lt;br /&gt;
|| spex || {{Yes}} || {{Yes}} || libspeex ||&lt;br /&gt;
|-&lt;br /&gt;
! Vorbis &lt;br /&gt;
|| vorb || {{Yes}} || {{Yes}} || libvorbis ||&lt;br /&gt;
|-&lt;br /&gt;
! DTS &lt;br /&gt;
|| dts || {{Yes}} || {{No}} || libdca || DTS-HD unsupported&lt;br /&gt;
|- &lt;br /&gt;
! MPC &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! WMA 1/2&lt;br /&gt;
|| wma1, wma2 || {{Yes}} || {{Yes}} violated || ffmpeg || WMA9 is not supported&lt;br /&gt;
|-&lt;br /&gt;
! Flac &lt;br /&gt;
|| flac || {{Yes}} || {{Yes}} || libflac || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Apple Lossless Audio Codec &lt;br /&gt;
|| alac || {{Yes}} || {{No}} || ffmpeg || lossless &lt;br /&gt;
|-&lt;br /&gt;
! Monkey&#039;s Audio &lt;br /&gt;
||  ||{{Yes}} || {{No}} || || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Musepack &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! ADMPCM (various) &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg and internal ||&lt;br /&gt;
|-&lt;br /&gt;
! AMR &lt;br /&gt;
|| samr || {{Yes}} || {{Yes}} || ffmpeg + libamrnb + libamrwb || &#039;&#039;&#039;RECOMPILE VLC for this&#039;&#039;&#039; Speech codec&lt;br /&gt;
|-&lt;br /&gt;
! Sonic &lt;br /&gt;
|| SONC ||  {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subtitles Codecs ==&lt;br /&gt;
&lt;br /&gt;
See [[SubtitlesCodec]] for the matter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Format/Container/Muxers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Muxer&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! extensions !! Playable !! Savable !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! 3GP&lt;br /&gt;
|| .3gp || {{Yes}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! AIFF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{No}} || &lt;br /&gt;
|-&lt;br /&gt;
! ASF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{Yes}} || &lt;br /&gt;
|-&lt;br /&gt;
! AU&lt;br /&gt;
|| .au || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! AVI&lt;br /&gt;
|| .avi || {{Yes}} || {{Yes}}, broken || &lt;br /&gt;
|-&lt;br /&gt;
! DMF&lt;br /&gt;
|| || {{Untested}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! FLV&lt;br /&gt;
|| .flv || {{Yes}} || {{Yes}} || through ffmpeg&lt;br /&gt;
|-&lt;br /&gt;
! MOV&lt;br /&gt;
|| .mov || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MP4&lt;br /&gt;
|| .mp4 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! OGG&lt;br /&gt;
|| .ogm, .ogg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MKV&lt;br /&gt;
|| .mkv, .mka || {{Yes}} || {{No}}, WIP || Summer of Code 2007 Project&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / TS&lt;br /&gt;
|| .ts, .mpg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / ES, PS, PVA, MP3&lt;br /&gt;
|| .mpg, .mp3, .mp2 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSC&lt;br /&gt;
|| .nsc || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSV&lt;br /&gt;
|| .nsv || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Nut&lt;br /&gt;
|| .nut || {{Yes}} || {{Yes}} || Muxable through libavformat&lt;br /&gt;
|-&lt;br /&gt;
! Real&lt;br /&gt;
|| .ra, .ram, .rm, .rv , .rmbv || {{Partial}} || {{No }} ||  version 4 and 5, no support for version 3&lt;br /&gt;
|-&lt;br /&gt;
! Raw (a52, dts, aac, flac, .dv, .vid)&lt;br /&gt;
|| .a52, .dts, .aac, .flac, .dv, .vid || {{Yes}} || ?? ||&lt;br /&gt;
|-&lt;br /&gt;
! True Audio Codec&lt;br /&gt;
|| .tta, .tac || {{Yes}} ||  {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Ty Tivo&lt;br /&gt;
|| .ty || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Wav &lt;br /&gt;
|| .wav, .dts || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Xa&lt;br /&gt;
|| .xa || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{:HD-Discs}}&lt;br /&gt;
&lt;br /&gt;
[[Category:About VideoLAN]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19873</id>
		<title>VLC Features Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19873"/>
		<updated>2011-11-06T06:45:16Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: What am i thinking. That needs to just actually be &amp;quot;yes violated&amp;quot; on the theora section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a new page that lists the audio/video codecs that VLC can or cannot read. It is still under development, don&#039;t hesitate to add a some FourCC and infos.&lt;br /&gt;
&lt;br /&gt;
It should now be a bit more complete than the official features page on [http://www.videolan.org/vlc/features.html VideoLAN website].&lt;br /&gt;
&lt;br /&gt;
If you have any question about those codecs, just consult our [[Knowledge Base]] or our friends on the [http://wiki.multimedia.cx Multimedia Wiki]. If you don&#039;t find information, search with Wikipedia or Google.&lt;br /&gt;
&lt;br /&gt;
== Video Codecs ==&lt;br /&gt;
&lt;br /&gt;
=== Widely Used Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Most used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Playable !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-1 Part 2&lt;br /&gt;
|| mpeg, mp1v, mpg1, PIM1 || {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 Part 2&lt;br /&gt;
|| mp2v, mpg2, vcr2, hdv1, hdv2, hdv3, mx*n, mx*p|| {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MJPEG (A/B) &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Divx (1, 2, 3) &lt;br /&gt;
|| DIV1, DIV2, DIV3, mp41, mp42, MPG4, MPG3 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DivX 4, 5, 6 , 3ivx D4, MPEG-4 &lt;br /&gt;
|| DIV4, DIV5, DIV6, col1, col0, 3ivd || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-4 Part 2 (AVP), Xvid&lt;br /&gt;
||  DIVX, Xvid, mp4s, m4s2, xvid, mp4v, fmp4, 3iv2, smp4, ... || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.261 &lt;br /&gt;
|| h261 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.262 &lt;br /&gt;
|| h262 || {{Yes}} || {{Yes}} || ffmpeg || Same as MPEG-2 Video&lt;br /&gt;
|-&lt;br /&gt;
! H.263 / H.263i &lt;br /&gt;
|| h263 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.264 / X.264 &lt;br /&gt;
(MPEG-4/AVC) &lt;br /&gt;
(MPEG-4 Part.10)&lt;br /&gt;
|| h264, s264, AVC1, DAVC, H264, X264, VSSH ||{{Yes}} || {{Yes}} || ffmpeg (decode), x264 (encode) || &lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 1 (Quicktime) &lt;br /&gt;
|| SVQ 1 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 3 (Quicktime) &lt;br /&gt;
|| SVQ 3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DV &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Cinepak &lt;br /&gt;
|| cvid ||{{Yes}} || {{No}} || internal, ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Theora &lt;br /&gt;
|| thra || {{Yes}} || {{Yes}} violated || libtheora ||&lt;br /&gt;
|-&lt;br /&gt;
! WMV 1/2 (7/8) &lt;br /&gt;
|| wmv1, wmv2 || {{Yes}} || {{Yes}} || ffmepg ||&lt;br /&gt;
|- &lt;br /&gt;
! WMV 3 / WMV-9 / VC-1 &lt;br /&gt;
|| wmv3, wvc1, wmva || {{Yes}} || {{No}} || ffmpeg || Not all profiles are supported. See [[DMO]].&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP3,&lt;br /&gt;
|| VP31, VP30, VP3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP5 &lt;br /&gt;
|| VP50, VP5, VP51 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP6 (used by FLV) &lt;br /&gt;
|| VP60, VP61, VP62, VP6F, VP6A || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP7&lt;br /&gt;
|| VP7 || {{No}} || {{No}} ||  ||&lt;br /&gt;
|-&lt;br /&gt;
! Flash Screen Video &lt;br /&gt;
|| FSV1 ||  {{Yes}}  ||  {{Yes}}  || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 3  &lt;br /&gt;
|| IV31, IV32 || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 4/5  &lt;br /&gt;
||IV41, IV51 || {{No}} || {{no}} || ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 1.0, 1.3, 2.0 &lt;br /&gt;
|| RV10, RV13, RV20 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 3.0, 4.0 &lt;br /&gt;
|| RV30, RV40 || {{No}} || {{No}} || ||&lt;br /&gt;
|- &lt;br /&gt;
! Dirac &lt;br /&gt;
|| BBCD || {{Yes}} || {{Yes}} || dirac ||&lt;br /&gt;
|-&lt;br /&gt;
! Huffyuv / Lagarith &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg  ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Rarer Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Less Used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! Apple Animation, Graphics, Video, QuickDraw &lt;br /&gt;
|| &#039;rle&#039;,&#039;smc &#039;,&#039;rpza&#039;, &#039;qdrw&#039; || {{Yes}} || {{No}} ||  ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! SheerVideo &lt;br /&gt;
|| ||  {{No}} || {{No}} || || Professional use, no open source decoders&lt;br /&gt;
|-&lt;br /&gt;
! CorePNG &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! MSU Lossless &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Snow &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! Pixlet &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs (Asus V1, Asus V2) &lt;br /&gt;
|| ASV1, ASV2 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Game Codecs (Some) &lt;br /&gt;
|| || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Tarkin&lt;br /&gt;
|| || {{No}} || {{No}} || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Audio Codecs ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Audio Codecs Status&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-Audio 1 Layer-1/2 &lt;br /&gt;
|| mpga || {{Yes}} || {{Yes}} || libmad (decoding), twolame (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! MP3 &lt;br /&gt;
|| mp3, .mp3, LAME || {{Yes}} || {{Yes}} || libmad (decoding), ffmpeg-mp3lame  || ISO/IEC MPEG - &#039;&#039;&#039;(recompile needed for encoding)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
! AAC&lt;br /&gt;
|| mp4a||  {{Yes}} || {{Yes}} || faad (decode), faac (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! HE-AAC &lt;br /&gt;
|| ||  {{Yes}} || {{Untested}} || faad (decode), libaacplus + ffmpeg (encoding) || ISO/IEC MPEG, AAC+ encoding through libaacplus + ffmpeg (patched) - untested&lt;br /&gt;
&#039;&#039;&#039;RECOMPILE VLC &amp;amp; ffmpeg for this&#039;&#039;&#039; Audio codec&lt;br /&gt;
|-&lt;br /&gt;
! AC-3 &lt;br /&gt;
|| a52, a52b || {{Yes}} || {{Yes}} || liba52 (decode), ffmpeg (encode) ||&lt;br /&gt;
|-&lt;br /&gt;
! ATRAC &lt;br /&gt;
|| atrc ||{{Yes}} || {{No}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! iLBC &lt;br /&gt;
|| ILBC, ilbc || {{Untested}} || {{Untested}} || QuickTime (decode) || (check for encoder and free decoder)&lt;br /&gt;
|-&lt;br /&gt;
! Mu-Law &lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || (check for encoder)&lt;br /&gt;
|-&lt;br /&gt;
! NellyMoser&lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! QCELP (PureVoice)&lt;br /&gt;
|| Qclp ||{{Yes}} || {{No}}? || ffmpeg || Usually in QCP container. [https://trac.videolan.org/vlc/ticket/5347 buggy?]&lt;br /&gt;
|-&lt;br /&gt;
! Real Audio &lt;br /&gt;
|| lpcJ, 28_8, dnet, sipr, cook, atrc, raac, racp, ralf || {{Yes}} || {{No}} || || Some works.  ralf don&#039;t&lt;br /&gt;
|-&lt;br /&gt;
! Shorten &lt;br /&gt;
|| shrn || {{No}} || {{No}} || || ffmpeg and ffplay do it. VLC doesn&#039;t. (It is in the FOURCC list in VLC&#039;s ffmpeg.c [[User:Dionoea|Dionoea]])&lt;br /&gt;
|-&lt;br /&gt;
! Speex &lt;br /&gt;
|| spex || {{Yes}} || {{Yes}} || libspeex ||&lt;br /&gt;
|-&lt;br /&gt;
! Vorbis &lt;br /&gt;
|| vorb || {{Yes}} || {{Yes}} || libvorbis ||&lt;br /&gt;
|-&lt;br /&gt;
! DTS &lt;br /&gt;
|| dts || {{Yes}} || {{No}} || libdca || DTS-HD unsupported&lt;br /&gt;
|- &lt;br /&gt;
! MPC &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! WMA 1/2&lt;br /&gt;
|| wma1, wma2 || {{Yes}} || {{Yes}} broken || ffmpeg || WMA9 is not supported&lt;br /&gt;
|-&lt;br /&gt;
! Flac &lt;br /&gt;
|| flac || {{Yes}} || {{Yes}} || libflac || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Apple Lossless Audio Codec &lt;br /&gt;
|| alac || {{Yes}} || {{No}} || ffmpeg || lossless &lt;br /&gt;
|-&lt;br /&gt;
! Monkey&#039;s Audio &lt;br /&gt;
||  ||{{Yes}} || {{No}} || || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Musepack &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! ADMPCM (various) &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg and internal ||&lt;br /&gt;
|-&lt;br /&gt;
! AMR &lt;br /&gt;
|| samr || {{Yes}} || {{Yes}} || ffmpeg + libamrnb + libamrwb || &#039;&#039;&#039;RECOMPILE VLC for this&#039;&#039;&#039; Speech codec&lt;br /&gt;
|-&lt;br /&gt;
! Sonic &lt;br /&gt;
|| SONC ||  {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subtitles Codecs ==&lt;br /&gt;
&lt;br /&gt;
See [[SubtitlesCodec]] for the matter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Format/Container/Muxers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Muxer&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! extensions !! Playable !! Savable !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! 3GP&lt;br /&gt;
|| .3gp || {{Yes}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! AIFF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{No}} || &lt;br /&gt;
|-&lt;br /&gt;
! ASF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{Yes}} || &lt;br /&gt;
|-&lt;br /&gt;
! AU&lt;br /&gt;
|| .au || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! AVI&lt;br /&gt;
|| .avi || {{Yes}} || {{Yes}}, broken || &lt;br /&gt;
|-&lt;br /&gt;
! DMF&lt;br /&gt;
|| || {{Untested}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! FLV&lt;br /&gt;
|| .flv || {{Yes}} || {{Yes}} || through ffmpeg&lt;br /&gt;
|-&lt;br /&gt;
! MOV&lt;br /&gt;
|| .mov || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MP4&lt;br /&gt;
|| .mp4 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! OGG&lt;br /&gt;
|| .ogm, .ogg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MKV&lt;br /&gt;
|| .mkv, .mka || {{Yes}} || {{No}}, WIP || Summer of Code 2007 Project&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / TS&lt;br /&gt;
|| .ts, .mpg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / ES, PS, PVA, MP3&lt;br /&gt;
|| .mpg, .mp3, .mp2 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSC&lt;br /&gt;
|| .nsc || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSV&lt;br /&gt;
|| .nsv || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Nut&lt;br /&gt;
|| .nut || {{Yes}} || {{Yes}} || Muxable through libavformat&lt;br /&gt;
|-&lt;br /&gt;
! Real&lt;br /&gt;
|| .ra, .ram, .rm, .rv , .rmbv || {{Partial}} || {{No }} ||  version 4 and 5, no support for version 3&lt;br /&gt;
|-&lt;br /&gt;
! Raw (a52, dts, aac, flac, .dv, .vid)&lt;br /&gt;
|| .a52, .dts, .aac, .flac, .dv, .vid || {{Yes}} || ?? ||&lt;br /&gt;
|-&lt;br /&gt;
! True Audio Codec&lt;br /&gt;
|| .tta, .tac || {{Yes}} ||  {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Ty Tivo&lt;br /&gt;
|| .ty || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Wav &lt;br /&gt;
|| .wav, .dts || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Xa&lt;br /&gt;
|| .xa || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{:HD-Discs}}&lt;br /&gt;
&lt;br /&gt;
[[Category:About VideoLAN]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19872</id>
		<title>VLC Features Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=VLC_Features_Formats&amp;diff=19872"/>
		<updated>2011-11-06T06:43:43Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* Widely Used Video Codecs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a new page that lists the audio/video codecs that VLC can or cannot read. It is still under development, don&#039;t hesitate to add a some FourCC and infos.&lt;br /&gt;
&lt;br /&gt;
It should now be a bit more complete than the official features page on [http://www.videolan.org/vlc/features.html VideoLAN website].&lt;br /&gt;
&lt;br /&gt;
If you have any question about those codecs, just consult our [[Knowledge Base]] or our friends on the [http://wiki.multimedia.cx Multimedia Wiki]. If you don&#039;t find information, search with Wikipedia or Google.&lt;br /&gt;
&lt;br /&gt;
== Video Codecs ==&lt;br /&gt;
&lt;br /&gt;
=== Widely Used Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Most used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Playable !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-1 Part 2&lt;br /&gt;
|| mpeg, mp1v, mpg1, PIM1 || {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 Part 2&lt;br /&gt;
|| mp2v, mpg2, vcr2, hdv1, hdv2, hdv3, mx*n, mx*p|| {{Yes}} || {{Yes}} || libmpeg2 , ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! MJPEG (A/B) &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Divx (1, 2, 3) &lt;br /&gt;
|| DIV1, DIV2, DIV3, mp41, mp42, MPG4, MPG3 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DivX 4, 5, 6 , 3ivx D4, MPEG-4 &lt;br /&gt;
|| DIV4, DIV5, DIV6, col1, col0, 3ivd || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-4 Part 2 (AVP), Xvid&lt;br /&gt;
||  DIVX, Xvid, mp4s, m4s2, xvid, mp4v, fmp4, 3iv2, smp4, ... || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.261 &lt;br /&gt;
|| h261 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.262 &lt;br /&gt;
|| h262 || {{Yes}} || {{Yes}} || ffmpeg || Same as MPEG-2 Video&lt;br /&gt;
|-&lt;br /&gt;
! H.263 / H.263i &lt;br /&gt;
|| h263 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! H.264 / X.264 &lt;br /&gt;
(MPEG-4/AVC) &lt;br /&gt;
(MPEG-4 Part.10)&lt;br /&gt;
|| h264, s264, AVC1, DAVC, H264, X264, VSSH ||{{Yes}} || {{Yes}} || ffmpeg (decode), x264 (encode) || &lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 1 (Quicktime) &lt;br /&gt;
|| SVQ 1 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Sorenson 3 (Quicktime) &lt;br /&gt;
|| SVQ 3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! DV &lt;br /&gt;
|| ||{{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Cinepak &lt;br /&gt;
|| cvid ||{{Yes}} || {{No}} || internal, ffmpeg ||&lt;br /&gt;
|- &lt;br /&gt;
! Theora &lt;br /&gt;
|| thra || {{Yes}} || {{Yes}} (also violated) || libtheora ||&lt;br /&gt;
|-&lt;br /&gt;
! WMV 1/2 (7/8) &lt;br /&gt;
|| wmv1, wmv2 || {{Yes}} || {{Yes}} || ffmepg ||&lt;br /&gt;
|- &lt;br /&gt;
! WMV 3 / WMV-9 / VC-1 &lt;br /&gt;
|| wmv3, wvc1, wmva || {{Yes}} || {{No}} || ffmpeg || Not all profiles are supported. See [[DMO]].&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP3,&lt;br /&gt;
|| VP31, VP30, VP3 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP5 &lt;br /&gt;
|| VP50, VP5, VP51 || {{Yes}} || {{No}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP6 (used by FLV) &lt;br /&gt;
|| VP60, VP61, VP62, VP6F, VP6A || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! On2 VP7&lt;br /&gt;
|| VP7 || {{No}} || {{No}} ||  ||&lt;br /&gt;
|-&lt;br /&gt;
! Flash Screen Video &lt;br /&gt;
|| FSV1 ||  {{Yes}}  ||  {{Yes}}  || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 3  &lt;br /&gt;
|| IV31, IV32 || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Indeo Video 4/5  &lt;br /&gt;
||IV41, IV51 || {{No}} || {{no}} || ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 1.0, 1.3, 2.0 &lt;br /&gt;
|| RV10, RV13, RV20 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
!Real Video 3.0, 4.0 &lt;br /&gt;
|| RV30, RV40 || {{No}} || {{No}} || ||&lt;br /&gt;
|- &lt;br /&gt;
! Dirac &lt;br /&gt;
|| BBCD || {{Yes}} || {{Yes}} || dirac ||&lt;br /&gt;
|-&lt;br /&gt;
! Huffyuv / Lagarith &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg  ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Rarer Video Codecs ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Less Used Video Codecs&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! Apple Animation, Graphics, Video, QuickDraw &lt;br /&gt;
|| &#039;rle&#039;,&#039;smc &#039;,&#039;rpza&#039;, &#039;qdrw&#039; || {{Yes}} || {{No}} ||  ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! SheerVideo &lt;br /&gt;
|| ||  {{No}} || {{No}} || || Professional use, no open source decoders&lt;br /&gt;
|-&lt;br /&gt;
! CorePNG &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! MSU Lossless &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Snow &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! Pixlet &lt;br /&gt;
|| || ?? || ?? || ||&lt;br /&gt;
|-&lt;br /&gt;
! Rare codecs (Asus V1, Asus V2) &lt;br /&gt;
|| ASV1, ASV2 || {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Game Codecs (Some) &lt;br /&gt;
|| || {{Yes}} || {{no}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
! Tarkin&lt;br /&gt;
|| || {{No}} || {{No}} || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Audio Codecs ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Audio Codecs Status&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! FOURCC !! Decoder !! Encoder !! library !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! MPEG-Audio 1 Layer-1/2 &lt;br /&gt;
|| mpga || {{Yes}} || {{Yes}} || libmad (decoding), twolame (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! MP3 &lt;br /&gt;
|| mp3, .mp3, LAME || {{Yes}} || {{Yes}} || libmad (decoding), ffmpeg-mp3lame  || ISO/IEC MPEG - &#039;&#039;&#039;(recompile needed for encoding)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
! AAC&lt;br /&gt;
|| mp4a||  {{Yes}} || {{Yes}} || faad (decode), faac (encoding) || ISO/IEC MPEG&lt;br /&gt;
|-&lt;br /&gt;
! HE-AAC &lt;br /&gt;
|| ||  {{Yes}} || {{Untested}} || faad (decode), libaacplus + ffmpeg (encoding) || ISO/IEC MPEG, AAC+ encoding through libaacplus + ffmpeg (patched) - untested&lt;br /&gt;
&#039;&#039;&#039;RECOMPILE VLC &amp;amp; ffmpeg for this&#039;&#039;&#039; Audio codec&lt;br /&gt;
|-&lt;br /&gt;
! AC-3 &lt;br /&gt;
|| a52, a52b || {{Yes}} || {{Yes}} || liba52 (decode), ffmpeg (encode) ||&lt;br /&gt;
|-&lt;br /&gt;
! ATRAC &lt;br /&gt;
|| atrc ||{{Yes}} || {{No}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! iLBC &lt;br /&gt;
|| ILBC, ilbc || {{Untested}} || {{Untested}} || QuickTime (decode) || (check for encoder and free decoder)&lt;br /&gt;
|-&lt;br /&gt;
! Mu-Law &lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || (check for encoder)&lt;br /&gt;
|-&lt;br /&gt;
! NellyMoser&lt;br /&gt;
|| ||{{Yes}} || {{No}} || ffmpeg || &lt;br /&gt;
|-&lt;br /&gt;
! QCELP (PureVoice)&lt;br /&gt;
|| Qclp ||{{Yes}} || {{No}}? || ffmpeg || Usually in QCP container. [https://trac.videolan.org/vlc/ticket/5347 buggy?]&lt;br /&gt;
|-&lt;br /&gt;
! Real Audio &lt;br /&gt;
|| lpcJ, 28_8, dnet, sipr, cook, atrc, raac, racp, ralf || {{Yes}} || {{No}} || || Some works.  ralf don&#039;t&lt;br /&gt;
|-&lt;br /&gt;
! Shorten &lt;br /&gt;
|| shrn || {{No}} || {{No}} || || ffmpeg and ffplay do it. VLC doesn&#039;t. (It is in the FOURCC list in VLC&#039;s ffmpeg.c [[User:Dionoea|Dionoea]])&lt;br /&gt;
|-&lt;br /&gt;
! Speex &lt;br /&gt;
|| spex || {{Yes}} || {{Yes}} || libspeex ||&lt;br /&gt;
|-&lt;br /&gt;
! Vorbis &lt;br /&gt;
|| vorb || {{Yes}} || {{Yes}} || libvorbis ||&lt;br /&gt;
|-&lt;br /&gt;
! DTS &lt;br /&gt;
|| dts || {{Yes}} || {{No}} || libdca || DTS-HD unsupported&lt;br /&gt;
|- &lt;br /&gt;
! MPC &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! WMA 1/2&lt;br /&gt;
|| wma1, wma2 || {{Yes}} || {{Yes}} broken || ffmpeg || WMA9 is not supported&lt;br /&gt;
|-&lt;br /&gt;
! Flac &lt;br /&gt;
|| flac || {{Yes}} || {{Yes}} || libflac || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Apple Lossless Audio Codec &lt;br /&gt;
|| alac || {{Yes}} || {{No}} || ffmpeg || lossless &lt;br /&gt;
|-&lt;br /&gt;
! Monkey&#039;s Audio &lt;br /&gt;
||  ||{{Yes}} || {{No}} || || lossless&lt;br /&gt;
|-&lt;br /&gt;
! Musepack &lt;br /&gt;
|| || {{Yes}} || {{No}} || libmpcdec ||&lt;br /&gt;
|-&lt;br /&gt;
! ADMPCM (various) &lt;br /&gt;
|| || {{Yes}} || {{Yes}} || ffmpeg and internal ||&lt;br /&gt;
|-&lt;br /&gt;
! AMR &lt;br /&gt;
|| samr || {{Yes}} || {{Yes}} || ffmpeg + libamrnb + libamrwb || &#039;&#039;&#039;RECOMPILE VLC for this&#039;&#039;&#039; Speech codec&lt;br /&gt;
|-&lt;br /&gt;
! Sonic &lt;br /&gt;
|| SONC ||  {{Yes}} || {{Yes}} || ffmpeg ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subtitles Codecs ==&lt;br /&gt;
&lt;br /&gt;
See [[SubtitlesCodec]] for the matter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Format/Container/Muxers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size: small; text-align: center; width: 100%; margin: 1em auto 1em auto; border : 1px&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Muxer&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
! Name !! extensions !! Playable !! Savable !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! 3GP&lt;br /&gt;
|| .3gp || {{Yes}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! AIFF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{No}} || &lt;br /&gt;
|-&lt;br /&gt;
! ASF&lt;br /&gt;
|| .asf, .wmv || {{Yes}} || {{Yes}} || &lt;br /&gt;
|-&lt;br /&gt;
! AU&lt;br /&gt;
|| .au || {{Yes}} || ||&lt;br /&gt;
|-&lt;br /&gt;
! AVI&lt;br /&gt;
|| .avi || {{Yes}} || {{Yes}}, broken || &lt;br /&gt;
|-&lt;br /&gt;
! DMF&lt;br /&gt;
|| || {{Untested}} || {{Untested}} ||&lt;br /&gt;
|-&lt;br /&gt;
! FLV&lt;br /&gt;
|| .flv || {{Yes}} || {{Yes}} || through ffmpeg&lt;br /&gt;
|-&lt;br /&gt;
! MOV&lt;br /&gt;
|| .mov || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MP4&lt;br /&gt;
|| .mp4 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! OGG&lt;br /&gt;
|| .ogm, .ogg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MKV&lt;br /&gt;
|| .mkv, .mka || {{Yes}} || {{No}}, WIP || Summer of Code 2007 Project&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / TS&lt;br /&gt;
|| .ts, .mpg || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! MPEG-2 / ES, PS, PVA, MP3&lt;br /&gt;
|| .mpg, .mp3, .mp2 || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSC&lt;br /&gt;
|| .nsc || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! NSV&lt;br /&gt;
|| .nsv || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Nut&lt;br /&gt;
|| .nut || {{Yes}} || {{Yes}} || Muxable through libavformat&lt;br /&gt;
|-&lt;br /&gt;
! Real&lt;br /&gt;
|| .ra, .ram, .rm, .rv , .rmbv || {{Partial}} || {{No }} ||  version 4 and 5, no support for version 3&lt;br /&gt;
|-&lt;br /&gt;
! Raw (a52, dts, aac, flac, .dv, .vid)&lt;br /&gt;
|| .a52, .dts, .aac, .flac, .dv, .vid || {{Yes}} || ?? ||&lt;br /&gt;
|-&lt;br /&gt;
! True Audio Codec&lt;br /&gt;
|| .tta, .tac || {{Yes}} ||  {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Ty Tivo&lt;br /&gt;
|| .ty || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Wav &lt;br /&gt;
|| .wav, .dts || {{Yes}} || {{Yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
! Xa&lt;br /&gt;
|| .xa || {{Yes}} || {{No}} ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{:HD-Discs}}&lt;br /&gt;
&lt;br /&gt;
[[Category:About VideoLAN]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=User_talk:Brandondorf9999&amp;diff=19404</id>
		<title>User talk:Brandondorf9999</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=User_talk:Brandondorf9999&amp;diff=19404"/>
		<updated>2011-06-30T23:27:55Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Many thanks for the work and the pictures, this is quite cool! -- [[User:J-b|jb]] 12:19, 28 June 2011 (UTC)&lt;br /&gt;
:Why thanks but those are examples i think.--[[User:Brandondorf9999|Brandondorf9999]] 23:54, 28 June 2011 (UTC)&lt;br /&gt;
::Yes, this is great to have examples! [[User:J-b|jb]] 09:11, 29 June 2011 (UTC)&lt;br /&gt;
:::Yes so lets add some to the page!--[[User:Brandondorf9999|Brandondorf9999]] 23:27, 30 June 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=User_talk:Brandondorf9999&amp;diff=19400</id>
		<title>User talk:Brandondorf9999</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=User_talk:Brandondorf9999&amp;diff=19400"/>
		<updated>2011-06-28T23:54:03Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Many thanks for the work and the pictures, this is quite cool! [[User:J-b|jb]] 12:19, 28 June 2011 (UTC)&lt;br /&gt;
:Why thanks but those are examples i think.--[[User:Brandondorf9999|Brandondorf9999]] 23:54, 28 June 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Advanced_Use_of_VLC&amp;diff=19393</id>
		<title>Documentation:Advanced Use of VLC</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Advanced_Use_of_VLC&amp;diff=19393"/>
		<updated>2011-06-28T02:48:51Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: Updating list of the modes on the commands.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightMenu|documentation play howto toc}} &lt;br /&gt;
&lt;br /&gt;
== Use the command line ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TODO: completely outdated&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
All standard operations of VLC should be available from the GUI. However, some complex operations can only be done from the command line and there are situations in which you don&#039;t need or want a GUI. Here is the complete description of VLC&#039;s command line and how to use it. &lt;br /&gt;
&lt;br /&gt;
You need to be quite comfortable with command line usage to use this. &lt;br /&gt;
&lt;br /&gt;
 Note: Windows users have to use the &#039;&#039;--option-name=&amp;quot;value&amp;quot;&#039;&#039; syntax instead of the &#039;&#039;--option-name value&#039;&#039; syntax.&lt;br /&gt;
&lt;br /&gt;
=== Getting help ===&lt;br /&gt;
&lt;br /&gt;
VLC uses a modular structure. The core mainly manages communication between modules. All the multimedia processing is done by modules. There are input modules, demultiplexers, decoders, video output modules, ... &lt;br /&gt;
&lt;br /&gt;
This chapter will only describe the &amp;quot;general&amp;quot; options, i.e. the core options. Each module adds new options. For example, the HTTP input module will add options for caching, proxy, authentication, ... &lt;br /&gt;
&lt;br /&gt;
By using &#039;&#039;&#039;vlc --help&#039;&#039;&#039;, you will get the basic core options. &#039;&#039;&#039;vlc --longhelp&#039;&#039;&#039; will give all the basic options (core + modules). Adding &#039;&#039;&#039;--advanced&#039;&#039;&#039; will give the &amp;quot;advanced options&amp;quot; (for advanced users). So &#039;&#039;&#039;vlc --longhelp --advanced&#039;&#039;&#039; will give you all options. You can also append &#039;&#039;&#039;--help-verbose&#039;&#039;&#039; if you want more detailed help. &lt;br /&gt;
&lt;br /&gt;
Also, you might want to get debug informations. To do this, use &#039;&#039;&#039;-v&#039;&#039;&#039; or &#039;&#039;&#039;-vv&#039;&#039;&#039; (this will show lower severity messages). If your console supports it, you can add &#039;&#039;&#039;--color to get messages in color.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
=== Opening streams ===&lt;br /&gt;
&lt;br /&gt;
The following commands start VLC and start reading the given element(s):&lt;br /&gt;
&lt;br /&gt;
==== Opening a file ====&lt;br /&gt;
&lt;br /&gt;
Start VLC with: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc my_file&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VLC should be able to recognize the file type. If it does not, you can force demultiplexer and decoder (see below). &lt;br /&gt;
&lt;br /&gt;
A list of all video and audio codecs supported by VLC is available on the [http://www.videolan.org/vlc/features.html VLC features list]. &lt;br /&gt;
&lt;br /&gt;
==== Opening a DVD or VCD, or an audio CD ====&lt;br /&gt;
&lt;br /&gt;
Start VLC with: &lt;br /&gt;
&lt;br /&gt;
For a DVD with menus: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc dvd://[device][@raw_device][@[title][:[chapter][:angle]]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In most cases, &#039;&#039;&#039;vlc dvd://&#039;&#039;&#039; or &#039;&#039;&#039;vlc dvd://[device]&#039;&#039;&#039; will do. [device] is for example &#039;&#039;&#039;/dev/dvd&#039;&#039;&#039; on GNU/Linux or &#039;&#039;&#039;D:&#039;&#039;&#039; on Windows (complete path to your DVD drive). &lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
(DVD without menus): &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc dvdsimple://[device][@raw_device][@[title][:[chapter][:angle]]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
(VCD): &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc vcd://[device][@{E|P|E|T|S}[number]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
(Audio CD): &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc cdda://[device][@[track]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Receiving a network stream ====&lt;br /&gt;
&lt;br /&gt;
To receive an unicast RTP/UDP stream (sent by VLC&#039;s stream output), start VLC with: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc  rtp://@:5004&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If 5004 is the port to which packets are sent. 1234 is another commonly used port number. you use the default port (1234), &#039;&#039;&#039;vlc rtp://&#039;&#039;&#039; will do. For more information, look at the Streaming Howto. &lt;br /&gt;
&lt;br /&gt;
To receive an multicast UDP/RTP stream (sent by VLC&#039;s stream output), start VLC with: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc rtp://@multicast_address:port&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To receive a SSM (source specific multicast) stream, you can use: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc rtp://server_address@multicast_address:port&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This only works on OSs that support SSM (Windows XP and Linux). &lt;br /&gt;
&lt;br /&gt;
To receive a HTTP stream, start VLC with: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc http://www.example.org/your_file.mpg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To receive a RTSP stream, start VLC with:&amp;amp;lt;/para&amp;amp;gt; &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc rtsp://www.example.org/your_stream&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Modules selection ===&lt;br /&gt;
&lt;br /&gt;
VLC always tries to select the most appropriate interface, input and output modules, among the ones available on the system, according to the stream it is given to read. However, you may wish to force the use of a specific module with the following options. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--intf &amp;amp;lt;module&amp;amp;gt;&#039;&#039;&#039; allows you to select the interface module. &lt;br /&gt;
*&#039;&#039;&#039;--extraintf &amp;amp;lt;module&amp;amp;gt;&#039;&#039;&#039; allows you to select extra interface modules that will be launched in addition to the main one. This is mainly useful for special &#039;&#039;control&#039;&#039; interfaces, like HTTP, RC (Remote Control), ... (see below) &lt;br /&gt;
*&#039;&#039;&#039;--aout &amp;amp;lt;module&amp;amp;gt;&#039;&#039;&#039; allows you to select the audio output module. &lt;br /&gt;
*&#039;&#039;&#039;--vout &amp;amp;lt;module&amp;amp;gt;&#039;&#039;&#039; allows you to select the video output module. &lt;br /&gt;
*&#039;&#039;&#039;--memcpy &amp;amp;lt;module&amp;amp;gt;&#039;&#039;&#039; allows you to choose a memory copy module. You should probably never touch that.&lt;br /&gt;
&lt;br /&gt;
You can get a listing of the available modules by using &#039;&#039;&#039;vlc -l&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
=== Stream Output ===&lt;br /&gt;
&lt;br /&gt;
The Stream output system allows vlc to become a streaming server. &lt;br /&gt;
&lt;br /&gt;
For more details on the stream output system, please have a look at the [[Documentation:Streaming HowTo|Streaming HowTo]]. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Other Options ===&lt;br /&gt;
&lt;br /&gt;
==== Audio options ====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--noaudio&#039;&#039;&#039; disables audio output. Note that if you are streaming (ex: to a file) this has no effect (streaming copies the audio verbatim). Use --sout-xxx instead (ex: --no-sout-audio) &lt;br /&gt;
*&#039;&#039;&#039;--mono&#039;&#039;&#039; forces VLC to treat the stream in mono audio. &lt;br /&gt;
*&#039;&#039;&#039;--volume &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; sets the level of audio output (between 0 and 1024). Also only applies to local playback (like --noaudio). &lt;br /&gt;
*&#039;&#039;&#039;--aout-rate &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; sets the audio output frequency (Hz). By default, VLC will try to autodetect this. &lt;br /&gt;
*&#039;&#039;&#039;--desync &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; compensates desynchronization of audio (ms). (If audio and video streams are not synchronized, use this setting to delay the audio stream) &lt;br /&gt;
*&#039;&#039;&#039;--audio-filter &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; adds audio filters to the processing chain. Available filters are visual (visualizer with spectrum analyzer and oscilloscope), headphone (virtual headphone patialization) and normalizer (volume normalizer)&lt;br /&gt;
&lt;br /&gt;
==== Video options ====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--no-video&#039;&#039;&#039; disables video output. &lt;br /&gt;
*&#039;&#039;&#039;--grayscale&#039;&#039;&#039; turns video output into grayscale mode. &lt;br /&gt;
*&#039;&#039;&#039;--fullscreen&#039;&#039;&#039; ( or &#039;&#039;&#039;-f&#039;&#039;&#039;) sets fullscreen video. &lt;br /&gt;
*&#039;&#039;&#039;--nooverlay&#039;&#039;&#039; disables hardware acceleration for the video output. &lt;br /&gt;
*&#039;&#039;&#039;--width, --height &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; sets the video window dimensions. By default, the video window size will be adjusted to match the video dimensions. &lt;br /&gt;
*&#039;&#039;&#039;--start-time &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; starts the video here; the integer is the number of seconds from the beginning (e.g. 1:30 is written as 90) &lt;br /&gt;
*&#039;&#039;&#039;--stop-time &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; stops the video here; the integer is the number of seconds from the beginning (e.g. 1:30 is written as 90) &lt;br /&gt;
*&#039;&#039;&#039;--zoom &amp;amp;lt;float&amp;amp;gt;&#039;&#039;&#039; adds a zoom factor. &lt;br /&gt;
*&#039;&#039;&#039;--aspect-ratio &amp;amp;lt;mode&amp;amp;gt;&#039;&#039;&#039; forces source aspect ratio. Modes are 4x3, 16x9, ... &lt;br /&gt;
*&#039;&#039;&#039;--spumargin &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; forces SPU subtitles postion. &lt;br /&gt;
*&#039;&#039;&#039;--video-filter &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; adds video filters to the processing chain. You can add several filters, separated by commas &lt;br /&gt;
*&#039;&#039;&#039;--sub-filter &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; adds video subpictures filter to the processing chain.&lt;br /&gt;
&lt;br /&gt;
==== Desktop/Screen grab options ====&lt;br /&gt;
&lt;br /&gt;
You can see the various options for &amp;quot;grabbing the desktop&amp;quot; (VLC&#039;s built-in screen grabber capture device) by using the GUI. See http://forum.videolan.org/viewtopic.php?f=4&amp;amp;amp;t=46971 &lt;br /&gt;
&lt;br /&gt;
==== Playlist options ====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--random&#039;&#039;&#039; plays files randomly forever. &lt;br /&gt;
*&#039;&#039;&#039;--loop&#039;&#039;&#039; loops playlist on end. &lt;br /&gt;
*&#039;&#039;&#039;--repeat&#039;&#039;&#039; repeats current item until another item is forced &lt;br /&gt;
*&#039;&#039;&#039;--play-and-stop&#039;&#039;&#039; stops the playlist after each played item.&lt;br /&gt;
&lt;br /&gt;
==== Network options ====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--server-port &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; sets server port. &lt;br /&gt;
*&#039;&#039;&#039;--iface &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; specifies the network interface to use. &lt;br /&gt;
*&#039;&#039;&#039;--iface-addr &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; specifies your network interface IP address. &lt;br /&gt;
*&#039;&#039;&#039;--mtu &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; specifies the MTU of the network interface. &lt;br /&gt;
*&#039;&#039;&#039;--ipv6&#039;&#039;&#039; forces IPv6. &lt;br /&gt;
*&#039;&#039;&#039;--ipv4&#039;&#039;&#039; forces IPv4.&lt;br /&gt;
&lt;br /&gt;
==== CPU options ====&lt;br /&gt;
&lt;br /&gt;
You should probably not touch these options unless you know what you are doing. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--nommx&#039;&#039;&#039; disables the use of MMX CPU extensions. &lt;br /&gt;
*&#039;&#039;&#039;--no3dn&#039;&#039;&#039; disables the use of 3D Now! CPU extensions. &lt;br /&gt;
*&#039;&#039;&#039;--nommxext&#039;&#039;&#039; disables the use of MMX Ext CPU extensions. &lt;br /&gt;
*&#039;&#039;&#039;--nosse&#039;&#039;&#039; disables the use of SSE CPU extensions. &lt;br /&gt;
*&#039;&#039;&#039;--noaltivec&#039;&#039;&#039; disables the use of Altivec CPU extensions.&lt;br /&gt;
&lt;br /&gt;
==== Miscellaneous options ====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--quiet&#039;&#039;&#039; deactivates all console messages. &lt;br /&gt;
*&#039;&#039;&#039;--color&#039;&#039;&#039; displays color messages. &lt;br /&gt;
*&#039;&#039;&#039;--search-path &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; specifies interface default search path. &lt;br /&gt;
*&#039;&#039;&#039;--plugin-path &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; specifies plugin search path. &lt;br /&gt;
*&#039;&#039;&#039;--no-plugins-cache&#039;&#039;&#039; disables the plugin cache (plugins cache speeds up startup) &lt;br /&gt;
*&#039;&#039;&#039;--dvd &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; specifies the default DVD device. &lt;br /&gt;
*&#039;&#039;&#039;--vcd &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; specifies the default VCD device. &lt;br /&gt;
*&#039;&#039;&#039;--program &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; specifies program (SID) (for streams with several programs, like satellite ones). &lt;br /&gt;
*&#039;&#039;&#039;--audio-type &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; specifies the default audio type to use with dvds. &lt;br /&gt;
*&#039;&#039;&#039;--audio-channel &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; specifies the default audio channel to use with dvds. &lt;br /&gt;
*&#039;&#039;&#039;--spu-channel &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; specifies the default subtitle channel to use with dvds. &lt;br /&gt;
*&#039;&#039;&#039;--version&#039;&#039;&#039; gives you information about the current VLC version. &lt;br /&gt;
*&#039;&#039;&#039;--module &amp;amp;lt;module&amp;amp;gt; &#039;&#039;&#039; displays help about specified module. (Shortcut: &#039;&#039;&#039;-p&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Item-specific options ===&lt;br /&gt;
&lt;br /&gt;
There are many options that are related to items (like &#039;&#039;&#039;--novideo&#039;&#039;&#039;, &#039;&#039;&#039;--codec&#039;&#039;&#039;, &#039;&#039;&#039;--fullscreen&#039;&#039;&#039;). &lt;br /&gt;
&lt;br /&gt;
For all of these, you have the possibility to make them item-specific, using &amp;quot;:&amp;quot; instead of &amp;quot;--&amp;quot; and putting the option just after the concerned item. &lt;br /&gt;
&lt;br /&gt;
Examples: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc file1.mpg&amp;amp;nbsp;:fullscreen file2.mpg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
will play file1.mpg in fullscreen mode and file2.mpg in the default mode (which is generally no fullscreen), whereas &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc --fullscreen file1.mpg file2.mpg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
will play both files in fullscreen mode &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc --fullscreen file1.mpg&amp;amp;nbsp;:sub-file=file1.srt&amp;amp;nbsp;:no-fullscreen file2.mpg&amp;amp;nbsp;:filter=distort&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
will play file1.mpg in windowed (no-fullscreen) mode with the subtitles file file1.srt and will play file2.mpg with video filter distort enabled in fullscreen mode (item-specific options override global options).&lt;br /&gt;
&lt;br /&gt;
== Advanced use of filters ==&lt;br /&gt;
&lt;br /&gt;
=== Filters ===&lt;br /&gt;
&lt;br /&gt;
These are the old style VLC filters. They only apply to on screen display and thus cannot be streamed. &lt;br /&gt;
&lt;br /&gt;
==== Deinterlacing video filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;deinterlace&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--deinterlace-mode {discard,blend,mean,bob,linear,x,yadif,yadif (2x),phosophor,ivtc}&#039;&#039;&#039; choose a deinterlacing mode.&lt;br /&gt;
&lt;br /&gt;
==== Invert video filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;invert&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
==== Image properties filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;adjust&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--contrast &amp;amp;lt;float&amp;amp;gt;&#039;&#039;&#039; Image contrast in the 0-2 range. &lt;br /&gt;
*&#039;&#039;&#039;--brightness &amp;amp;lt;float&amp;amp;gt;&#039;&#039;&#039; Image brightness in the 0-2 range. &lt;br /&gt;
*&#039;&#039;&#039;--hue &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Image hue in the 0-360 range. &lt;br /&gt;
*&#039;&#039;&#039;--saturation &amp;amp;lt;float&amp;amp;gt;&#039;&#039;&#039; Image saturation in the 0-3 range. &lt;br /&gt;
*&#039;&#039;&#039;-gamma &amp;amp;lt;float&amp;amp;gt;&#039;&#039;&#039; Image gamma in the 0-10 range.&lt;br /&gt;
&lt;br /&gt;
==== Wall video filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;wall&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This filter splits the output in several windows. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--wall-cols &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Number of columns. &lt;br /&gt;
*&#039;&#039;&#039;--wall-rows &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Number of rows. &lt;br /&gt;
*&#039;&#039;&#039;--wall-active &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; Select the windows you want to display. To select windows 2 and 4 you would write &#039;&#039;&#039;--wall-active 2,4&#039;&#039;&#039;. When this option isn&#039;t specified, all windows are displayed.&lt;br /&gt;
&lt;br /&gt;
==== Video transformation filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;transform&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--transform-type {90,180,270,hflip,vflip}&#039;&#039;&#039; Select rotation angle or symmetry.&lt;br /&gt;
&lt;br /&gt;
==== Distort video filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;distort&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
==== Clone video filter ====&lt;br /&gt;
&lt;br /&gt;
This filter clones the output window. &lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;clone&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--clone-count &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Number of clones. &lt;br /&gt;
*&#039;&#039;&#039;--clone-vout-list &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; Comma separated string of video output modules.&lt;br /&gt;
&lt;br /&gt;
==== Crop video filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;crop&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--crop-geometry &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; Set the geometry of the zone to crop. This is set as &amp;amp;lt;width&amp;amp;gt; x &amp;amp;lt;height&amp;amp;gt; + &amp;amp;lt;left offset&amp;amp;gt; + &amp;amp;lt;top offset&amp;amp;gt;. &lt;br /&gt;
*&#039;&#039;&#039;--autocrop&#039;&#039;&#039; Enable automatic black border cropping.&lt;br /&gt;
&lt;br /&gt;
==== Motion blur filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;motionblur&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;blur-factor &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Blur factor in the 1-127 range.&lt;br /&gt;
&lt;br /&gt;
==== Video pictures blending ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;blend&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
==== Video scaling filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;scale&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Subpictures Filters ===&lt;br /&gt;
&lt;br /&gt;
These are the new VLC filters. They can be streamed. &lt;br /&gt;
&lt;br /&gt;
==== Time display sub filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;time&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--time-format &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; Time format string. You can use the following special characters&amp;amp;nbsp;%Y = year,&amp;amp;nbsp;%m = month,&amp;amp;nbsp;%d = day,&amp;amp;nbsp;%H = hour,&amp;amp;nbsp;%M = minute,&amp;amp;nbsp;%S = second. &lt;br /&gt;
*&#039;&#039;&#039;--time-x &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; X offset from the left in pixels. &lt;br /&gt;
*&#039;&#039;&#039;--time-y &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Y offset from the top in pixels.&lt;br /&gt;
&lt;br /&gt;
==== Marquee display sub filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;marq&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--marq-marquee &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; Marquee text to display. &lt;br /&gt;
*&#039;&#039;&#039;--marq-x &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; X offset from the left in pixels. &lt;br /&gt;
*&#039;&#039;&#039;--marq-y &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Y offset from the top in pixels. &lt;br /&gt;
*&#039;&#039;&#039;--marq-timeout &amp;amp;lt;timeout&amp;amp;gt;&#039;&#039;&#039; Defines the time the marquee must remain displayed in milliseconds. Default value is 0 (remain forever).&lt;br /&gt;
&lt;br /&gt;
==== Logo video filter ====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;logo&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This filter can be used both as an old style filter or a subpictures filter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--logo-file &amp;amp;lt;string&amp;amp;gt;&#039;&#039;&#039; Full path of the PNG file to use. &lt;br /&gt;
*&#039;&#039;&#039;--logo-x &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; X offset from the left in pixels. &lt;br /&gt;
*&#039;&#039;&#039;--logo-y &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; Y offset from the top in pixels. &lt;br /&gt;
*&#039;&#039;&#039;--logo-transparency &amp;amp;lt;integer&amp;amp;gt;&#039;&#039;&#039; You can set the logo transparency value here (from 0 for full transparency to 255 for full opacity).&lt;br /&gt;
&lt;br /&gt;
Note: You can move the logo by left-clicking on it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== The HTTP interface ==&lt;br /&gt;
&lt;br /&gt;
VLC ships with a little HTTP server integrated. It is used both to stream using HTTP, and for the HTTP remote control interface. &lt;br /&gt;
&lt;br /&gt;
To start VLC with the HTTP interface, use: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc -I http [--http-src /directory/] [--http-host host:port]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you want to have both the &amp;quot;normal&amp;quot; interface and the HTTP interface, use &#039;&#039;&#039;vlc --extraintf http&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
The HTTP interface will start listening at host:port (&amp;amp;lt;all interfaces&amp;amp;gt;:8080 if omitted), and will reproduce the structure of /directory at http://host:port/ ( vlc_source_path/share/http if omitted ). &lt;br /&gt;
&lt;br /&gt;
Use a browser to go to http://your_host_machine:port. You should be taken to the main page. &lt;br /&gt;
&lt;br /&gt;
VLC is shipped with a set of files that should be enough for generic needs. It is also possible to customize pages. See [[Documentation:Play HowTo/Building Pages for the HTTP Interface]]. &lt;br /&gt;
&lt;br /&gt;
Available pages for 1.0.3&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
*http://host:port - Main Interface &lt;br /&gt;
*http://host:port/vlm.html - VLM Interface &lt;br /&gt;
*http://host:port/mosaic.html - Mosaic Wizard &lt;br /&gt;
*http://host:port/flash.html - Flash based remote playback&lt;br /&gt;
&lt;br /&gt;
== Other control interfaces ==&lt;br /&gt;
&lt;br /&gt;
VLC includes a number of so-called interfaces that are not really interfaces, but means of controlling VLC. Nevertheless, they are enabled by setting them as interface or extra interface, either in the Preferences, in General/Interface, or using &#039;&#039;&#039;-I&#039;&#039;&#039; or &#039;&#039;&#039;--extraintf&#039;&#039;&#039; on the command line. &lt;br /&gt;
&lt;br /&gt;
=== Hotkeys ===&lt;br /&gt;
&lt;br /&gt;
This module allows you to control VLC and playback via hotkeys. It is always enabled by default. You can use hotkeys in the video output window, you can&#039;t in the audio dummy interface. &lt;br /&gt;
&lt;br /&gt;
Hotkeys can be hacked by: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc --key-&amp;amp;lt;function&amp;amp;gt; &amp;amp;lt;code&amp;amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Code is composed by modifiers keys (Alt, Shift, Ctrl, Meta,Command) separated by a dash (-) and terminated by a key (a...z, +, =, -, &#039;,&#039;, +, &amp;amp;lt;, &amp;amp;gt;, `, /,&amp;amp;nbsp;;, &#039;, \, [, ], *, Left, Right, Up, Down, Space, Enter, F1...F12, Home, End, Menu, Esc, Page Up, Page Down, Tab, Backspace, Mouse Wheel Up and Mouse Wheel Down). Main controls are available from hotkeys, such as&amp;amp;nbsp;: fullscreen, play-pause, faster, slower, next, prev, stop, quit, vol-up, etc. (use the &#039;&#039;&#039;--longhelp&#039;&#039;&#039; option for full list of functions). For example, for binding fullscreen to Ctrl-f, run: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc --key-fullscreen &#039;Ctrl-f&#039; &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The list of the default hotkeys is available [[HotKeys|here]]. &lt;br /&gt;
&lt;br /&gt;
=== RC and RTCI ===&lt;br /&gt;
&lt;br /&gt;
These two interfaces allow you to control VLC from a command shell (possibly using a remote connexion or a Unix socket). &lt;br /&gt;
&lt;br /&gt;
Start VLC with &#039;&#039;&#039;-I rc&#039;&#039;&#039; or &#039;&#039;&#039;--extraintf rc&#039;&#039;&#039;. When you get the &#039;&#039;&#039;Remote control interface initialized, `h&#039; for help&#039;&#039;&#039; message, press h and Enter to get help about available commands. &lt;br /&gt;
&lt;br /&gt;
To be able to remote connect to your VLC using a TCP socket (telnet-like connexion), use &#039;&#039;&#039;--rc-host your_host:port&#039;&#039;&#039;. Then, by connecting (using telnet or netcat) to the host on the given port, you will get the command shell. &lt;br /&gt;
&lt;br /&gt;
To use a UNIX socket (local socket, this does not work for Windows), use &#039;&#039;&#039;--rc-unix /path/to/socket&#039;&#039;&#039;. Commands can then be passed using this UNIX socket. &lt;br /&gt;
&lt;br /&gt;
The RTCI interface gives you more advanced options, such as marquee control for the marquee subpicture filter (See filter section). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Ncurses ===&lt;br /&gt;
&lt;br /&gt;
This is a text interface, using ncurses library. &lt;br /&gt;
&lt;br /&gt;
Start VLC with &#039;&#039;&#039;-I ncurses&#039;&#039;&#039; or &#039;&#039;&#039;--extraintf ncurses&#039;&#039;&#039;. You will then get something like that: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.videolan.org/doc/play-howto/en/images/play-howto/intf-ncurses-playlist.jpg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ncurses interface&lt;br /&gt;
&lt;br /&gt;
Press h to get the list of all available commands, with a short description. &lt;br /&gt;
&lt;br /&gt;
There is also a filebrowser available for the ncurses interface in order to add playlist items. Press &#039;B&#039; to use it. &lt;br /&gt;
&lt;br /&gt;
http://www.videolan.org/doc/play-howto/en/images/play-howto/intf-ncurses-filebrowser.jpg&lt;br /&gt;
&lt;br /&gt;
The ncurses filebrowser &lt;br /&gt;
&lt;br /&gt;
You can set the filebrowser starting point by launching vlc with the &#039;&#039;&#039;--browse-dir&#039;&#039;&#039; option: &lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc -I ncurses --browse-dir /filebrowser/starting/point/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Gestures ===&lt;br /&gt;
&lt;br /&gt;
Gestures provide a simple mouse gestures control. TODO &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== The Mozilla plugin ==&lt;br /&gt;
&lt;br /&gt;
VLC can also be embedded in a web browser! The following browsers are supported [http://www.mozilla.org/ Mozilla], [http://www.mozilla.org/products/firefox/ Firefox] and [http://www.apple.com/macosx/features/safari Safari]. &lt;br /&gt;
&lt;br /&gt;
=== Install the plugin ===&lt;br /&gt;
&lt;br /&gt;
==== GNU/Linux Debian ====&lt;br /&gt;
&lt;br /&gt;
Install the &#039;&#039;mozilla-plugin-vlc&#039;&#039; package: &lt;br /&gt;
&lt;br /&gt;
 # &#039;&#039;&#039;apt-get update&#039;&#039;&#039;&lt;br /&gt;
 # &#039;&#039;&#039;apt-get install mozilla-plugin-vlc&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Quit Firefox or Mozilla. &lt;br /&gt;
&lt;br /&gt;
Select the Mozilla Plugin option when installing VLC Media Player. The installer will then automatically detect your browser and install the plugin. &lt;br /&gt;
&lt;br /&gt;
Restart Firefox or Mozilla. &lt;br /&gt;
&lt;br /&gt;
==== MacOS X ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The Mozilla/Safari plugin for MacOS X is only available from vlc version 0.8.5.1 and onwards.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Quit Safari browser. &lt;br /&gt;
&lt;br /&gt;
Download the Mozilla/safari plugin package from [http://www.videolan.org/vlc/download-macosx.html MacOS X download page]. &lt;br /&gt;
&lt;br /&gt;
Run the installer from the dmg image. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Compile the sources yourself ====&lt;br /&gt;
&lt;br /&gt;
Please look at the [http://developers.videolan.org developers page] for information on how to do this. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Use the mozilla plugin ===&lt;br /&gt;
&lt;br /&gt;
If you open a link to a video file handled by the VLC plugin (To get the list of handled types, browse to &#039;&#039;&#039;about:plugins&#039;&#039;&#039;) or a page with an embedded video, the plugin should open and read the video. &lt;br /&gt;
&lt;br /&gt;
See the [[Documentation:WebPlugin|documentation]] for building page for this plugin. &lt;br /&gt;
&lt;br /&gt;
{{Documentation}} &lt;br /&gt;
&lt;br /&gt;
= Snapshot Tool =&lt;br /&gt;
&lt;br /&gt;
Did you know you can use special codes to automatically generate filenames in the [[SnapshotTool|Snaphot Tool]]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Specifying Streaming Options =&lt;br /&gt;
&lt;br /&gt;
The dialog will show various option to set the output to stream.&lt;br /&gt;
&lt;br /&gt;
First there is an input text called &#039;&#039;&#039;Source&#039;&#039;&#039;, where you&#039;ll find your media path and the its type.&lt;br /&gt;
&lt;br /&gt;
[[File:VlcStream.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you&#039;ll click on Destination you&#039;ll see the destination of stream that could be: &#039;&#039;File&#039;&#039;, &#039;&#039;HTTP&#039;&#039;, &#039;&#039;MS-WSMP&#039;&#039;, &#039;&#039;RTSP&#039;&#039;, &#039;&#039;RTP/MPG&#039;&#039;, &#039;&#039;RTP, Audio/Video&#039;&#039;, &#039;&#039;UDP&#039;&#039; and &#039;&#039;Icecast&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Stream-destination.png]]&lt;br /&gt;
&lt;br /&gt;
You can abilitate &#039;&#039;&#039;Transcoding&#039;&#039;&#039; to transcode your video to one in the list or in a one you can specify by clicking on the proper icon.&lt;br /&gt;
&lt;br /&gt;
Last you have the option of stream you&#039;ll share.&lt;br /&gt;
&lt;br /&gt;
[[File:Stream-option.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking stream it will return to VLC main user interface and the playbar will scroll as the video will play.&lt;br /&gt;
&lt;br /&gt;
= Audio Bar Graph over Video =&lt;br /&gt;
&lt;br /&gt;
This section specifies how to enable the audiobargraph audio filter and video overlay, (mostly) via the GUI.  This displays an audio meter overlaid on the video.&lt;br /&gt;
&lt;br /&gt;
There are three parts - an audio filter, which sends it&#039;s output via TCP to the Remote Control (RC) Interface.  This information is then picked up and displayed by the Audio Bar Graph video subpicture filter (OSD).&lt;br /&gt;
&lt;br /&gt;
To enable this, VLC needs to be started with the &#039;&#039;&#039;--rc-host&#039;&#039;&#039; command-line switch - e.g.&lt;br /&gt;
 &#039;&#039;&#039;&amp;quot;C:\Program Files\VideoLAN\VLC\vlc.exe&amp;quot; --rc-host localhost:12345&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the GUI, set the following (this example from VLC v1.1.9 on Windows 7):&lt;br /&gt;
* Preferences:Show settings:All&lt;br /&gt;
* Audio/Filters &amp;gt; Enable &amp;quot;Audio part of the BarGraph function&amp;quot;&lt;br /&gt;
* Audio/Filters/audiobargraph &amp;gt; use defaults, change &amp;quot;Sends the barGraph information every n audio packets&amp;quot; to 1 to enable see a more accurate display&lt;br /&gt;
* Interface/Main interfaces &amp;gt; Enable &amp;quot;Remote control interface&amp;quot;&lt;br /&gt;
* Interface/Main interfaces/RC &amp;gt; Enable &amp;quot;Do not open a DOS command box interface&amp;quot;&lt;br /&gt;
* Video/Subtitles-OSD &amp;gt; Enable &amp;quot;Audio Bar Graph Video sub filter&amp;quot;&lt;br /&gt;
* Video/Subtitles-OSD/Audio Bar Graph &amp;gt; Set the following settings:&lt;br /&gt;
** &amp;quot;Value of the audio channels levels&amp;quot; = 0 (setting this to 0:1 crashes VLC v1.1.9)&lt;br /&gt;
** &amp;quot;X coordinate&amp;quot; = 0&lt;br /&gt;
** &amp;quot;Y coordinate&amp;quot; = 0 (this doesn&#039;t seem to affect anything)&lt;br /&gt;
** &amp;quot;Transparency of the bargraph&amp;quot; = 128 for 50% transparency which looks ok&lt;br /&gt;
** &amp;quot;Bargraph position&amp;quot; = Left (seems to only work Left,Center,Right - can&#039;t go top or bottom)&lt;br /&gt;
** &amp;quot;Alarm&amp;quot; = 1 (enables the silence alarm - puts a red border around the bargraph if silent for too long)&lt;br /&gt;
** &amp;quot;Bar width in pixel&amp;quot; = 10 (20 if you want it to be really visible)&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19392</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19392"/>
		<updated>2011-06-28T02:24:22Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* Example: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|250px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus or the right-click menus. Also, by default the key &#039;&#039;&#039;D&#039;&#039;&#039; during playback switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19391</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19391"/>
		<updated>2011-06-28T02:20:04Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: I think it needs a section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|250px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus or the right-click menus. Also, by default the key &#039;&#039;&#039;D&#039;&#039;&#039; during playback switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19390</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19390"/>
		<updated>2011-06-28T02:18:52Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: Maybe a gallery of examples will work.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|250px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus or the right-click menus. Also, by default the key &#039;&#039;&#039;D&#039;&#039;&#039; during playback switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Example- Disabled Deinterlace.png|Interlaced&lt;br /&gt;
File:Example- Discard interpolate.png|Discard&lt;br /&gt;
File:Example- Blend Deinterlace.png|Blend&lt;br /&gt;
File:Example- Mean Blender.png|Mean&lt;br /&gt;
File:Example- Bob Doubler.png|Bob&lt;br /&gt;
File:Example- Linear Doubler.png|Linear&lt;br /&gt;
File:Example-X interpolate.png|X&lt;br /&gt;
File:Example-Yadif 1.png|Yadif&lt;br /&gt;
File:Example-Yadif 2.png|Yadif (2x)&lt;br /&gt;
File:Example-Phospor Doubler.png|Phosphor&lt;br /&gt;
File:Example-Invert Telecine.png|IVTC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19389</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19389"/>
		<updated>2011-06-28T02:12:42Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* VLC deinterlace modes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|250px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus or the right-click menus. Also, by default the key &#039;&#039;&#039;D&#039;&#039;&#039; during playback switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
[[File:Example- Disabled Deinterlace.png|right|thumb|50px]]&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
[[File:Example- Blend Deinterlace.png|right|thumb|50px]]&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
[[File:Example- Bob Doubler.png|left|right|50px]]&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
[[File:Example- Discard interpolate.png|right|thumb|100px]]&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
[[File:Example- Linear Doubler.png|right|thumb|100px]]&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
[[File:Example- Mean Blender.png|right|thumb|100px]]&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
[[File:Example-X interpolate.png|right|thumb|100px]]&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
[[File:Example-Yadif 1.png|right|thumb|100px]]&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
[[File:Example-Yadif 2.png|right|thumb|100px]]&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
[[File:Example-Phospor Doubler.png|right|thumb|100px]]&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
[[File:Example-Invert Telecine.png|right|thumb|100px]]&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-Invert_Telecine.png&amp;diff=19388</id>
		<title>File:Example-Invert Telecine.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-Invert_Telecine.png&amp;diff=19388"/>
		<updated>2011-06-28T02:06:24Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-Phospor_Doubler.png&amp;diff=19387</id>
		<title>File:Example-Phospor Doubler.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-Phospor_Doubler.png&amp;diff=19387"/>
		<updated>2011-06-28T02:06:13Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-Yadif_2.png&amp;diff=19386</id>
		<title>File:Example-Yadif 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-Yadif_2.png&amp;diff=19386"/>
		<updated>2011-06-28T02:05:59Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-Yadif_1.png&amp;diff=19385</id>
		<title>File:Example-Yadif 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-Yadif_1.png&amp;diff=19385"/>
		<updated>2011-06-28T02:05:17Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-_Discard_interpolate.png&amp;diff=19384</id>
		<title>File:Example- Discard interpolate.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-_Discard_interpolate.png&amp;diff=19384"/>
		<updated>2011-06-28T02:04:12Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-X_interpolate.png&amp;diff=19383</id>
		<title>File:Example-X interpolate.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-X_interpolate.png&amp;diff=19383"/>
		<updated>2011-06-28T02:03:45Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-_Linear_Doubler.png&amp;diff=19382</id>
		<title>File:Example- Linear Doubler.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-_Linear_Doubler.png&amp;diff=19382"/>
		<updated>2011-06-28T02:03:10Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-_Bob_Doubler.png&amp;diff=19381</id>
		<title>File:Example- Bob Doubler.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-_Bob_Doubler.png&amp;diff=19381"/>
		<updated>2011-06-28T02:02:28Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-_Mean_Blender.png&amp;diff=19380</id>
		<title>File:Example- Mean Blender.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-_Mean_Blender.png&amp;diff=19380"/>
		<updated>2011-06-28T02:02:00Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-_Disabled_Deinterlace.png&amp;diff=19379</id>
		<title>File:Example- Disabled Deinterlace.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-_Disabled_Deinterlace.png&amp;diff=19379"/>
		<updated>2011-06-28T02:01:48Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:Example-_Blend_Deinterlace.png&amp;diff=19378</id>
		<title>File:Example- Blend Deinterlace.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:Example-_Blend_Deinterlace.png&amp;diff=19378"/>
		<updated>2011-06-28T02:01:22Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19377</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19377"/>
		<updated>2011-06-28T01:30:47Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: Adding examples to page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:VLC_-_Deinterlace_action_options.png|250px|thumb|right|deinterlace switch menu]]&lt;br /&gt;
&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus or the right-click menus. Also, by default the key &#039;&#039;&#039;D&#039;&#039;&#039; during playback switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
[[File:VLC_-_Deinterlace_Mode.png|250px|thumb|right|The deinterlace options selection]]&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:VLC_-_Deinterlace_action_options.png&amp;diff=19376</id>
		<title>File:VLC - Deinterlace action options.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:VLC_-_Deinterlace_action_options.png&amp;diff=19376"/>
		<updated>2011-06-28T01:30:27Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:VLC_-_Deinterlace_Mode.png&amp;diff=19375</id>
		<title>File:VLC - Deinterlace Mode.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:VLC_-_Deinterlace_Mode.png&amp;diff=19375"/>
		<updated>2011-06-28T01:30:20Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:VLC_-_main.png&amp;diff=19374</id>
		<title>File:VLC - main.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:VLC_-_main.png&amp;diff=19374"/>
		<updated>2011-06-28T01:07:12Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: uploaded a new version of &amp;quot;File:VLC - main.png&amp;quot;:&amp;amp;#32;Whoops changing image.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=File:VLC_-_main.png&amp;diff=19373</id>
		<title>File:VLC - main.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=File:VLC_-_main.png&amp;diff=19373"/>
		<updated>2011-06-28T01:06:25Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: uploaded a new version of &amp;quot;File:VLC - main.png&amp;quot;:&amp;amp;#32;Lets try widescreen for that.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19372</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=19372"/>
		<updated>2011-06-28T00:39:20Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: The text has to be red if its a warning.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Traditional TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called &#039;&#039;deinterlacing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Modern HDTVs operate much like computers in that they display full pictures. Much like computer-based video players, they have deinterlacing built in so that they can display traditional TV material.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
{{VLC}} has deinterlacing off by default. &lt;br /&gt;
&lt;br /&gt;
You can enable it for the currently playing video by using the main menus or the right-click menus. Also, by default the key &#039;&#039;&#039;D&#039;&#039;&#039; during playback switches deinterlacing on and off (using the mode selected in the Preferences).&lt;br /&gt;
&lt;br /&gt;
To change the settings, go to the Video section in the Simple Preferences. You can choose from On, Automatic or Off. This setting controls whether VLC enables deinterlacing when you open a video. You can also choose the mode (algorithm). See below for available modes and mode recommendations.&lt;br /&gt;
&lt;br /&gt;
The recommended choice is &#039;&#039;Automatic&#039;&#039;. VLC will then check the stream flags (technical term for information embedded in the video) and automatically set deinterlacing on or off, depending on if the current video is marked as interlaced. If the setting is &#039;&#039;On&#039;&#039;, VLC will apply deinterlacing even if the original is not interlaced (which is a really bad idea). The setting &#039;&#039;Off&#039;&#039;, respectively, always keeps deinterlacing off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For advanced users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In All Preferences, the settings for deinterlacing can be found in Preferences &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace. The available settings are the mode (algorithm), and in v1.2.0+ also some algorithm-specific settings.&lt;br /&gt;
&lt;br /&gt;
The [[Hotkeys|keyboard shortcut]] to switch deinterlacing on and off can be configured in the [[Hotkeys]] section of the Simple Preferences. Its name is &#039;&#039;Cycle deinterlace modes&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you use VLC from the command line, you can also set the deinterlace options in your command. To get a list and short description of the available options, run &amp;lt;pre&amp;gt;vlc -p deinterlace --advanced&amp;lt;/pre&amp;gt; Note that the deinterlace command-line options are prefixed by &amp;quot;sout&amp;quot; for historical reasons only; they are intended for normal playback use. For more information on using VLC from the command line, see [[VLC_command-line_help|VLC command-line help]].&lt;br /&gt;
&lt;br /&gt;
== Interlaced or telecined? ==&lt;br /&gt;
In addition to true interlaced signals, there exists also a process called telecine which produces interlacing. It is a type of artificial interlacing that may be added to sources that were originally progressive. Telecine produces a characteristic look, with a repeating sequence of 3 progressive frames followed by 2 artificially interlaced frames.&lt;br /&gt;
&lt;br /&gt;
Why would anyone want to do that? The answer lies in different framerates, and in transfer of film sources to television and video. Film is commonly shot at 24 pictures per second, while NTSC television and video equipment operates at 60 half-pictures per second. Telecine inserts extra half-pictures so that films can be stored in the NTSC format (for example on DVDs in Japan and USA).&lt;br /&gt;
&lt;br /&gt;
For more on telecine, see for example the following links:&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Telecine Telecine (in Wikipedia)]&lt;br /&gt;
*[http://arbor.ee.ntu.edu.tw/~jackeikuo/dvd2avi/ivtc/ Inverse Telecine]&lt;br /&gt;
*[http://neuron2.net/LVG/telecining1.html NTSC Telecine - Luke&#039;s Video Guide]&lt;br /&gt;
*[http://users.softlab.ece.ntua.gr/~ttsiod/ivtc.html NTSC, telecine, and how to cope (using telecide and decimate)]&lt;br /&gt;
&lt;br /&gt;
== Which type of interlacing do I have? ==&lt;br /&gt;
This depends on the format (PAL, NTSC) and the content of the source. PAL is used in Europe and Australia, NTSC in USA and Japan. This also applies to the DVDs produced in those regions.&lt;br /&gt;
&lt;br /&gt;
Live-action movies in the PAL format typically are not interlaced at all. This is because it is easier to transfer film to PAL than to NTSC.&lt;br /&gt;
&lt;br /&gt;
Home movies shot on a camcorder are typically true interlaced.&lt;br /&gt;
&lt;br /&gt;
Telecine is very common in Asia and especially in Japan. Anything originating in Asia is likely to be telecined. For example, with very few exceptions, all anime in the NTSC format is telecined. This includes the corresponding North American releases.&lt;br /&gt;
&lt;br /&gt;
Source material that was converted from a different format is a special case. Producing a correct transfer for pure video material from NTSC to PAL or vice versa is very difficult due to the differences in framerate and number of lines. Whether a deinterlacer is needed depends on the details of the transfer. In the particular case of anime, a PAL conversion usually spells disaster for deinterlacing; see [http://www.animemusicvideos.org/guides/avtech/videogetb2a.html].&lt;br /&gt;
&lt;br /&gt;
== Algorithm types ==&lt;br /&gt;
&lt;br /&gt;
{{Module|name=deinterlace|type=Video Filter|description=Removes interlacing from display}}&lt;br /&gt;
&lt;br /&gt;
In {{VLC}}, there are several deinterlacing algorithms to choose from. This section presents a general classification. Skip ahead for an individual description of each mode.&lt;br /&gt;
&lt;br /&gt;
Algorithms available from a specific VLC version onward are marked with Name(vx.y.z+).&lt;br /&gt;
&lt;br /&gt;
=== Doublers ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Bob, Linear, Yadif (2x) (v1.1.0+), Phosphor(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
These algorithms display the video at the original half-picture rate, which is typically 50 (PAL) or 60 (NTSC) half-pictures per second. This is double the full picture rate, hence the name. This approach to deinterlacing is also known as field rendering.&lt;br /&gt;
&lt;br /&gt;
This group takes into account that the half-pictures of a true interlaced video were intended to be displayed at different times. This can make the motion look very smooth.&lt;br /&gt;
&lt;br /&gt;
Simple doublers (Bob and Linear) display only one half-picture at a time. Nevertheless, the quick alternating display produces a convincing illusion of full vertical resolution while playback is running.&lt;br /&gt;
&lt;br /&gt;
Some more advanced doublers (such as Yadif (2x)) are based on interpolators (see below), and attempt to generate full pictures to display. When interpolators are used in this way, which field is kept, alternates just like in the simple doublers.&lt;br /&gt;
&lt;br /&gt;
The last doubler (Phosphor) does not fit into either of these categories, but attempts to simulate a traditional CRT TV.&lt;br /&gt;
&lt;br /&gt;
All doublers can be used with both true interlaced and telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Interpolators ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: X, Yadif(v1.1.0+), (Discard)&lt;br /&gt;
&lt;br /&gt;
These algorithms analyze the picture, detecting progressive and interlaced parts. Typically the progressive parts of the picture are passed through unchanged, although in some algorithms various kinds of filtering may be used.&lt;br /&gt;
&lt;br /&gt;
For the interlaced parts, one half-picture is kept, while the other is generated out of thin air with various mathematical methods, based on the information in one or both of the original half-pictures.&lt;br /&gt;
&lt;br /&gt;
The Discard algorithm is a degenerate case of this type, which does not analyze the picture. It simply keeps one half-picture and discards the other one.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Interpolators are designed for use with true interlaced video only. They will stutter if applied to telecined video.&lt;br /&gt;
&lt;br /&gt;
Some doublers exist, such as Yadif (2x), which are based on interpolators. These hybrid algorithms behave like doublers (see above). They may be able to improve the picture quality compared to simple doublers, at the cost of more CPU cycles (requiring a faster processor).&lt;br /&gt;
&lt;br /&gt;
=== Blenders ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: Mean, Blend&lt;br /&gt;
&lt;br /&gt;
These algorithms mix information from both half-pictures to produce a blended (mixed) full picture. This is simple and removes interlacing, but causes ghostlike trails for fast motion.&lt;br /&gt;
&lt;br /&gt;
The output runs at the full-picture rate, which is typically 25 (PAL) or 30 (NTSC) pictures per second. The different intended display times for the half-pictures in a true interlaced video are ignored.&lt;br /&gt;
&lt;br /&gt;
Blenders are designed for use with true interlaced video only, and will stutter with telecined video.&lt;br /&gt;
&lt;br /&gt;
=== Inverse telecine ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VLC modes&#039;&#039;&#039;: IVTC(v1.2.0+)&lt;br /&gt;
&lt;br /&gt;
This group of algorithms is specifically designed for removing telecine from NTSC telecined video. Inverse telecine is also known as &#039;&#039;IVTC&#039;&#039;, &#039;&#039;film mode&#039;&#039; and &#039;&#039;3:2 reverse pulldown&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Inverse telecine algorithms try to extract the original progressive film frames and to display them at the original framerate (24 pictures per second). In the ideal case, this perfectly restores the progressive signal. There is no loss of information and no need to generate anything out of thin air.&lt;br /&gt;
&lt;br /&gt;
Due to practical reasons, these algorithms are always based on analyzing the picture. They are not and cannot be perfectly accurate, but in practice they work well for most telecined sources.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
This is what 100fps.com calls &amp;quot;do nothing&amp;quot;. Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF ([http://en.wikipedia.org/wiki/Progressive_segmented_Frame]) content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Blender (full resolution). Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Doubler. Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Doubler. Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Blender (half resolution). Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
&lt;br /&gt;
=== X ===&lt;br /&gt;
Interpolator. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm (involving ME, MC, edge-oriented interpolation) that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This is similar to what 100fps.com calls Area based.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (v1.1.0+)===&lt;br /&gt;
Interpolator. The &#039;&#039;Yet Another DeInterlacing Filter&#039;&#039; from the MPlayer project. Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that includes both temporal and spatial interpolation.&lt;br /&gt;
&lt;br /&gt;
=== Yadif (2x) (v1.1.0+)===&lt;br /&gt;
Doubler. Bob with Yadif interpolation. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&#039;&#039;&#039;Caution&#039;&#039;&#039;: Very heavy on the CPU.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Phosphor (v1.2.0+) ===&lt;br /&gt;
Doubler. This filter attempts to simulate the rendering mechanism of a traditional CRT TV. The latest two half-pictures are displayed, the old one fading out. The strength of the fade effect can be configured in All Preferences, see Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
=== IVTC (v1.2.0+) ===&lt;br /&gt;
Inverse telecine. Removes telecine from NTSC telecined video in realtime, losslessly recovering the progressive signal. &#039;&#039;&#039;Note&#039;&#039;&#039;: Only applicable to telecined sources. Particularly useful for NTSC anime DVDs.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
For telecined sources, use &#039;&#039;&#039;IVTC&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For true interlaced sources, use a doubler. Which one is a matter of taste. Try &#039;&#039;&#039;Linear&#039;&#039;&#039; first; it is pretty good while simple and light on the CPU.&lt;br /&gt;
&lt;br /&gt;
The classic &#039;&#039;&#039;Bob&#039;&#039;&#039; gives the lowest CPU load and is very simple.&lt;br /&gt;
&lt;br /&gt;
You can use &#039;&#039;&#039;Yadif (2x)&#039;&#039;&#039; if you have a very fast CPU.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Phosphor&#039;&#039;&#039; (v1.2.0+) mode is different, and may be worth a try if you want a &amp;quot;TV look&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
Please update this page if it contains any errors, is incomplete, or when it goes out of date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix: Technical summary ==&lt;br /&gt;
&lt;br /&gt;
This table summarizes various technical information on the algorithms. Don&#039;t be afraid to dive in - it&#039;s intended for users.&lt;br /&gt;
&lt;br /&gt;
If you are a developer looking for more detailed technical understanding, this module also has a section in the [[Documentation:Hacker&#039;s Guide/Video Filters/Deinterlace|Hacker&#039;s Guide]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terminology&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;field&amp;quot; = half-picture&lt;br /&gt;
* &amp;quot;top field&amp;quot; = &amp;quot;odd lines&amp;quot; in other sections above (note that the numbering started from 1)&lt;br /&gt;
* &amp;quot;bottom field&amp;quot; = &amp;quot;even lines&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Legend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Column 4:2:0 in the table = &amp;quot;if input has 4:2:0 chroma, then...&amp;quot; See [http://en.wikipedia.org/wiki/Chroma_subsampling#Sampling_systems_and_ratios] for an explanation and pictures. This format is common on DVDs.&lt;br /&gt;
* Column 4:2:2 in the table = &amp;quot;if input has 4:2:2 chroma, then...&amp;quot;&lt;br /&gt;
* C, H, FR = output Chroma, Height, Framerate&lt;br /&gt;
* 0 = output has 4:2:0 chroma&lt;br /&gt;
* 2 = output has 4:2:2 chroma&lt;br /&gt;
* h = half height; output has as many lines as an input half-picture&lt;br /&gt;
* f = full height; output has as many lines as an input full picture&lt;br /&gt;
* 1x = output has original framerate (original full-picture rate; typically 25 (PAL) or 30 (NTSC) times per second)&lt;br /&gt;
* 2x = output has double framerate (original half-picture rate; typically 50 (PAL) or 60 (NTSC) times per second)&lt;br /&gt;
* &#039;&#039;&#039;n)&#039;&#039;&#039; = numbered note, read below for details&lt;br /&gt;
&lt;br /&gt;
Note that the picture will be scaled before being displayed, so the number of lines just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;left &amp;quot;valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Algo&lt;br /&gt;
! 4:2:0&lt;br /&gt;
! 4:2:2&lt;br /&gt;
! Algo type&lt;br /&gt;
! Interpolation (if applic.)&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| C, H, FR&lt;br /&gt;
| C, H, FR&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| none&lt;br /&gt;
| keeps only top field; each line is repeated&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| 0, h, 1x&lt;br /&gt;
| 2, h, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| half-resolution blender; &#039;&#039;&#039;1)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| blender&lt;br /&gt;
| &lt;br /&gt;
| full-resolution blender; &#039;&#039;&#039;2)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| none&lt;br /&gt;
| each line is repeated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| simple linear&lt;br /&gt;
| first/last line copied; others interpolated; &#039;&#039;&#039;3)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| MC + edge-oriented&lt;br /&gt;
| keeps only top field in interlaced parts; &#039;&#039;&#039;4)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| 0, f, 1x&lt;br /&gt;
| 2, f, 1x&lt;br /&gt;
| interpolator&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| keeps only top field in interlaced parts&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| 0, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| spatial/temporal&lt;br /&gt;
| Yadif and Yadif (2x) come from MPlayer&lt;br /&gt;
|-&lt;br /&gt;
| Phosphor&lt;br /&gt;
| &#039;&#039;&#039;5)&#039;&#039;&#039;, f, 2x&lt;br /&gt;
| 2, f, 2x&lt;br /&gt;
| doubler&lt;br /&gt;
| &lt;br /&gt;
| CRT TV simulator; &#039;&#039;&#039;6)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| IVTC&lt;br /&gt;
| 0, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| 2, f, &#039;&#039;&#039;7)&#039;&#039;&#039;&lt;br /&gt;
| inverse telecine&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The luma (Y) component scale I (&amp;quot;analog&amp;quot;, 16..240) vs. J (full scale, &amp;quot;digital&amp;quot;, 0..255) is preserved in all format conversions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; The Mean algorithm simply pairs the original lines, and averages each pair into one output line. Line 1 of output is the mean of lines 1 and 2 in input, line 2 of output is the mean of lines 3 and 4 in input, and so on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Blend is slightly more sophisticated than Mean. The first line of output is copied from the first line of input. For any other output line N, the line is the mean of input lines N and N-1. That is, the second line of output is the mean of lines 1 and 2 in input, the third line is the mean of lines 2 and 3, ... and finally, the last line of output is the mean of the last two lines in input. The sliding averaging procedure preserves the original vertical resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for Linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
Still, even the basic Bob is slightly more clever than just a 2x version of Discard. In the output, the bottom field is offset by one line with respect to the top field. This is the technical reason behind the perceived full resolution magic. (As a side effect, it also causes perfectly horizontal lines to flicker in a way characteristic to the Bob algorithm. The other doublers try to overcome this.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; The X algorithm divides the video into blocks of 8x8 pixels, and analyzes them. It blurs the progressive blocks lightly. In the interlaced blocks, it keeps only the top field, and uses MC and edge-oriented interpolation to create the bottom field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5)&#039;&#039;&#039; Output from Phosphor is 4:2:2 if the Upconvert mode is chosen in the settings, otherwise 4:2:0 is used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6)&#039;&#039;&#039; Phosphor displays the latest two fields, regardless of temporal frame boundaries. To simulate phosphor light output decay, the old field is darkened by an amount that can be configured in All settings &amp;gt; Video &amp;gt; Filters &amp;gt; Deinterlace.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;7)&#039;&#039;&#039; IVTC outputs at (4/5)x of original framerate, when inverting telecine on a locked-on cadence, and at 1x while trying to acquire lock-on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Filters]]&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18711</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18711"/>
		<updated>2011-02-16T03:11:28Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: /* Resulting framerate and resolution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called deinterlacing.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
VLC has deinterlacing disabled by default.  You can enable it for the current video by using the menus or right-clicking.&lt;br /&gt;
&lt;br /&gt;
To make deinterlacing the default, go to Preferences/Video/Filters; also change the deinterlace mode in Preferences/Video/Filters/Deinterlace.  Unfortunately, VLC will then apply deinterlacing even if the original is not interlaced, which is a really bad idea.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
(is this what 100fps.com calls &amp;quot;do nothing&amp;quot;?) Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
=== X ===&lt;br /&gt;
Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This may be similar to what 100fps.com calls Area based?&lt;br /&gt;
=== Yadif ===&lt;br /&gt;
Display a picture as the other deinterlacer like discard and X.&lt;br /&gt;
=== Yadif (2x) ===&lt;br /&gt;
Bob with Yadif 2x interpolation like linear: Instead of 25fps you could try this but it may skip some of the frames when you use this deinterlacer.&lt;br /&gt;
&lt;br /&gt;
== Resulting framerate and resolution ==&lt;br /&gt;
In the table below, Fps is how often VLC will update the picture on your monitor.  Half is 25 or 30 times per second, while full is 50 or 60 times.&lt;br /&gt;
&lt;br /&gt;
Picture lines is how many lines there is in the picture that VLC generates.  Half equals the number of lines in a half-picture, while full is twice as many.  That picture will be scaled before being displayed, so this just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
{| valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Method&lt;br /&gt;
! Fps&lt;br /&gt;
! Picture lines&lt;br /&gt;
|-&lt;br /&gt;
| Disabled&lt;br /&gt;
| half?&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| full&lt;br /&gt;
| full\half (note 1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note 1: Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
&amp;quot;Linear&amp;quot; is probably the best compromise from the algorithms that VLC implements.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
This information is based on a quick reading of VLC&#039;s source code.  Please update this page if it contains any errors.&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18710</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18710"/>
		<updated>2011-02-16T02:56:58Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called deinterlacing.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
VLC has deinterlacing disabled by default.  You can enable it for the current video by using the menus or right-clicking.&lt;br /&gt;
&lt;br /&gt;
To make deinterlacing the default, go to Preferences/Video/Filters; also change the deinterlace mode in Preferences/Video/Filters/Deinterlace.  Unfortunately, VLC will then apply deinterlacing even if the original is not interlaced, which is a really bad idea.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
(is this what 100fps.com calls &amp;quot;do nothing&amp;quot;?) Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
=== X ===&lt;br /&gt;
Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This may be similar to what 100fps.com calls Area based?&lt;br /&gt;
=== Yadif ===&lt;br /&gt;
Display a picture as the other deinterlacer like discard and X.&lt;br /&gt;
=== Yadif (2x) ===&lt;br /&gt;
Bob with Yadif 2x interpolation like linear: Instead of 25fps you could try this but it may skip some of the frames when you use this deinterlacer.&lt;br /&gt;
&lt;br /&gt;
== Resulting framerate and resolution ==&lt;br /&gt;
In the table below, Fps is how often VLC will update the picture on your monitor.  Half is 25 or 30 times per second, while full is 50 or 60 times.&lt;br /&gt;
&lt;br /&gt;
Picture lines is how many lines there is in the picture that VLC generates.  Half equals the number of lines in a half-picture, while full is twice as many.  That picture will be scaled before being displayed, so this just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
{| valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Method&lt;br /&gt;
! Fps&lt;br /&gt;
! Picture lines&lt;br /&gt;
|-&lt;br /&gt;
| Disabled&lt;br /&gt;
| half?&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| full&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| full&lt;br /&gt;
| full\half (note 1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note 1: Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
&amp;quot;Linear&amp;quot; is probably the best compromise from the algorithms that VLC implements.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
This information is based on a quick reading of VLC&#039;s source code.  Please update this page if it contains any errors.&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Codec&amp;diff=18152</id>
		<title>Codec</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Codec&amp;diff=18152"/>
		<updated>2010-12-17T23:29:57Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: Adding vob to the codecs list.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;See Also the [http://www.videolan.org/doc/vlc-user-guide/en/ch02.html#id291422 Official documentation: list of modules]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{wikipedia|List of codecs}}&lt;br /&gt;
{{mmwiki|Video codecs|Category:Video_Codecs}}&lt;br /&gt;
{{mmwiki|Audio codecs|Category:Audio_Codecs}}&lt;br /&gt;
{{mmwiki|Containers|Category:Container_Formats}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Codec&#039;&#039;&#039; is short for coder/decoder.&lt;br /&gt;
&lt;br /&gt;
To know what codecs are readable with {{VLC}}, &#039;&#039;see [[VLC Features Formats]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For [http://discerning.com/topics/audiovideo/video_encoding.html portability to almost all decoders], we recommend&lt;br /&gt;
using the [[MPEG-1]] standard of &amp;lt;code&amp;gt;&#039;&#039;&#039;vcodec&#039;&#039;&#039;=&#039;&#039;&#039;mp1v&#039;&#039;&#039;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&#039;&#039;&#039;acodec&#039;&#039;&#039;=&#039;&#039;&#039;mpga&#039;&#039;&#039;&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;&#039;&#039;&#039;mux&#039;&#039;&#039;=&#039;&#039;&#039;mpeg1&#039;&#039;&#039;&amp;lt;/code&amp;gt;.  See the [[MPEG]] Wiki page for more details on the other MPEG standards.&lt;br /&gt;
&lt;br /&gt;
To save a file in a different codec, you can use the transcoding [[wizard]] or [[transcode]] from the [[command prompt]] with a command like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vlc file --sout=&#039;#transcode{&#039;&#039;&#039;vcodec&#039;&#039;&#039;=&#039;&#039;&#039;&#039;&#039;mp1v&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;vb&#039;&#039;&#039;=&#039;&#039;&#039;&#039;&#039;1024&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;acodec&#039;&#039;&#039;=&#039;&#039;&#039;&#039;&#039;mpga&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;ab&#039;&#039;&#039;=&#039;&#039;&#039;&#039;&#039;128&#039;&#039;&#039;&#039;&#039;}:std{access=file, &#039;&#039;&#039;mux&#039;&#039;&#039;=&#039;&#039;&#039;&#039;&#039;mpeg1&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;url&#039;&#039;&#039;=&#039;&#039;&#039;&#039;&#039;C:\file_name.mpg&#039;&#039;&#039;&#039;&#039;}&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Video Codecs==&lt;br /&gt;
Use the &amp;quot;name&amp;quot; part in your &amp;lt;code&amp;gt;vcodec=...&amp;lt;/code&amp;gt; commands&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;description&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mp1v&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-1]] Video - recommended for portability&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mp2v&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-2]] Video - used in DVDs&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mp4v&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-4]] Video&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SVQ1&#039;&#039;&#039;&lt;br /&gt;
| [[Sorenson Video]] v1&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SVQ3&#039;&#039;&#039;&lt;br /&gt;
| Sorenson Video v3&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;DVDv&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-2|VOB]] Video - used in DVDs&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;WMV1&#039;&#039;&#039;&lt;br /&gt;
| [[Windows Media Video]] v1&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;WMV2&#039;&#039;&#039;&lt;br /&gt;
| Windows Media Video v2&lt;br /&gt;
|-&lt;br /&gt;
| WMV3&lt;br /&gt;
| Windows Media Video v3, also called Windows Media 9 ([[Common_Problems#WMV_files|unsupported]])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;DVSD&#039;&#039;&#039;&lt;br /&gt;
| [[Digital Video]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;MJPG&#039;&#039;&#039;&lt;br /&gt;
| [[MJPEG]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;H263&#039;&#039;&#039;&lt;br /&gt;
| [[H263]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;h264&#039;&#039;&#039;&lt;br /&gt;
| [[H264]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;theo&#039;&#039;&#039;&lt;br /&gt;
| [[Theora]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;IV20&#039;&#039;&#039;&lt;br /&gt;
| [[Indeo Video]]&lt;br /&gt;
|-&lt;br /&gt;
| IV40&lt;br /&gt;
| Indeo Video version 4 or later ([[Common_Problems#Problems_playing_types_of_files|unsupported]])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;RV10&#039;&#039;&#039;&lt;br /&gt;
| [[Real Media Video]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;cvid&#039;&#039;&#039;&lt;br /&gt;
| [[Cinepak]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;VP31&#039;&#039;&#039;&lt;br /&gt;
| [[On2 VP]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;FLV1&#039;&#039;&#039;&lt;br /&gt;
| [[Flash Video]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;CYUV&#039;&#039;&#039;&lt;br /&gt;
| [[Creative YUV]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;HFYU&#039;&#039;&#039;&lt;br /&gt;
| [[Huffman YUV]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;MSVC&#039;&#039;&#039;&lt;br /&gt;
| [[Microsoft]] Video v1&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;MRLE&#039;&#039;&#039;&lt;br /&gt;
| Microsoft [[RLE]] Video&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;AASC&#039;&#039;&#039;&lt;br /&gt;
| [[Autodesc]] RLE Video&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;FLIC&#039;&#039;&#039;&lt;br /&gt;
| [[FLIC]] video&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;QPEG&#039;&#039;&#039;&lt;br /&gt;
| [[QPEG]] Video&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;VP8&#039;&#039;&#039;&lt;br /&gt;
| [[VP8]] Video&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Audio Codecs==&lt;br /&gt;
Use the &amp;quot;name&amp;quot; part in your &amp;lt;code&amp;gt;acodec=...&amp;lt;/code&amp;gt; commands&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;description&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mpga&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG audio]] (recommended for portability)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mp3&#039;&#039;&#039;&lt;br /&gt;
| [[MP3 audio|MPEG Layer 3 audio]]&amp;lt;!-- - see also [[How To/Create an MP3]] --&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;mp4a&#039;&#039;&#039;&lt;br /&gt;
| [[MP4 audio]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;a52&#039;&#039;&#039;&lt;br /&gt;
| [[Dolby Digital]] ([[A52]] or [[AC3]])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;vorb&#039;&#039;&#039;&lt;br /&gt;
| [[Vorbis]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;spx&#039;&#039;&#039;&lt;br /&gt;
| [[Speex]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;flac&#039;&#039;&#039; or &#039;&#039;&#039;fl32&#039;&#039;&#039;&lt;br /&gt;
| [[FLAC]]&lt;br /&gt;
|}&lt;br /&gt;
===No-&amp;quot;name&amp;quot; Codecs===&lt;br /&gt;
&lt;br /&gt;
* [[DTS]]&lt;br /&gt;
* [[AAC (Advanced Audio Coding)]]&lt;br /&gt;
* [[Windows Media Audio]]&lt;br /&gt;
* [[DV Audio]]&lt;br /&gt;
* [[LPCM]]&lt;br /&gt;
* [[ADPCM]]&lt;br /&gt;
* [[AMR]]&lt;br /&gt;
* [[QuickTime Audio]]&lt;br /&gt;
* [[Real Audio]]&lt;br /&gt;
* [[MACE]]&lt;br /&gt;
* [[MusePack]]&lt;br /&gt;
&lt;br /&gt;
==Subtitle Codecs==&lt;br /&gt;
&lt;br /&gt;
See [[SubtitlesCodec|Subtitles Codec]] for more information.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;CVD&#039;&#039;&#039;&lt;br /&gt;
| [[CVD|CVD Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SVCD (Overlay Graphics)&#039;&#039;&#039;&lt;br /&gt;
| [http://www.vcdimager.org/pub/vcdimager/manuals/0.7/svcd-ogt-subtitles.html SVCD Subtitle (OGT) Information]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SRT&#039;&#039;&#039;&lt;br /&gt;
| [[SubRip|Subrip Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SSA/ASS&#039;&#039;&#039;&lt;br /&gt;
| [[SSA|Sub Station Alpha or Advanced Sub Station Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SubViewer&#039;&#039;&#039;&lt;br /&gt;
| [[Subviewer|SubViewer Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;VobSub&#039;&#039;&#039;&lt;br /&gt;
| [[VobSub|VobSub Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;DVD subtitles&#039;&#039;&#039;&lt;br /&gt;
| [[DVD Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;VPlayer&#039;&#039;&#039;&lt;br /&gt;
| [[Vplayer Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;MicroDVD&#039;&#039;&#039;&lt;br /&gt;
| [[MicroDVD Subtitles]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Sami&#039;&#039;&#039;&lt;br /&gt;
| [[Sami Subtitles]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
[[Link title]]&lt;br /&gt;
&lt;br /&gt;
== Muxers ==&lt;br /&gt;
Use the &amp;quot;name&amp;quot; part in your &amp;lt;code&amp;gt;mux=...&amp;lt;/code&amp;gt; commands&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;description&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mpeg1&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-1]] multiplexing - recommended for portability.  Only works with mp1v video and mpga audio, but works on all known players&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;ts&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-TS|MPEG Transport Stream]], primarily used for streaming MPEG.  Also used in DVDs&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;ps&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-PS|MPEG Program Stream]], primarily used for saving MPEG data to disk.&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;mp4&#039;&#039;&#039;&lt;br /&gt;
| [[MPEG-4|MPEG-4 mux format]], used only for MPEG-4 video and MPEG audio.&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;avi&#039;&#039;&#039;&lt;br /&gt;
| [[AVI]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;asf&#039;&#039;&#039;&lt;br /&gt;
| [[ASF]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;dummy&#039;&#039;&#039;&lt;br /&gt;
| [[dummy]] output, can be used in creation of [[MP3]] files.&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;ogg&#039;&#039;&#039;&lt;br /&gt;
| [http://www.xiph.org/ Xiph.org&#039;s] [[ogg]] container format.  Can contain audio, video, and metadata.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[FourCC]] and http://www.fourcc.org/&lt;br /&gt;
* http://discerning.com/topics/audiovideo/video_encoding.html&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18151</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18151"/>
		<updated>2010-12-17T23:20:43Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called deinterlacing.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
VLC has deinterlacing disabled by default.  You can enable it for the current video by using the menus or right-clicking.&lt;br /&gt;
&lt;br /&gt;
To make deinterlacing the default, go to Preferences/Video/Filters; also change the deinterlace mode in Preferences/Video/Filters/Deinterlace.  Unfortunately, VLC will then apply deinterlacing even if the original is not interlaced, which is a really bad idea.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
(is this what 100fps.com calls &amp;quot;do nothing&amp;quot;?) Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
=== X ===&lt;br /&gt;
Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This may be similar to what 100fps.com calls Area based?&lt;br /&gt;
=== Yadif ===&lt;br /&gt;
Display a picture as the other deinterlacer like discard and X.&lt;br /&gt;
=== Yadif (2x) ===&lt;br /&gt;
Bob with Yadif 2x interpolation like linear: Instead of 25fps you could try this but it may skip some of the frames when you use this deinterlacer.&lt;br /&gt;
&lt;br /&gt;
== Resulting framerate and resolution ==&lt;br /&gt;
In the table below, Fps is how often VLC will update the picture on your monitor.  Half is 25 or 30 times per second, while full is 50 or 60 times.&lt;br /&gt;
&lt;br /&gt;
Picture lines is how many lines there is in the picture that VLC generates.  Half equals the number of lines in a half-picture, while full is twice as many.  That picture will be scaled before being displayed, so this just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
{| valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Method&lt;br /&gt;
! Fps&lt;br /&gt;
! Picture lines&lt;br /&gt;
|-&lt;br /&gt;
| Disabled&lt;br /&gt;
| half?&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| full&lt;br /&gt;
| full\half (note 1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note 1: Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
&amp;quot;Linear&amp;quot; is probably the best compromise from the algorithms that VLC implements.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
This information is based on a quick reading of VLC&#039;s source code.  Please update this page if it contains any errors.&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18150</id>
		<title>Deinterlacing</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Deinterlacing&amp;diff=18150"/>
		<updated>2010-12-17T23:18:50Z</updated>

		<summary type="html">&lt;p&gt;Brandondorf9999: Adding new deinterlacer options.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Deinterlacing&#039;&#039;&#039; is the process of converting source material that contains alternating half-pictures to a computer screen that displays a full picture at a time.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
TVs do not display one picture-frame at a time.  Instead, they display alternately all the odd lines and all the even lines of the picture.  That way, they can get a fast display rate of 50 or 60 half-pictures per second, without the bandwidth requirements that full pictures have.&lt;br /&gt;
&lt;br /&gt;
Computers however, do display full pictures, typically at a rate of at least 60 pictures per second.  So to get optimum quality when displaying TV-material (such as DVDs) on a computer, the player can convert the alternating half-pictures to full pictures.  That is called deinterlacing.&lt;br /&gt;
&lt;br /&gt;
A very good description of the problem and the various ways of deinterlacing can be found at [http://www.100fps.com/ 100fps.com].&lt;br /&gt;
&lt;br /&gt;
== VLC settings ==&lt;br /&gt;
VLC has deinterlacing disabled by default.  You can enable it for the current video by using the menus or right-clicking.&lt;br /&gt;
&lt;br /&gt;
To make deinterlacing the default, go to Preferences/Video/Filters; also change the deinterlace mode in Preferences/Video/Filters/Deinterlace.  Unfortunately, VLC will then apply deinterlacing even if the original is not interlaced, which is a really bad idea.&lt;br /&gt;
&lt;br /&gt;
== VLC deinterlace modes ==&lt;br /&gt;
VLC has the following deinterlace modes.  Refer to 100fps.com for illustrations.  VLC does not have anything like what 100fps.com calls Motion blur, Hybrid, and Motion compensation.&lt;br /&gt;
&lt;br /&gt;
=== Disabled ===&lt;br /&gt;
(is this what 100fps.com calls &amp;quot;do nothing&amp;quot;?) Other names: &amp;quot;weave&amp;quot; or &amp;quot;no deinterlacing&amp;quot;. Should be used for PsF content.&lt;br /&gt;
&lt;br /&gt;
=== Blend ===&lt;br /&gt;
Each line of the picture is created as the average of a line from the odd and a line from the even half-pictures.  This ignores the fact that they are supposed to be displayed at different times.&lt;br /&gt;
=== Bob ===&lt;br /&gt;
Display each half-picture like a full picture, by simply displaying each line twice. Preserves temporal resolution of interlaced video.&lt;br /&gt;
&lt;br /&gt;
=== Discard ===&lt;br /&gt;
Only display one of the half-pictures, discard the other. Other name: &amp;quot;single field&amp;quot;. Both temporal and vertical spatial resolutions are halved. Can be used for slower computers or to give interlaced video movie-like look with characteristic judder.&lt;br /&gt;
&lt;br /&gt;
=== Linear ===&lt;br /&gt;
Bob with linear interpolation: instead of displaying each line twice, line 2 is created as the average of line 1 and 3, etc.&lt;br /&gt;
=== Mean ===&lt;br /&gt;
Display a half-picture that is created as the average of the two original half-pictures.&lt;br /&gt;
=== X ===&lt;br /&gt;
Generates a full picture taking the odd lines from the odd half-picture, and creating the even lines through a complicated algorithm that uses information from both half-pictures.&lt;br /&gt;
&lt;br /&gt;
This may be similar to what 100fps.com calls Area based?&lt;br /&gt;
=== Yadif ===&lt;br /&gt;
Display a picture as the other deinterlacer like discard and X.&lt;br /&gt;
=== Yadif (2x) ===&lt;br /&gt;
Bob with Yadif 2x interpolation like linear: Instead of 25fps you could try this but it may skip some of the frames when you use this deinterlacer.&lt;br /&gt;
&lt;br /&gt;
== Resulting framerate and resolution ==&lt;br /&gt;
In the table below, Fps is how often VLC will update the picture on your monitor.  Half is 25 or 30 times per second, while full is 50 or 60 times.&lt;br /&gt;
&lt;br /&gt;
Picture lines is how many lines there is in the picture that VLC generates.  Half equals the number of lines in a half-picture, while full is twice as many.  That picture will be scaled before being displayed, so this just tells us how detailed the picture could potentially be.&lt;br /&gt;
&lt;br /&gt;
{| valign=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Method&lt;br /&gt;
! Fps&lt;br /&gt;
! Picture lines&lt;br /&gt;
|-&lt;br /&gt;
| Disabled&lt;br /&gt;
| half?&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Blend&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Bob&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Discard&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Linear&lt;br /&gt;
| full&lt;br /&gt;
| half/full (note 1)&lt;br /&gt;
|-&lt;br /&gt;
| Mean&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| half&lt;br /&gt;
| full&lt;br /&gt;
|-&lt;br /&gt;
| Yadif&lt;br /&gt;
| half&lt;br /&gt;
| half&lt;br /&gt;
|-&lt;br /&gt;
| Yadif (2x)&lt;br /&gt;
| full&lt;br /&gt;
| full\half&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note 1: Bob converts the half-pictures to full-pictures by simply showing each line twice; so while the full number of lines are displayed, the true resolution is only half.  The same goes for linear, though it&#039;s a bit smarter about the process.&lt;br /&gt;
&lt;br /&gt;
== Recommendation ==&lt;br /&gt;
&amp;quot;Linear&amp;quot; is probably the best compromise from the algorithms that VLC implements.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
This information is based on a quick reading of VLC&#039;s source code.  Please update this page if it contains any errors.&lt;/div&gt;</summary>
		<author><name>Brandondorf9999</name></author>
	</entry>
</feed>