Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
/ AvsMotion Public archive

Trivial AviSynth plugin to apply motion tracking data to a clip

License

Notifications You must be signed in to change notification settings

tp7/AvsMotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AvsMotion

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

Usage

AvsMotion(clip c, string file, int "offset", bool "mirror", int "pad_color")
  • file - path to the file containing requited Adobe After Effects 6.0 Keyframe Data.
  • offset - 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.
  • mirror - specifies if the plugin should mirror border pixels or fill them with some predefined color. False by default.
  • pad_color - color to fill the borders with. Used only when mirror=false. 0 by default

About

Trivial AviSynth plugin to apply motion tracking data to a clip

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages