Spinner

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Description)
(Requirements)
Line 17: Line 17:
  
 
== Requirements ==
 
== Requirements ==
* <!-- Avisynth version -->AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/files/AviSynth_Alpha_Releases/ 2.6.0 Alpha 5 or greater]
+
* AviSynth+ r2347 or later
* <!-- source video: progressive
+
* <!-- color formats -->Supported color formats: [[RGB32]], [[RGB24]], [[YUY2]], [[YV12]], <span style="color:red">*</span>[[YV16]], <span style="color:red">*</span>[[YV24]], <span style="color:red">*</span>[[YV411]], <span style="color:red">*</span>[[Y8]]
+
: <span style="color:red">*</span> Not available in AviSynth 2.5.8.
+
* <!-- CPU/GPU -->
+
* <!-- binaries -->
+
* <!-- dependent plugins -->
+
 
<br>
 
<br>
+
 
"c[r]i[angle]f[x]f[y]f[color]i[q]i[bg]b[er]i[eangle]f[ex]f[ey]f[lx]i[rx]i[ty]i[by]i[elx]i[erx]i[ety]i[eby]i[p]i[check]b[tclip]c"
+
+
+
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef|<!-- function name -->Spinner(''clip'', ''<!-- par 1 type -->int'' "r",''float'' "angle", ''float'' "x", ''float'' "y ",''float''"color",''int'' "q",''bool'' "bg",''clip'' "tclip")}}
 
:{{Template:FuncDef|<!-- function name -->Spinner(''clip'', ''<!-- par 1 type -->int'' "r",''float'' "angle", ''float'' "x", ''float'' "y ",''float''"color",''int'' "q",''bool'' "bg",''clip'' "tclip")}}

Revision as of 21:21, 18 June 2018


Abstract
Author V.C.Mohan
Version 9 Apr 2018
Download movePlus.7z
Category External filters
License GPLv2
Discussion Spinner plugin


Contents

Description

Turn function rotates a frame or selected part of it about the specified fulcrum. Full description

Requirements

  • AviSynth+ r2347 or later


Syntax and Parameters

Spinner(clip, int "r",float "angle", float "x", float "y ",float"color",int "q",bool "bg",clip "tclip")


clip   =
Input clip.


r  int = half of diagnal of frame
radius of circle for rotation.


angle  float = 90
angle of rotation .


x  float = frame width / 2
x coord of axis of rotation


y  float = frame height/2
y coordinate of axis of rotation


color  int = 0
color to be used to fill voids.


q  int = 5
Type of interpolation to be used. 0 to 5 .


bg  bool = true
Whether un rotated input clip to be used as background(true) or color (false) .


tclip  clip = none
If a separate clip is specified it will be used as bg as in a transition.




Examples

## This is some example code to use spinner in a transition.
imagereader("C:\..........jpg", end = 10)
a = avisource("C;\..........avi").converttoYV16()
converttoyv16()
Spinner( angle = -30, eangle = 130, q=5, tclip = a)



Back to External Filters

Personal tools