<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=CutFinder</id>
	<title>CutFinder - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=CutFinder"/>
	<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=CutFinder&amp;action=history"/>
	<updated>2026-08-24T15:12:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=CutFinder&amp;diff=964&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=CutFinder&amp;diff=964&amp;oldid=prev"/>
		<updated>2013-05-09T21:34:45Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Example for finding the best frame to concatenate 2 video streams. If the LOWER LEFT image shows the least differences, the cut-point is okay!&lt;br /&gt;
&lt;br /&gt;
 # this is the framenumber of the first clip which correspondents &lt;br /&gt;
 # to one of the first frames of the second clip&lt;br /&gt;
 criticalFrame = 80020&lt;br /&gt;
 # Both video sources with framenumbers&lt;br /&gt;
 a = [[AviSource]](&amp;quot;Schtonk_1.avi&amp;quot;).[[ShowFrameNumber]](true)&lt;br /&gt;
 b = AviSource(&amp;quot;Schtonk_2.avi&amp;quot;).ShowFrameNumber(true)&lt;br /&gt;
 &lt;br /&gt;
 c = a.[[Trim]](criticalFrame,0)&lt;br /&gt;
 &lt;br /&gt;
 d = [[Subtract]](b,c).[[Levels]](64,1,192,0,255)&lt;br /&gt;
 e = Subtract(b,c.Trim(1,0)).Levels(64,1,192,0,255)&lt;br /&gt;
 &lt;br /&gt;
 return [[StackVertical]]( \&lt;br /&gt;
    [[StackHorizontal]](c.[[Subtitle]](&amp;quot;clip a&amp;quot;), b.Subtitle(&amp;quot;clip b&amp;quot;)), \&lt;br /&gt;
    StackHorizontal(d.Subtitle(&amp;quot;clip a ^ clip b&amp;quot;), e.Subtitle(&amp;quot;clip a+1 ^ clip b&amp;quot;)))&lt;br /&gt;
&lt;br /&gt;
Back to [[Shared functions]].&lt;br /&gt;
[[Category:Shared_functions]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>