AvsMotion
Raffriff42 (Talk | contribs) (redirect for convenient searching) |
(AvsMotion: add documention) |
||
Line 1: | Line 1: | ||
− | + | {{FilterCat4|External_filters|Plugins|Plugins_x64|Support_filters}} | |
− | {{ | + | [[Category:Plugins]] |
+ | {{Filter3 | ||
+ | |1={{Author/tp7}} | ||
+ | |2=v1.0 | ||
+ | |3=[https://github.com/tp7/AvsMotion/releases AvsMotion-x86.zip]<br>[https://github.com/tp7/AvsMotion/releases AvsMotion-x64.zip] | ||
+ | |4=[[:Category:Support_filters|Support filters]] | ||
+ | |5=MIT | ||
+ | |6= | ||
+ | }} | ||
+ | <br> | ||
+ | == Description == | ||
+ | [[AvsMotion]] is a plugin for animating clips with AAE motion tracking data. | ||
+ | |||
+ | |||
+ | ====Why would you do such a terrible thing?==== | ||
+ | |||
+ | Previously if you wanted to animate a mask in AviSynth using some complex tools like Mocha, you had to create this mask in Aegisub and using [https://github.com/torque/Aegisub-Motion Aegisub-Motion] to animate it. Unfortunately creating a vector mask might not always be possible or pleasant. This plugin simplifies the process, allowing you to animate any kind of AviSynth clip using the same kind of AAE tracking data. | ||
+ | |||
+ | |||
+ | ====How it works==== | ||
+ | |||
+ | This is actually a "proxy" plugin. It simply generates a bunch of calls to Spline36Resize, AddBorders and Crop internally to shift frames according to the data provided. In other words, you can replace this plugin with some AviSynth script generator, but the plugin is a bit more efficient. | ||
+ | <br> | ||
+ | <br> | ||
+ | == Requirements == | ||
+ | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | ||
+ | * [x64]: [[AviSynth+]] | ||
+ | <br> | ||
+ | * [https://www.microsoft.com/en-us/download/details.aspx?id=40784 Microsoft Visual C++ 2013 Redistributable Package (x86 / x64)] | ||
+ | :<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>AvsMotion-x86</tt> | ||
+ | :<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>AvsMotion-x64</tt> | ||
+ | <br> | ||
+ | |||
+ | == [[Script variables|Syntax and Parameters]] == | ||
+ | |||
+ | :{{Template:FuncDef|AvsMotion (clip c, string file, int "offset", bool "mirror", int "pad_color")}} | ||
+ | <br> | ||
+ | ::{{Par2|file|string|}} | ||
+ | :::path to the file containing requited Adobe After Effects 6.0 Keyframe Data. | ||
+ | <br> | ||
+ | ::{{Par2|offset|int|0}} | ||
+ | :::Offset of the motion, in frames. For example if the tracked motion spans from frames 1546 to 1574, you should put value of 1546 here. 0 by default. | ||
+ | <br> | ||
+ | ::{{Par2|mirror|bool|false}} | ||
+ | :::Specifies if the plugin should mirror border pixels or fill them with some predefined color. False by default. | ||
+ | <br> | ||
+ | ::{{Par2|pad_color|int|0}} | ||
+ | :::color to fill the borders with. Used only when mirror=false. 0 by default | ||
+ | <br> | ||
+ | <br> | ||
+ | == Examples == | ||
+ | [[TODO]] | ||
+ | <br> | ||
+ | <br> | ||
+ | == Changelog == | ||
+ | *See GitHub releases page: https://github.com/tp7/AvsMotion/releases | ||
+ | <br> | ||
+ | == External Links == | ||
+ | *[https://github.com/tp7/AvsMotion#avsmotion GitHub] - Source code repository. | ||
+ | <br> | ||
+ | <br> | ||
+ | ----------------------------------------------- | ||
+ | '''Back to [[External_filters#Support_filters|External Filters]] ←''' |
Latest revision as of 18:21, 5 June 2020
Abstract | |
---|---|
Author | tp7 |
Version | v1.0 |
Download | AvsMotion-x86.zip AvsMotion-x64.zip |
Category | Support filters |
License | MIT |
Discussion |
Contents |
[edit] Description
AvsMotion is a plugin for animating clips with AAE motion tracking data.
[edit] Why would you do such a terrible thing?
Previously if you wanted to animate a mask in AviSynth using some complex tools like Mocha, you had to create this mask in Aegisub and using Aegisub-Motion to animate it. Unfortunately creating a vector mask might not always be possible or pleasant. This plugin simplifies the process, allowing you to animate any kind of AviSynth clip using the same kind of AAE tracking data.
[edit] How it works
This is actually a "proxy" plugin. It simply generates a bunch of calls to Spline36Resize, AddBorders and Crop internally to shift frames according to the data provided. In other words, you can replace this plugin with some AviSynth script generator, but the plugin is a bit more efficient.
[edit] Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- *** vcredist_x86.exe is required for AvsMotion-x86
- *** vcredist_x64.exe is required for AvsMotion-x64
[edit] Syntax and Parameters
- AvsMotion (clip c, string file, int "offset", bool "mirror", int "pad_color")
- string file =
- path to the file containing requited Adobe After Effects 6.0 Keyframe Data.
- string file =
- int offset = 0
- Offset of the motion, in frames. For example if the tracked motion spans from frames 1546 to 1574, you should put value of 1546 here. 0 by default.
- int offset = 0
- bool mirror = false
- Specifies if the plugin should mirror border pixels or fill them with some predefined color. False by default.
- bool mirror = false
- int pad_color = 0
- color to fill the borders with. Used only when mirror=false. 0 by default
- int pad_color = 0
[edit] Examples
[edit] Changelog
- See GitHub releases page: https://github.com/tp7/AvsMotion/releases
[edit] External Links
- GitHub - Source code repository.
Back to External Filters ←