ShowFiveVersions
m (1 revision) |
(add link to avs+ documentation) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | <div {{BlueBox2|40|0|3px solid purple}} > | ||
+ | {{AvsPlusFullname}}<br> | ||
+ | Up-to-date documentation: [https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/showfive.html https://avisynthplus.readthedocs.io] | ||
+ | </div> | ||
+ | |||
+ | |||
{{Template:FuncDef|ShowFiveVersions(clip ''clip1'', clip ''clip2'', clip ''clip3'', clip ''clip4'', clip ''clip5'')}} | {{Template:FuncDef|ShowFiveVersions(clip ''clip1'', clip ''clip2'', clip ''clip3'', clip ''clip4'', clip ''clip5'')}} | ||
Line 19: | Line 25: | ||
[[Category:Internal filters]] | [[Category:Internal filters]] | ||
+ | [[Category:Debugging/Diagnostic filters]] |
Latest revision as of 06:13, 18 September 2022
AviSynth+
Up-to-date documentation: https://avisynthplus.readthedocs.io
ShowFiveVersions(clip clip1, clip clip2, clip clip3, clip clip4, clip clip5)
ShowFiveVersions takes five video streams and combines them in a staggered arrangement from left to right. The only use for this (that I can think of) is to help find the NTSC pulldown pattern. You can do this using code like this:
# view all five pulldown patterns at once: DoubleWeave() # put a resizing filter here if necessary (see below): a = Pulldown(0, 2).Subtitle("0, 2") b = Pulldown(1, 3).Subtitle("1, 3") c = Pulldown(2, 4).Subtitle("2, 4") d = Pulldown(0 ,3).Subtitle("0 ,3") e = Pulldown(1, 4).Subtitle("1, 4") ShowFiveVersions(a, b, c, d, e)
This code displays the five pulldown patterns with some text identifying which is which. You can then look through the movie and pick the pattern which avoids blending frames. (In ordinary pulldown, there will actually be two which work equally well. Look at the diagrams in the Pulldown filter section to see why.) If none of the five work properly, then you're dealing with one of the more perverse forms of pulldown and you might want to use PeculiarBlend.
If you're planning to capture at a high resolution and then scale down after, you should place the ReduceBy2 or BilinearResize or whatever just after the DoubleWeave statement in the code above. Before DoubleWeave it won't work correctly, and if you postpone it any further, ShowFiveVersions will produce a really big frame.