Donations to : V.C.Mohan,
401 Gulmarg Enclave,
Plot 65 Srinagar Colony,
Hyderabad 500073, India
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.
Place the TransAll.dll in the Avisynth plugin folder (2.5+ version) . A LoadPlugin call will be needed if the plugin is put in any other folder. As there are many functions in this plugin and Avisynth has a limit on autoloading, it may be preferable to keep this plugin in a different folder and invoke loadplugin. All parameters excepting input clips and overlap frames, have default values.
A sample script may look like this :
#LoadPlugIn("C:\............\TransAll.dll")
Left=avisource("C:\...........\xxxxx.avi")
Right=avisource("C:\...........\yyyyy.avi")
#any desired transition call in place of TransSprite below
TransSprite(Left,Right,100,"left")
Copy of my test script to check most of the functions is after synopsis page.
Avisynth version supported all color formats are accepted
Loadplugin call required only if TransAll.dll is not in Avisynth plugins folder #loadPlugin ("------\TransAll.dll") #for avisynth+ uncomment next line and a line at end of this script #SetFilterMTMode("DEFAULT_MT_MODE",2) time = -1 #time = 120 fps = 30 colorbars().trim(0,30) Lanczosresize(600,400) #convertToRGB24(last) #convertToRGB32(last) ConvertToYV16(last) #ConvertToYUY2(last) c=last right = turnleft(c).turnleft() right = invert(right) audio = Tone (length= 1,frequency = 1000) right=audiodub(right,audio) audio = Tone (length= 1,frequency = 100) left = audiodub(last,audio) TransAccord(left,right,time,"vert",false,true) last ++ TransAccord(left,right,time,"vert",false,false) last ++ TransAccord(left,right,time,"hor",true,true) last ++ TransAccord(left,right,time,"hor",true,false) last ++ TransAccord(left,right,time,"hor",false,true) last ++ TransAccord(left,right,time,"hor",false,false) TA = last.subtitle("Trans A c c o r d",text_color=0,align=5,size=32) TransBubbles(left,right,time,false) last ++ TransBubbles(left,right,time,true) TB = last.subtitle("Trans B U B B L E S",text_color=0,align=5,size=32) TransCentral(left,right,time,false,false,-2) last ++ TransCentral(left,right,time,false,true,2) # check RGB32 Last ++ TransCentral(left,right,time,true,false,-2) Last ++ TransCentral(left,right,time,true,true,2) #YUY2 RGB32 TCN = last.subtitle("Trans C E N T R A L",text_color=0,align=5,size=32) TransCrumple(left,right,time,"fan",false).subtitle("Trans C R U M P L E fan unfold",text_color=0,align=5,size=32) last ++ TransCrumple(left,right,time,"fan",true).subtitle("Trans C R U M P L E fan fold",text_color=0,align=5,size=32) TCL = last #.subtitle("Trans C R U M P L E",text_color=0,align=5,size=32) transDisco(left,Right,time,40,2,false) last ++ transDisco(left,Right,time,20,2,false) last ++ transDisco(left,Right,time,40,2,true) last ++ transDisco(left,Right,time,20,-2,true) TDS = last.subtitle("Trans D I S C O",text_color=0,align=5,size=32) TransDoor(left,Right,time,true,true) last ++ TransDoor(left,Right,time,true,false) last ++ TransDoor(left,Right,time,false,true) last ++ TransDoor(left,Right,time,false,false) TDO = last.subtitle("Trans D O O R",text_color=0,align=5,size=32) TransFlipPage(left,right,time,"up") last ++ TransFlipPage(left,right,time,"left") TFP = last.subtitle("Trans F L I P P A G E",text_color=0,align=5,size=32) TransFlipTurn(left,right,time,0,6,3) last ++ TransFlipTurn(left,right,time,6,0,3) last ++ TransFlipTurn(left,right,time,2,4,3) Last ++ TransFlipTurn(left,right,time,4,2,-3) TFT = last.subtitle("Trans F L I P T U R N",text_color=0,align=5,size=32) part1 = ( TA ++ TB++TCN++TCL++TDS++TDO++TFP++TFT) TransFunnel(left,right,time,"right") Last ++ TransFunnel(left,right,time,"left") Last ++ TransFunnel(left,right,time,"up") Last ++ TransFunnel(left,right,time,"down") TFN = last.subtitle("Trans F U N N E L",text_color=0,align=5,size=32) TransMarbles(left,right,time,60, 16,true) last ++ TransMarbles(left,right,time,60,16, false) last ++ TransMarbles(left,right,time,32,20,true) TMB = last.subtitle("Trans M A R B L E S",text_color=0,align=5,size=32) TransPaint(left,right,time,"bricks") last ++ TransPaint(left,right,time,"fence") last ++ TransPaint(left,right,time,"rings") last ++ TransPaint(left,right,time,"paint") TPN = last.subtitle("Trans P A I N T",text_color=0,align=5,size=32) TransPush(left, right, time,"left") last ++ TransPush(left, right, time,"right") last ++ TransPush(left, right, time,"up") last ++ TransPush(left, right, time,"down") TPS = last.subtitle("Trans P U S H",text_color=0,align=5,size=32) TransRipple(left,right,time,lambda=32) last ++ TransRipple(left,right,time,lambda=64) TRP = last.subtitle("Trans R I P P L E",text_color=0,align=5,size=32) TransRipples(left,right,time,origin = "se", lambda =64) last ++ TransRipples(left,right,time,origin = "ne", lambda = 48) last ++ TransRipples(left,right,time,origin = "nw" ) last ++ TransRipples(left,right,time,origin = "sw") last ++ TransRipples(left,right,time, origin = "north") last ++ TransRipples(left,right,time, origin = "south") last ++ TransRipples(left,right,time, origin = "west") last ++ TransRipples(left,right,time, origin = "east") TRPS = subtitle("Trans R I P P L E S",text_color=0,align=5,size=32) TransRoll(Left, Right, time,dir = 1, rollin = true) last ++ TransRoll(Left, Right, time,dir = 1, rollin = false) last ++ TransRoll(Left, Right, time,dir = 2, rollin = true) last ++ TransRoll(Left, Right, time,dir = 2, rollin = false) last ++ TransRoll(Left, Right, time,dir = 3, rollin = true) last ++ TransRoll(Left, Right, time,dir = 3, rollin = false) last ++ TransRoll(Left, Right, time,dir = 4, rollin = true) last ++ TransRoll(Left, Right, time,dir = 4, rollin = false) last ++ TransRoll(Left, Right, time,dir = 5, rollin = true) last ++ TransRoll(Left, Right, time,dir = 5, rollin = false) last ++ TransRoll(Left, Right, time,dir = 6, rollin = true) last ++ TransRoll(Left, Right, time,dir = 6, rollin = false) last ++ TransRoll(Left, Right, time,dir = 7, rollin = true) last ++ TransRoll(Left, Right, time,dir = 7, rollin = false) last ++ TransRoll(Left, Right, time,dir = 8, rollin = true) last ++ TransRoll(Left, Right, time,dir = 8, rollin = false) TROL = last.subtitle("Trans R O L L",text_color=0,align=5,size=32) TransScratch(left,right,time, style = "rain") last ++ TransScratch(left,right,time, style = "dust") last ++ TransScratch(left,right,time, style = "tv") last ++ TransScratch(left,right,time, style = "hline") last ++ TransScratch(left,right,time, style = "vline") last ++ TransScratch(left,right,time, style = "laser") last ++ TransScratch(left,right,time, style = "fount") TSCR = last.subtitle("Trans S C R A T C H",text_color=0,align=5,size=32) PART2 = TFN ++ TMB ++ TPN ++ TPS ++ TRP ++ TRPS++ TROL ++ TSCR TransShuffle(left,right,time,"left") last ++ TransShuffle(left,right,time,"right") last ++ TransShuffle(left,right,time,"up") last ++ TransShuffle(left,right,time,"down") TSF = last.subtitle("Trans S H U F F L E",text_color=0,align=5,size=32) Transslide(Left, Right, time,dir = 1, slidein = true) last ++ Transslide(Left, Right, time,dir = 1, slidein = false) last ++ Transslide(Left, Right, time,dir = 2, slidein = true) last ++ Transslide(Left, Right, time,dir = 2, slidein = false) last ++ Transslide(Left, Right, time,dir = 3, slidein = true) last ++ Transslide(Left, Right, time,dir = 3, slidein = false) last ++ Transslide(Left, Right, time,dir = 4, slidein = true) last ++ Transslide(Left, Right, time,dir = 4, slidein = false) last ++ Transslide(Left, Right, time,dir = 5, slidein = true) last ++ Transslide(Left, Right, time,dir = 5, slidein = false) last ++ Transslide(Left, Right, time,dir = 6, slidein = true) last ++ Transslide(Left, Right, time,dir = 6, slidein = false) last ++ Transslide(Left, Right, time,dir = 7, slidein = true) last ++ Transslide(Left, Right, time,dir = 7, slidein = false) last ++ Transslide(Left, Right, time,dir = 8, slidein = true) last ++ Transslide(Left, Right, time,dir = 8, slidein = false) last ++ Transslide(Left, Right, time,dir = 0, slidein = true) last ++ Transslide(Left, Right, time,dir = 0, slidein = false) TSI = LAST.subtitle("Trans S L I D E ",text_color=0,align=5,size=32) TransSprite(left,right,time,"left") last ++ TransSprite(left,right,time,"right") last ++ TransSprite(left,right,time,"up") last ++ TransSprite(left,right,time,"down") TSP = LAST.subtitle("Trans S P R I T E",text_color=0,align=5,size=32) PART3 = TSF ++ TSW ++ TSI ++ TSP TransSwing(left,right,time,true,1,1) last ++ TransSwing(left,right,time,true,1,2) last ++ TransSwing(left,right,time,true,1,3) last ++ TransSwing(left,right,time,true,1,4) last ++ TransSwing(left,right,time,true,2,1) last ++ TransSwing(left,right,time,true,2,2) last ++ TransSwing(left,right,time,true,2,3) last ++ TransSwing(left,right,time,true,2,4) last ++ TransSwing(left,right,time,true,4,1) last ++ TransSwing(left,right,time,true,4,2) last ++ TransSwing(left,right,time,true,4,3) last ++ TransSwing(left,right,time,true,4,4) last ++ TransSwing(left,right,time,false,1,1) last ++ TransSwing(left,right,time,false,1,2) last ++ TransSwing(left,right,time,false,1,3) last ++ TransSwing(left,right,time,false,1,4) last ++ TransSwing(left,right,time,false,2,1) last ++ TransSwing(left,right,time,false,2,2) last ++ TransSwing(left,right,time,false,2,3) last ++ TransSwing(left,right,time,false,2,4) last ++ TransSwing(left,right,time,false,4,1) last ++ TransSwing(left,right,time,false,4,2) last ++ TransSwing(left,right,time,false,4,3) last ++ TransSwing(left,right,time,false,4,4) TSWG = LAST.subtitle("Trans S W I N G",text_color=0,align=5,size=32) TransSwirl(left,right,time,"anti",4) last ++ TransSwirl(left,right,time,"clock",8) last ++ TransSwirl(left,right,time,"anti",12) last ++ TransSwirl(left,right,time,"clock",16) last ++ TransSwirl(left,right,time,"anti",20) last ++ TransSwirl(left,right,time,"clock",24) TSWR = last.subtitle("Trans S W I R L",text_color=0,align=5,size=32) TransTwinDoors(left,right,time,false,true) last ++ TransTwinDoors(left,right,time,false,false) last ++ TransTwinDoors(left,right,time,true,true) last ++ TransTwinDoors(left,right,time,true,false) T2D = last.subtitle("Trans T W I N D O O R S",text_color=0,align=5,size=32) TransVenetianblinds(left,right,time,16,"diam") last ++ TransVenetianblinds(left,right,time,20,"cheq") last ++ TransVenetianblinds(left,right,time,20,"hor") last ++ TransVenetianblinds(left,right,time,20,"vert") TVB = last.subtitle("Trans V E N E T I A N B L I N D S",text_color=0,align=5,size=32) TransWeave(left,right,time,"jigsaw") last ++ TransWeave(left,right,time,"vert") last ++ TransWeave(left,right,time,"hor") last ++ TransWeave(left,right,time,"weave") TWV= last.subtitle("Trans W E A V E",text_color=0,align=5,size=32) TransWipe(left,right,time,1) last ++ TransWipe(left,right,time,2) last ++ TransWipe(left,right,time,3) last ++ TransWipe(left,right,time,4) last ++ TransWipe(left,right,time,5) last ++ TransWipe(left,right,time,6) last ++ TransWipe(left,right,time,7) last ++ TransWipe(left,right,time,8) TWP = LAST.subtitle("Trans W I P E",text_color=0,align=5,size=32) PART4 = TSWG ++ TSWR ++ T2D ++ TVB ++ TWV ++ TWP all = PART1 ++ PART2 ++ PART3 ++ PART4 return (all) #for avisynth+ delete comment #prefetch(4)
To my index page | To Avisynth |