TransAll

From Avisynth wiki
Revision as of 19:59, 27 May 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author V.C.Mohan
Version 13 Mar 2017
Download AviSynth 2.6 (x86): TransAll_2_6.zip

AviSynth+ (x86): TransAll32.7z AviSynth+ (x64): TransAll64.7z

Category External filters
License GPLv2
Discussion


Contents

Description

The transitions plug-in require two clips having equal frame width, height, pitch, color format. and similar Audio formats. The scene will gradually transform from the Left Clip to the Right Clip during the overlap of the clips. Audio of the Left clip fades out while of the Right fades in during transition. (24 bit audio is not accepted).. Brief description of all the 26 functions within this plugin is given in the Synopsis. Around 150 distinct transitions can be created with these functions. In the detailed descriptions typical images seen during transition are depicted.

  • Note: for AviSynth+ use TxPlus, it includes high bit depth support.


Requirements


Syntax and Parameters

Trans**** (clip "clip1", clip "clip2", int "overlap", transition specific parameters)
clip clip1
First input clip1
clip clip2
Second input clip2
int overlap
Number of overlapping frames
transition specific parameter(s):
see particular effect description
There follows a list of all function names together with CPP style argument specifiers that inform
Avisynth the argument types and optional names. Optional arguments have square brackets surrounding
their name as in [name] and are followed by a type specifier character that gives the type.
Unnamed arguments are not optional. eg "cc[arg1]b[arg2]i" would be two compulsory unnamed clip args,
followed by optional 'arg1' of type bool and optional 'arg2' of type int.

# Argument type specifier strings.
 c - Video Clip
 i - Integer number
 f - Float number
 s - String
 b - boolean
 . - Any type (dot)
# Array Specifiers
 i* - Integer Array, zero or more
 i+ - Integer Array, one or more
 .* - Any type Array, zero or more
 .+ - Any type Array, one or more
#    Etc
###################################


TransAccord         "ccisbb"
TransBubbles        "cci[static]b"
TransCentral        "cci[emerge]b[resize]b[revolve]i"
TransCrumple        "ccisb"
TransDisco          "cci[radius]i[nturns]i[emerge]b"
TransDoor           "cci[vert]b[open]b"
TransFlipPage       "cci[dir]s"
TransFlipTurn       "cci[vflip]i[hflip]i[nturns]i"
TransFunnel         "ccis"
TransMarbles        "cci[radius]i[mag]i[drop]b"
TransPaint          "ccis"
TransPush           "cci[dir]s"
TransRipple         "cci[lambda]i[amp]i[origin]s"
TransRipples        "cci[lambda]i[amp]i[origin]s"
TransRoll           "cci[dir]i[rollin]b"
TransScratch        "cci[style]s"
TransShuffle        "cci[dir]s"
TransSlide          "cci[dir]i[slidein]b"
TransSprite         "cci[dir]s"
TransSwing          "cci[out]b[ndoors]i[corner]i[dir]b"
TransSwirl          "cci[dir]s[step]i"
TransTwinDoors      "cci[vert]b[open]b"
TransVenetianBlinds "cci[width]i[type]s"
TransWeave          "cci[type]s"
TransWipe           "cci[dir]i"


List of Available Transitions


TransAccord: Left Clip opens out revealing the Right Clip or the Right Clip closes over the Left Clip in an Accordion Type folding. Single or Twin sections, openjng or closing, vertical or horizontal direction are the options.

TransBubbles:Bubbles of Right Clip randomly move on to Left Clip and lock into position.

TransCentral: Right (second) clip emerges from left clip or left clip disappears into Right clip. While emerging or disappearing the frame is resized to fit and or rotated by desired number of turns clockwise or counterclock wise.

TransCrumple: This function crumples or fanfolds (as one does with paper) Left Clip over the Right Clip thus revealing Right Clip or uncrumples (unfolds) Right Clip over Left Clip thus masking Left Clip.

TransDisco: Right (second) clip emerges over the Left(First)clip or the Left Clip disappears into Right Clip as circular rotating Disks during transition. Radius of discs, Emerge or disappear and number of revolutions and direction of rotation are options.

TransFlipPage: Left (first) clip is flipped either left or right or up or down as viewing in an album revealing Right Clip

TransFlipTurn: Right Clip (the second Clip) emerges flipping vertically and horizontally and rotating while gradually replacing the Left Clip. The number of times to flip horizontally, vertically, number of turns during effect, clock or anticlockwise are other parameters. Vertical and horizontal flips acan be considered as rotations about x and y axis, while turning is around z axis and therefore this is a 3d rotation transition.

TransFunnel: This function funnels out(wraps around a funnel shape) the Left Clip (the First Clip) and reveals the Right(the second) Clip while moving in any of the 4 (up down, left or right) directions.

TransMarbles: Over Left Frame, Right Frame appears as gradually enlarging circulardisks. Magnification in the disks produces the effect of viewing through glass marble. If drop is true the magnification in the discs vary from center to edges, otherwise remain constant through. Radius of discs, magnification and whether drop effect is required can be specified.

TransPaint: This function, from pieces of Right Clip frame, builds a fence or a brick wall or paint with brush strokes or draws rings over left clip and completes the build by the end of transition. May be TransBuild would be a more appropriate name. The style of build can be specified.

TransPush: Right Clip pushes out the Left Clip in any of the four (up down, left or right) direction.

TransRipple: A gradually increasing water ripple covers fully the Left Clip during 1/3 of transition (overlap) length. Thereafter the Right Clip emerges in the center as a growing Ripple fully covering frame by 2/3 of overlap length. This ripple then subsides (withdraws) revealing the Right Clip. The wave length lambda and wave amplitude can be specified.

TransRipples: Gradually increasing two water ripples cover fully the Left Clip during 1/3 of transition (overlap) length. Thereafter the Right Clip emerges in 2 ripples from opposite sides or positions and then the ripples subside. lambda and wave amplitude besides number and location of ripples can be specified.

TransRoll. Left (first) clip rolls out revealing Right Clip, or Right clip Rolls in masking out Left Clip.

TransScratch: Right (second) clip gradually is revealed by scratching the left Clip image, in a desired style similar to scratch cards. Falling rain, tv noise, water fountain, laser beams, dust storm, O Rings, horizontal lines, vertical lines are the styles currently available.

TransShuffle: Left (first) clip moves out on top, while Right Clip moves from below in opposite direction halfway, then Right clip moves back to the top position while left clip slides under in opposite direction resembling movement of shuffling of cards. Four directions (up down, left or right) of shuffling are possible.

TransSlide: Right (second) clip slides in over Left Clip or left clip slides out. If center is selected then left clip disappears towards the center of Right Clip shrinking in all directions or right emerges from center of left clip. Any of 8 directions or center can be opted.

TransSprite: Right (second) clip squeezes out left clip thereby appearing like a rotating sprite, exhibiting different faces. Movement can be specified as any of four possible directions.

TransSwing: Right (second) clip swings in or the left clip swings out as doors hinged at corners, thereby fully revealing or assembling the Right Clip. The number of doors can be one (single door attached at the selected corner swings out or in), two (twin doors hinged at opposite corners swing) and four (4 doors each at a corner swing).

TransSwirl: A gradually increasing swirl that covers fully the Left Clip by 1/3 overlap length is created. Thereafter the Right Clip emerges in the center as a growing Swirl fully covering frame by 2/3 overlap length. This Swirl then subsides (withdraws) over the Right Clip thus revealing it. The swirling can be clockwise or anticlockwise. The coarseness of depicting swirl can be specified.

TransTwinDoors: Twin vertical or Horizontal doors made out of Left Frame open or those made out of Right Frame close revealing Right Frame.

TransVenetianBlinds: In this transition vertical or Horizontal slats open (as Venetian blinds do) revealing Right Frame. Instead of linear blinds, checks or diamond pattern can also be opted. Pattern width can also be specified.

TransWeave: Interleaving together thin strips of Right frame over the left frame the transition occurs. The interleaving styles options are horizontal, vertical, jigsaw puzzle and basket weave.

TransWipe: Right Frame wipes away Left Frame in any of the 8 directions.


Examples

A sample script may look like this:

#LoadPlugIn("C:\............\All.dll")
A=avisource("C:\...........\xxxxx.avi")
B=avisource("C:\...........\yyyyy.avi")
#any desired call in place of Sprite below
[Transition](A,B,t) 



Back to External Filters

Personal tools