Loop
From Avisynth wiki
(Difference between revisions)
m (1 revision) |
Raffriff42 (Talk | contribs) m (added category) |
||
Line 17: | Line 17: | ||
[[Category:Internal filters]] | [[Category:Internal filters]] | ||
+ | [[Category:Timeline_editing_filters]] |
Revision as of 15:34, 8 November 2015
Loop(clip clip [, int times = -1] [, int start_frame = 0] [, int end_frame = inf])
Loops the segment from start_frame to end_frame a given number of times. Setting times to -1 loops a "very large" number of times.
Examples:
# Loops frame 100 to 110 of the current clip 10 times: Loop(10,100,110)
Loop() # make the clip loop (almost) endlessly Loop(10) # make the clip loop ten times Loop(10,20,29) # repeat frames 20 to 29 ten times before going on, actual clip duration increased by 90 frames Loop(0,20,29) # delete frames 20 to 29, actual clip duration decreased by 10 frames Loop(-1,20,29) # frame 20 to 29 is repeated (almost) infinite times