<?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_AVDenoise</id>
	<title>Vapoursynth AVDenoise - 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_AVDenoise"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_AVDenoise&amp;action=history"/>
	<updated>2026-11-19T08:31:56Z</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_AVDenoise&amp;diff=459&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_AVDenoise&amp;diff=459&amp;oldid=prev"/>
		<updated>2026-11-16T08:47:28Z</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:47, 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-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&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:&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:&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 av-denoise NL4D&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 av-denoise NL4D&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 = core.avd.NL4D(clip, accelerators=&amp;quot;vulkan&amp;quot;)&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 = core.avd.NL4D(clip, accelerators=&amp;quot;vulkan&amp;quot;)&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_AVDenoise&amp;diff=201&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_AVDenoise&amp;diff=201&amp;oldid=prev"/>
		<updated>2026-11-14T20:09:39Z</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;AVDenoise&amp;#039;&amp;#039;&amp;#039; is a GPU denoiser based on ChillFish8&amp;#039;s av-denoise. Both of its methods measure the noise of each scene themselves, so there is no sigma or strength to search for: the defaults are a good start, and a few scale factors adjust the result.&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_AVDenoise.png|none|AVDenoise controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NL4D&amp;#039;&amp;#039;&amp;#039; (default) is a spatio-temporal denoiser: it follows the motion into the neighbor frames and thresholds transform coefficients against the measured noise. It is the stronger method and keeps detail best.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NLMeans-HQ&amp;#039;&amp;#039;&amp;#039; is a non-local means denoiser with the same automatic noise estimate.&lt;br /&gt;
Both keep the input format.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* A GPU with Vulkan (Windows, Linux; on Linux Vulkan 1.4, no CPU-only Vulkan device) or Metal (macOS on Apple Silicon). Hybrid only offers the filter when such a GPU is found.&lt;br /&gt;
* The first frame of a new setting is slow: av-denoise tunes its GPU kernels (seconds up to about a minute) and caches the result, so later runs start fast.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Control !! Parameter !! Range / values !! Hybrid default !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| Method || – || NL4D, NLMeans-HQ || NL4D || Which method runs; the controls of the other method are disabled.&lt;br /&gt;
|-&lt;br /&gt;
| Preset || preset || base, slow || base || NL4D only. slow searches badly matched blocks again with a wider window.&lt;br /&gt;
|-&lt;br /&gt;
| HQ preset || preset || veryfast, fast, base, slow, veryslow || base || NLMeans-HQ only; mainly sets the temporal window (veryfast: current frame only, base: 2 frames on each side, veryslow: 8).&lt;br /&gt;
|-&lt;br /&gt;
| Channels || channel_mode || lumachroma, luma, chroma || lumachroma || Planes that are denoised (chroma still reads the luma plane).&lt;br /&gt;
|-&lt;br /&gt;
| Device || device || auto, discrete:0–2, integrated:0 || auto || GPU to use; auto lets the plugin choose.&lt;br /&gt;
|-&lt;br /&gt;
| Lambda scale || lambda_ht_scale || 0.5 – 3.0 || 1.0 || NL4D only; the main dial. Higher removes more noise and more fine detail.&lt;br /&gt;
|-&lt;br /&gt;
| Sigma scale || sigma_scale || 0.1 – 5.0 || 1.0 || Multiplies the measured noise level; the main dial of NLMeans-HQ (try 1.1 to clean more, 0.9 to keep more detail).&lt;br /&gt;
|-&lt;br /&gt;
| Spatial radius || spatial_radius || 0 – 32 || 0 (preset) || NL4D only; search area of (2r+1)² positions. Mainly a speed setting; 0 keeps the preset value (base: 9).&lt;br /&gt;
|-&lt;br /&gt;
| Temporal radius || temporal_radius || 0 – 8 || 0 (preset) || Frames searched on each side; 0 keeps the preset value (base: 2).&lt;br /&gt;
|-&lt;br /&gt;
| Refine || refine || 1 – 4 || 2 || NL4D only; half-width of the search around the predicted motion position.&lt;br /&gt;
|-&lt;br /&gt;
| Strength / Luma / Chroma strength || strength, luma_strength, chroma_strength || 0 – 5 || 0 (plugin value) || NLMeans-HQ only; multipliers on the measured noise, a last resort. Raise the chroma strength when color speckles survive.&lt;br /&gt;
|-&lt;br /&gt;
| Motion compensation || motion_compensation || on/off || off || NLMeans-HQ only; helps with fast motion, not recommended for most anime.&lt;br /&gt;
|-&lt;br /&gt;
| Noise map || noise_map || on/off || on || NL4D only; adapts the luma threshold to how noisy each brightness level is.&lt;br /&gt;
|-&lt;br /&gt;
| Pooled threshold || pooled_threshold || on/off || on || NL4D only; judges each frequency together with its neighbors, which keeps faint texture.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Default settings on a 10-bit YUV 4:2:0 source:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# denoising using av-denoise NL4D&lt;br /&gt;
clip = core.avd.NL4D(clip, accelerators=&amp;quot;vulkan&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How Hybrid calls it ==&lt;br /&gt;
* AVDenoise works on 8-, 10- and 12-bit integer YUV; 16-bit sources are converted to 12 bit, other formats to a supported YUV format.&lt;br /&gt;
* Hybrid always uses Vulkan (Metal on macOS); CUDA is not used.&lt;br /&gt;
* Values are only written when they differ from the defaults; parameters of the method that is not chosen are never written, and 0 radii, 0 strengths and the auto device are left out so that the preset or plugin values apply.&lt;br /&gt;
* AVDenoise also offers the [[Vapoursynth common filter options|common options]] (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick).&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== av-denoise ===&lt;br /&gt;
av-denoise is a Rust project (Apache-2.0) that provides a command-line tool, a library and a VapourSynth plugin, with Vulkan, CUDA, ROCm and Metal backends. It started from ideas in KNLMeansCL and FFmpeg&amp;#039;s nlmeans and handles 8–12-bit input. Its VapourSynth tuning guide recommends changing one dial at a time in small steps: &amp;#039;&amp;#039;lambda_ht_scale&amp;#039;&amp;#039; for NL4D and &amp;#039;&amp;#039;sigma_scale&amp;#039;&amp;#039; for NLMeans-HQ first, the per-channel strengths only as a last resort.&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* [https://github.com/ChillFish8/av-denoise av-denoise README]&lt;br /&gt;
* [https://github.com/ChillFish8/av-denoise/blob/main/docs/TUNING-VS.md av-denoise VapourSynth tuning guide]&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>