Function Swing for vctrans vapoursynth Plugin

#
Swing

The transition from Clip A to Clip B occurs by swinging in or swing out of A or B frame in either single or double or four door sections.

## trans.Swing(clip, clipb clip[, float overlap = 1.0 ][, int dir = 1][, open = 1][, int ndoors = 1][, int corner = 1] )

Parameter description:
clip : A clip. Constant format.
clipb : B clip. Must have identical format of A clip
overlap : transition time length in seconds. Floating point. Must correspond to at least 8 frames.
dir :swing direction of top left section. 0 or 1. Other sections rotate as per symmetry requirements.
open : 1 : doors of A swing out opening B. 0 : Doors of B swingin covering A
ndoors : number of door sections to use. 1, 2 or 4 only valid
corner : Fulcrum of swing of left top door section. 1 top left, 2 Top right, 3 : bottom right, 4: bottom left. Fulcrums of other door sections are determined as per symmetry requirements.
back to vctrans