StackHorizontal: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs) m add link |
add link to avs+ documentation |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | <div style="max-width:62em" > | ||
<div {{BlueBox2|40|0|3px solid purple}} > | |||
{{AvsPlusFullname}}<br> | |||
Up-to-date documentation: [https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/stack.html https://avisynthplus.readthedocs.io] | |||
</div> | |||
{{Func2Def | |||
|StackHorizontal(clip ''clip1'', clip ''clip2'' [, ...]) | |||
|StackVertical(clip ''clip1'', clip ''clip2'' [, ...]) | |||
}} | |||
'''StackHorizontal''' takes two or more video clips and displays them together in left-to-right order. The heights of the images and their color formats must be the same. Most other information (sound track, frame rate, etc) is taken from the first clip - see [[Filters_with_multiple_input_clips|here]] for the resulting clip properties. | |||
'''StackVertical''' is similar, working top-to-bottom. | |||
'''Examples: ''' | '''Examples: ''' | ||
<div {{BoxWidthIndent|48|0}} > | |||
# compare frames with and without noise reduction: | # compare frames with and without noise reduction: | ||
StackVertical(last, last.SpatialSoften(2, 3, 6)) | StackVertical(last, last.[[SpatialSoften]](2, 3, 6)) | ||
</div> | |||
<div {{BoxWidthIndent|48|0}} > | |||
# show clips in variables a,b,c,d in a box like this: | # show clips in variables a,b,c,d in a box like this: | ||
# a b | # a b | ||
# c d | # c d | ||
StackVertical(StackHorizontal(a, b), StackHorizontal(c, d)) | StackVertical(StackHorizontal(a, b), StackHorizontal(c, d)) | ||
</div> | |||
</div> | |||
[[Category:Internal filters]] | [[Category:Internal filters]] | ||
[[Category:Debugging/Diagnostic_filters]] | [[Category:Debugging/Diagnostic_filters]] | ||
Latest revision as of 06:55, 18 September 2022
AviSynth+
Up-to-date documentation: https://avisynthplus.readthedocs.io
StackHorizontal(clip clip1, clip clip2 [, ...])
StackVertical(clip clip1, clip clip2 [, ...])
StackHorizontal takes two or more video clips and displays them together in left-to-right order. The heights of the images and their color formats must be the same. Most other information (sound track, frame rate, etc) is taken from the first clip - see here for the resulting clip properties.
StackVertical is similar, working top-to-bottom.
Examples:
# compare frames with and without noise reduction: StackVertical(last, last.SpatialSoften(2, 3, 6))
# show clips in variables a,b,c,d in a box like this: # a b # c d StackVertical(StackHorizontal(a, b), StackHorizontal(c, d))