<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://avisynth.nl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=DumpFilterGraph</id>
		<title>DumpFilterGraph - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=DumpFilterGraph"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=DumpFilterGraph&amp;action=history"/>
		<updated>2026-05-25T22:26:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php?title=DumpFilterGraph&amp;diff=12202&amp;oldid=prev</id>
		<title>Pinterf: /* DumpFilterGraph */ explain 'mode'</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=DumpFilterGraph&amp;diff=12202&amp;oldid=prev"/>
				<updated>2021-01-31T17:51:36Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;DumpFilterGraph: &lt;/span&gt; explain &amp;#039;mode&amp;#039;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:51, 31 January 2021&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:{{Par2|mode|int|0}} &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:{{Par2|mode|int|0}} &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rfu.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;0: basic 1: extended (parameters enabled)&amp;#160; 2: extended (no parameters)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:{{Par2|nframes|int|-1}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:{{Par2|nframes|int|-1}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pinterf</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=DumpFilterGraph&amp;diff=12200&amp;oldid=prev</id>
		<title>Pinterf: DumpFilterGraph family: add content</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=DumpFilterGraph&amp;diff=12200&amp;oldid=prev"/>
				<updated>2021-01-31T17:37:30Z</updated>
		
		<summary type="html">&lt;p&gt;DumpFilterGraph family: add content&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;max-width:62em&amp;quot; &amp;gt;&lt;br /&gt;
==== Filter graph dump functions in general ==== &lt;br /&gt;
{{AvsPluscon}} &lt;br /&gt;
With these functions we can output the flow of filtering as a graph. Put the beginning of the avs script and call on the SetGraphAnalysis(true) and insert DumpFilterGraph() at the end to dump the filter graph.&lt;br /&gt;
These helper functions were first provided in the Neo fork of Avisynth+ by Nekopanda.&lt;br /&gt;
&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
  SetGraphAnalysis(true)&lt;br /&gt;
  srcfile=&amp;quot;...&amp;quot;&lt;br /&gt;
  LWLibavVideoSource(srcfile)&lt;br /&gt;
  QTGMC()&lt;br /&gt;
  DumpFilterGraph(&amp;quot;graph.txt&amp;quot;, mode=2)&lt;br /&gt;
&lt;br /&gt;
Since it is output in dot format, it can be converted to an image with Graphviz as shown below.&lt;br /&gt;
&lt;br /&gt;
  dot -Tsvg graph.txt -o graph.svg&lt;br /&gt;
&lt;br /&gt;
==== SetGraphAnalysis ====&lt;br /&gt;
{{FuncDef|SetGraphAnalysis(bool ''OnOff'')}} &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:{{Par2|OnOff|bool|}}&lt;br /&gt;
:: Enables (True) or disables (False) the insertion of graph nodes into the instantiated filter.&lt;br /&gt;
To output a filter graph, the filter must have a graph node inserted.&lt;br /&gt;
Inserting a graph node increases the number of internal function calls, which can result in a slight performance penalty.&lt;br /&gt;
(In most cases, I (Nekopanda) don't think there is any observable performance degradation.)&lt;br /&gt;
&lt;br /&gt;
==== DumpFilterGraph ====&lt;br /&gt;
{{FuncDef|DumpFilterGraph (clip ''clip'', string ''outfile'', int ''mode'', int ''nframes'', bool ''repeat'')}} &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:{{Par2|clip|clip|}}&lt;br /&gt;
:: Clip to output the filter graph.&lt;br /&gt;
&lt;br /&gt;
:{{Par2|outfile|string|&amp;quot;&amp;quot;}}&lt;br /&gt;
:: Output file path.&lt;br /&gt;
&lt;br /&gt;
:{{Par2|mode|int|0}} &lt;br /&gt;
:: rfu.&lt;br /&gt;
&lt;br /&gt;
:{{Par2|nframes|int|-1}}&lt;br /&gt;
::Outputs a filter graph when processing a specified frame. The cache size and memory usage of each filter at that time are output together. This is useful when you want to know the memory usage of each filter. If it is -1, it will be output when DumpFilterGraph is called (before the frame is processed).&lt;br /&gt;
&lt;br /&gt;
:{{Par2|repeat|bool|false}} &lt;br /&gt;
:: Only valid if nframes&amp;gt; 0. Outputs a repeating filter graph at nframes intervals.&lt;br /&gt;
&lt;br /&gt;
==== Related Links ====&lt;br /&gt;
&lt;br /&gt;
[https://github.com/nekopanda/AviSynthPlus/wiki/Avisynth-Neo Original documentation (in Japanese) of Neo fork by Nekopanda]&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal filters]]&lt;br /&gt;
[[Category:Debugging/Diagnostic filters]]&lt;/div&gt;</summary>
		<author><name>Pinterf</name></author>	</entry>

	</feed>