StackHorizontal: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs)
m add link
Raffriff42 (talk | contribs)
m formatting
Line 1: Line 1:
{{Template:Func2Def|StackHorizontal(clip ''clip1'', clip ''clip2'' [, ...])|StackVertical(clip ''clip1'', clip ''clip2'' [, ...])}}
<div style="max-width:62em" >
{{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.


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]]

Revision as of 12:29, 28 February 2016

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))