Filters with multiple input clips
From Avisynth
There are some functions which combine two or more clips in different ways. How the video content is calculated is described for each function, but here is a summary which properties the result clip will have.
The input clips must always have the same color format and - with the exception of Layer and Overlay - the same dimensions.
| filter | framerate | framecount | audio content | audio sampling rate |
|---|---|---|---|---|
| AlignedSplice, UnalignedSplice | first clip | sum of all clips | see filter description | first clip |
| Dissolve | first clip | sum of all clips minus the overlap | see filter description | first clip |
| Merge, MergeLuma, MergeChroma, Merge(A)RGB | first clip | first clip (the last frame of the shorter clip is repeated until the end of the clip) | first clip | first clip |
| Layer | first clip | first clip (the last frame of the shorter clip is repeated until the end of the clip) | first clip | first clip |
| Subtract | first clip | longer clip (the last frame of the shorter clip is repeated until the end of the clip) | first clip | first clip |
| StackHorizontal, StackVertical | first clip | longer clip (the last frame of the shorter clip is repeated until the end of the clip) | first clip | first clip |
| Interleave | (fps of first clip) x (number of clips) | N x frame-count of longer clip (the last frame of the shorter clip is repeated until the end of the clip) | first clip | first clip |
As you can see the functions are not completely symmetric but take some attributes from the FIRST clip.

