Interleave: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs)
m added category:Debugging/Diagnostic_filters & sample script
Raffriff42 (talk | contribs)
m added category
Line 13: Line 13:


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

Revision as of 16:34, 8 November 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"))