# Filters with multiple input clips

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 | sum of all clips minus the overlap
Merge, MergeLuma, MergeChroma, Merge(A)RGB | first clip 1 | first clip
Layer
Subtract | longer clip 2
StackHorizontal, StackVertical
Interleave | (fps of first clip) x (number of clips) | N x frame-count of longer clip 2

1 (the last frame of the shorter clip is repeated until the end of the clip)
2 (the last frame of the shorter clip is repeated until the end of the clip)

As you can see the functions are not completely symmetric but take some attributes from the FIRST clip.

$Date: 2008/07/19 15:17:14 $