<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.selur.net/index.php?action=history&amp;feed=atom&amp;title=Vapoursynth_MC_Temporal_Denoise</id>
	<title>Vapoursynth MC Temporal Denoise - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.selur.net/index.php?action=history&amp;feed=atom&amp;title=Vapoursynth_MC_Temporal_Denoise"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_MC_Temporal_Denoise&amp;action=history"/>
	<updated>2026-11-19T05:27:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.selur.net/index.php?title=Vapoursynth_MC_Temporal_Denoise&amp;diff=575&amp;oldid=prev</id>
		<title>Selur: Update to current Hybrid behaviour; code as &lt;pre&gt; (via update-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_MC_Temporal_Denoise&amp;diff=575&amp;oldid=prev"/>
		<updated>2026-11-16T08:50:51Z</updated>

		<summary type="html">&lt;p&gt;Update to current Hybrid behaviour; code as &amp;lt;pre&amp;gt; (via update-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:50, 16 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Default settings on a 10-bit YUV 4:2:0 source (machine with a discrete GPU):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Default settings on a 10-bit YUV 4:2:0 source (machine with a discrete GPU):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight lang=&quot;python&quot;&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# denoising using MCTemporalDenoise&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# denoising using MCTemporalDenoise&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;clip = denoise.MCTemporalDenoise(clip, settings=&amp;quot;low&amp;quot;, ncpu=1, tools={&amp;#039;mv&amp;#039;: &amp;#039;mvgpu&amp;#039;, &amp;#039;expr&amp;#039;: &amp;#039;akarin&amp;#039;, &amp;#039;dfttest&amp;#039;: &amp;#039;neo_fft&amp;#039;, &amp;#039;dctfilter&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;rg&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;median&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;ttempsmooth&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;limiter&amp;#039;: &amp;#039;std&amp;#039;, &amp;#039;edgemasks&amp;#039;: &amp;#039;edgemasks&amp;#039;, &amp;#039;fft3d&amp;#039;: &amp;#039;neo_fft&amp;#039;, &amp;#039;scd&amp;#039;: &amp;#039;scd&amp;#039;})&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;clip = denoise.MCTemporalDenoise(clip, settings=&amp;quot;low&amp;quot;, ncpu=1, tools={&amp;#039;mv&amp;#039;: &amp;#039;mvgpu&amp;#039;, &amp;#039;expr&amp;#039;: &amp;#039;akarin&amp;#039;, &amp;#039;dfttest&amp;#039;: &amp;#039;neo_fft&amp;#039;, &amp;#039;dctfilter&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;rg&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;median&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;ttempsmooth&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;limiter&amp;#039;: &amp;#039;std&amp;#039;, &amp;#039;edgemasks&amp;#039;: &amp;#039;edgemasks&amp;#039;, &amp;#039;fft3d&amp;#039;: &amp;#039;neo_fft&amp;#039;, &amp;#039;scd&amp;#039;: &amp;#039;scd&amp;#039;})&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== How Hybrid calls it ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== How Hybrid calls it ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Selur</name></author>
	</entry>
	<entry>
		<id>https://wiki.selur.net/index.php?title=Vapoursynth_MC_Temporal_Denoise&amp;diff=235&amp;oldid=prev</id>
		<title>Selur: New filter page (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_MC_Temporal_Denoise&amp;diff=235&amp;oldid=prev"/>
		<updated>2026-11-14T20:53:28Z</updated>

		<summary type="html">&lt;p&gt;New filter page (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right; margin:0 0 1em 1em;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;MC Temporal Denoise&amp;#039;&amp;#039;&amp;#039; (MCTemporalDenoise, MCTD) is a motion-compensated temporal denoiser. Five presets set its strength; every group of values can be overridden by hand.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Filtering → Vapoursynth → DeNoise&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Vapoursynth_MCTemporalDenoise.png|none|MC Temporal Denoise controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
# A prefiltered copy (DFTTest) is used to search the motion.&lt;br /&gt;
# Each frame is averaged with its motion-compensated neighbors (MDegrain), once or – with &amp;#039;&amp;#039;TwoPass&amp;#039;&amp;#039; – twice; a limiter keeps the changes in check.&lt;br /&gt;
# Optionally: deblocking before denoising, an FFT3D post pass, and for the high presets a stabilizing step for edges and flat areas.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Settings&amp;#039;&amp;#039;&amp;#039;: very low, low (default), medium, high, very high. Without the &amp;#039;&amp;#039;Custom&amp;#039;&amp;#039; groups only the preset is written, and the script&amp;#039;s preset table decides; the fields show the preset&amp;#039;s values.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Preset !! Radius !! Sigma !! TwoPass !! Limit / Limit 2 !! Chroma !! SAD / SCD1 !! SCD2 !! Pel !! Stabilize&lt;br /&gt;
|-&lt;br /&gt;
| very low || 1 || 2 || off || -1 / -1 || off || 200 || 90 || 1 || off&lt;br /&gt;
|-&lt;br /&gt;
| low || 2 || 4 || off || -1 / -1 || off || 300 || 100 || 2 || off&lt;br /&gt;
|-&lt;br /&gt;
| medium || 3 || 8 || off || -1 / -1 || on || 400 || 100 || 2 || off&lt;br /&gt;
|-&lt;br /&gt;
| high || 2 || 12 || on || -1 / 0 || on || 500 || 130 || 2 || on&lt;br /&gt;
|-&lt;br /&gt;
| very high || 3 || 16 || on || 0 / 0 || on || 600 || 130 || 2 || on&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Custom groups&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Group !! Controls (parameters) !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| Custom Denoise || Radius (radius, 1–6), Sigma (sigma), TwoPass (twopass), Limit / Limit 2 (limit, limit2, -1–255), Post (post, 0–40), Chroma (chroma) || Frames on each side, prefilter strength, second pass, limits (-1 adaptive, 0 none, above 0 the largest change on the 8-bit scale), FFT3D post pass, chroma.&lt;br /&gt;
|-&lt;br /&gt;
| Custom Deblock || DeBlock before denoise (deblock), Use Deblock_QED (useQED), Quant 1/2 (quant1, quant2) || Deblocking before denoising; the quantizers only for Deblock_QED.&lt;br /&gt;
|-&lt;br /&gt;
| Custom Block/Overlap || bwbh, owoh, Blocksize, Overlap || FFT3D and motion search block sizes; automatically 16/8 above 1024×576, otherwise 8/4.&lt;br /&gt;
|-&lt;br /&gt;
| Custom FFT3D || BT (bt, 0–5) || Temporal block size of the FFT3D post pass.&lt;br /&gt;
|-&lt;br /&gt;
| Custom MVTools || SAD 1/2, SCD 1/2, Truemotion, Global, Pel, Pel search, Search, Searchparam, Sharp, DCT || Motion search settings; the presets use hexagon search. Search is ignored with mvgpu.&lt;br /&gt;
|}&lt;br /&gt;
&amp;#039;&amp;#039;nCPU&amp;#039;&amp;#039; (1–10) is always written and only used by FFT3D.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tools&amp;#039;&amp;#039;&amp;#039;: MV, Expr, DFTTest, and depending on the settings FFT3D (post pass), DCTFilter (Deblock_QED) and the stabilizing step&amp;#039;s Edgemasks, Median, TTempSmooth and SCD.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Default settings on a 10-bit YUV 4:2:0 source (machine with a discrete GPU):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# denoising using MCTemporalDenoise&lt;br /&gt;
clip = denoise.MCTemporalDenoise(clip, settings=&amp;quot;low&amp;quot;, ncpu=1, tools={&amp;#039;mv&amp;#039;: &amp;#039;mvgpu&amp;#039;, &amp;#039;expr&amp;#039;: &amp;#039;akarin&amp;#039;, &amp;#039;dfttest&amp;#039;: &amp;#039;neo_fft&amp;#039;, &amp;#039;dctfilter&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;rg&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;median&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;ttempsmooth&amp;#039;: &amp;#039;zsmooth&amp;#039;, &amp;#039;limiter&amp;#039;: &amp;#039;std&amp;#039;, &amp;#039;edgemasks&amp;#039;: &amp;#039;edgemasks&amp;#039;, &amp;#039;fft3d&amp;#039;: &amp;#039;neo_fft&amp;#039;, &amp;#039;scd&amp;#039;: &amp;#039;scd&amp;#039;})&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How Hybrid calls it ==&lt;br /&gt;
* MC Temporal Denoise works on YUV clips; width and height must be divisible by 4. The script pads the clip to the block size internally and crops it back.&lt;br /&gt;
* Sigma, Post and the limits are on the 8-bit scale; the script scales them.&lt;br /&gt;
* MC Temporal Denoise also offers the [[Vapoursynth common filter options|common options]] (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick).&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== The script ===&lt;br /&gt;
The function is a port of the AviSynth MCTemporalDenoise (by LaTo) that came to VapourSynth through havsfunc. Hybrid&amp;#039;s version takes its plugins from the Tools group.&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* [https://github.com/Selur/VapoursynthScriptsInHybrid VapoursynthScriptsInHybrid] (the script collection Hybrid uses)&lt;br /&gt;
* [https://github.com/HomeOfVapourSynthEvolution/havsfunc havsfunc]&lt;br /&gt;
* Hybrid&amp;#039;s tooltips&lt;br /&gt;
&lt;br /&gt;
[[Category:Vapoursynth Filters]]&lt;/div&gt;</summary>
		<author><name>Selur</name></author>
	</entry>
</feed>