AvsMotion

From Avisynth wiki
Jump to: navigation, search
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


*** 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.


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.


bool  mirror = false
Specifies if the plugin should mirror border pixels or fill them with some predefined color. False by default.


int  pad_color = 0
color to fill the borders with. Used only when mirror=false. 0 by default



[edit] Examples

TODO

[edit] Changelog


[edit] External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools