Interleave: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m 1 revision
Raffriff42 (talk | contribs)
m added category:Debugging/Diagnostic_filters & sample script
Line 5: Line 5:
The last frame of the shorter clip is repeated until the end of the longest clip. The audio is taken from the first clip.
The last frame of the shorter clip is repeated until the end of the longest clip. The audio is taken from the first clip.


Interleave is very useful for comparing two similar videos, stepping frame-by-frame:
Interleave(
\    A.Subtitle("A"),
\    B.Subtitle("B"))


[[Category:Internal filters]]
[[Category:Internal filters]]
[[Category:Debugging/Diagnostic_filters]]

Revision as of 00:19, 4 June 2015

Interleave(clip1, clip2 [, ...])

Interleave interleaves frames from several clips on a frame-by-frame basis, so for example if you give three arguments, the first three frames of the output video are the first frames of the three source clips, the next three frames are the second frames of the source clips, and so on.

The last frame of the shorter clip is repeated until the end of the longest clip. The audio is taken from the first clip.


Interleave is very useful for comparing two similar videos, stepping frame-by-frame:

Interleave(
\    A.Subtitle("A"), 
\    B.Subtitle("B"))