Zoom
From Avisynth wiki
(Difference between revisions)
m |
m (→Requirements) |
||
(One intermediate revision by one user not shown) | |||
Line 15: | Line 15: | ||
== Requirements == | == Requirements == | ||
− | * AviSynth | + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater] |
+ | * [x64]: [[AviSynth+]] | ||
* Supported color formats: [[RGB32]] | * Supported color formats: [[RGB32]] | ||
<br> | <br> |
Latest revision as of 05:37, 22 May 2020
Abstract | |
---|---|
Author | WarpEnterprises |
Version | v1.4 |
Download | [x86] - zoom_dll_20050122.zip
[x64] - Zoom.7z |
Category | Rotation |
License | GPLv2 |
Discussion | Doom9 Thread |
Contents |
[edit] Description
Plugin to Zoom, Pan & Rotate.
[edit] Requirements
- [x86]: AviSynth+ or AviSynth 2.5.8 or greater
- [x64]: AviSynth+
- Supported color formats: RGB32
[edit] Syntax and Parameters
- Zoom (clip, string "srcx", string "srcy", string "dstx", string "dsty", string "factorX", string "factorY", string "angle", int "width", int "height", bool "show")
- clip =
- Input clip.
- clip =
- string srcx = ""
- string srcy = ""
- The "center" coordinates in the original frame.
- string srcx = ""
- string dstx = ""
- string dsty = ""
- The center coordinates in the moved frame
- string dstx = ""
- string factorX = ""
- string factorY = ""
- The magnification factors.
- string factorX = ""
- string angle = ""
- The rotation angle in radian.
- string angle = ""
- int width = 0
- int height = 0
- The new image dimensions.
- int width = 0
- bool show = false
- If true, it prints the calculated values on the image.
- bool show = false
[edit] Examples
Sounds complicated? Not really, try this:
Version().ConverttoRGB32().zoom(dstx="n", angle="n/10")
Here you see that the variable "n" can be used to reference to the current frame number (and this is of course the most important thingie).
Or try:
Version().ConverttoRGB32() zoom(factorx="n<41 ? pow((n+1)/41,0.5) : 1", factory="n<41 ? pow((n+1)/41,0.5) : 1", dstx="n<41 ? width/2 : width/2+5*(n-41)", angle="n<41 ? 3.1415*n/10 : 0")
And the new image gets a defined alpha layer (black=transparent, else opaque), so you can layer the result on top of another video.
[edit] Changelog
Version Date Changes
2005/01/22 - latest release
[edit] External Links
Back to External Filters ←