<?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_StabilizeIT</id>
	<title>Vapoursynth StabilizeIT - 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_StabilizeIT"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_StabilizeIT&amp;action=history"/>
	<updated>2026-11-20T06:30:43Z</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_StabilizeIT&amp;diff=619&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_StabilizeIT&amp;diff=619&amp;oldid=prev"/>
		<updated>2026-11-16T08:52:18Z</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;StabilizeIT&amp;#039;&amp;#039;&amp;#039; stabilizes shaky footage including zoom and rotation: it keeps slow, intended camera moves and removes fast shake.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Filtering → Vapoursynth → Frame → Stabilize&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Vapoursynth_StabilizeIT.png|none|StabilizeIT controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
Motion vectors are computed on a prefiltered copy of the clip (denoised, scaled down and back up). DepanAnalyse turns them into the global motion of each frame, and DepanStabilise smooths that motion with a low-pass filter (the vibration &amp;#039;&amp;#039;CutOff&amp;#039;&amp;#039;) and compensates the frames. Movement slower than the cutoff stays; faster movement is treated as shake. Unlike [[Vapoursynth Stab|Stab]] it also corrects rotation and zoom.&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;
| Divisor || div || 1.0 – 10.0 || 2.0 || Downscale factor of the prefiltered analysis copy.&lt;br /&gt;
|-&lt;br /&gt;
| RG mode || rgMode || 0 – 24 || 4 || RemoveGrain mode used twice in the prefilter.&lt;br /&gt;
|-&lt;br /&gt;
| Zoom (init/max) || initZoom / zoomMax || 1.0 – 10.0 each || 1.0 / 1.0 || Initial zoom, and largest additional zoom used to hide the borders.&lt;br /&gt;
|-&lt;br /&gt;
| Rotation (max) || rotMax || 0 – 180° || 10 || Largest rotation correction.&lt;br /&gt;
|-&lt;br /&gt;
| PAR || pixelAspect || 0.1 – 10.0 || 1.0 || Pixel aspect ratio for analysis and compensation; not read from the clip.&lt;br /&gt;
|-&lt;br /&gt;
| SCD 1/2 || thSCD1 / thSCD2 || 1 – 16320 / 1 – 255 || 800 / 150 || Scene change thresholds of the motion analysis (block SAD limit / number of changed blocks).&lt;br /&gt;
|-&lt;br /&gt;
| Method || stabMethod || 0, 1 || 1 || Stabilization method: 0 = inertial, 1 = average.&lt;br /&gt;
|-&lt;br /&gt;
| CutOff || cutOff || 0.01 – 1.0 Hz || 0.33 || Vibration frequency cutoff; slower movement is kept.&lt;br /&gt;
|-&lt;br /&gt;
| Error || anaError || 0 – 100 || 30 || Largest mean motion difference the analysis accepts.&lt;br /&gt;
|-&lt;br /&gt;
| Tools: MV || – || mvutensils, mv || – || MVTools implementation.&lt;br /&gt;
|-&lt;br /&gt;
| Tools: RG || – || zsmooth, neo_smo || – || RemoveGrain implementation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Default settings on a 10-bit YUV 4:2:0 source (640x356):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# stabilizing using StabilizeIT&lt;br /&gt;
clip = fromDoom9.StabilizeIT(clip, tools={&amp;#039;mv&amp;#039;: &amp;#039;mvutensils&amp;#039;, &amp;#039;rg&amp;#039;: &amp;#039;zsmooth&amp;#039;})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How Hybrid calls it ==&lt;br /&gt;
* StabilizeIT works on 8–16-bit integer YUV; width and height must be multiples of 4. Other formats are converted first.&lt;br /&gt;
* Options are only written when they differ from the defaults; Hybrid&amp;#039;s defaults are the script&amp;#039;s defaults.&lt;br /&gt;
* Prefilter: RemoveGrain, Bilinear down by &amp;#039;&amp;#039;Divisor&amp;#039;&amp;#039;, RemoveGrain, Bilinear back up; motion search with 8×8 blocks without overlap.&lt;br /&gt;
* The scene change thresholds are not scaled by Hybrid; MVTools handles the bit depth.&lt;br /&gt;
* Frame count and frame rate do not change.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Origin ===&lt;br /&gt;
StabilizeIT is a VapourSynth port of VS_Fan&amp;#039;s AviSynth function of the same name from the doom9 forum. It needs a RemoveGrain implementation and MVTools with the DePan functions (or mvutensils).&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://forum.doom9.org/showthread.php?p=1769570 doom9 forum: StabilizeIT]&lt;br /&gt;
* [https://github.com/dubhater/vapoursynth-mvtools vapoursynth-mvtools]&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>